Skip to content

Revert "Gsheet contentful" #5355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ workflows:
filters:
branches:
only:
- free
- email-pref-revamp
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ ARG TC_M2M_AUTH0_URL
ARG AUTH_SECRET

ARG COMMUNITY_APP_URL
ARG GSHEETS_API_KEY

################################################################################
# Setting of environment variables in the Docker image.
Expand Down Expand Up @@ -121,7 +120,6 @@ ENV CONTENTFUL_EDU_CDN_API_KEY=$CONTENTFUL_EDU_CDN_API_KEY
ENV CONTENTFUL_EDU_PREVIEW_API_KEY=$CONTENTFUL_EDU_PREVIEW_API_KEY
ENV RECRUITCRM_API_KEY=$RECRUITCRM_API_KEY
ENV COMMUNITY_APP_URL=$COMMUNITY_APP_URL
ENV GSHEETS_API_KEY=$GSHEETS_API_KEY

################################################################################
# Testing and build of the application inside the container.
Expand Down
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ docker build -t $TAG \
--build-arg CONTENTFUL_COMCAST_CDN_API_KEY=$CONTENTFUL_COMCAST_CDN_API_KEY \
--build-arg CONTENTFUL_COMCAST_PREVIEW_API_KEY=$CONTENTFUL_COMCAST_PREVIEW_API_KEY \
--build-arg RECRUITCRM_API_KEY=$RECRUITCRM_API_KEY \
--build-arg GSHEETS_API_KEY=$GSHEETS_API_KEY \
--build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL .

# Copies "node_modules" from the created image, if necessary for caching.
Expand Down
1 change: 0 additions & 1 deletion config/custom-environment-variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,4 @@ module.exports = {
AUTH0_PROXY_SERVER_URL: 'TC_M2M_AUTH0_PROXY_SERVER_URL',
TOKEN_CACHE_TIME: 'TOKEN_CACHE_TIME',
},
GSHEETS_API_KEY: 'GSHEETS_API_KEY',
};
2 changes: 0 additions & 2 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ module.exports = {
RECRUITCRM_API_KEY: '',
},

GSHEETS_API_KEY: 'AIzaSyBRdKySN5JNCb2H6ZxJdTTvp3cWU51jiOQ',

AUTH_CONFIG: {
AUTH0_URL: 'TC_M2M_AUTH0_URL',
AUTH0_AUDIENCE: 'TC_M2M_AUDIENCE',
Expand Down
188 changes: 9 additions & 179 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"flag-icon-css": "^3.3.0",
"focus-trap-react": "^6.0.0",
"form-data": "^3.0.0",
"google-spreadsheet": "^3.1.15",
"helmet": "^3.12.1",
"highlight.js": "^9.18.1",
"html-to-text": "^5.1.1",
Expand Down
2 changes: 0 additions & 2 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import mailChimpRouter from './routes/mailchimp';
import mockDocuSignFactory from './__mocks__/docu-sign-mock';
import recruitCRMRouter from './routes/recruitCRM';
import mmLeaderboardRouter from './routes/mmLeaderboard';
import gSheetsRouter from './routes/gSheet';

/* Dome API for topcoder communities */
import tcCommunitiesDemoApi from './tc-communities';
Expand Down Expand Up @@ -138,7 +137,6 @@ async function onExpressJsSetup(server) {
server.use('/api/mailchimp', mailChimpRouter);
server.use('/api/recruit', recruitCRMRouter);
server.use('/api/mml', mmLeaderboardRouter);
server.use('/api/gsheets', gSheetsRouter);

// serve demo api
server.use(
Expand Down
19 changes: 0 additions & 19 deletions src/server/routes/gSheet.js

This file was deleted.

Loading