Skip to content

Commit 51fc65e

Browse files
Merge pull request topcoder-platform#5355 from topcoder-platform/revert-5345-gsheet-contentful
Revert "Gsheet contentful"
2 parents 8517bfe + 5ed0def commit 51fc65e

File tree

18 files changed

+11
-675
lines changed

18 files changed

+11
-675
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ workflows:
282282
filters:
283283
branches:
284284
only:
285-
- free
285+
- email-pref-revamp
286286
# This is alternate dev env for parallel testing
287287
- "build-qa":
288288
context : org-global

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ ARG TC_M2M_AUTH0_URL
6565
ARG AUTH_SECRET
6666

6767
ARG COMMUNITY_APP_URL
68-
ARG GSHEETS_API_KEY
6968

7069
################################################################################
7170
# Setting of environment variables in the Docker image.
@@ -121,7 +120,6 @@ ENV CONTENTFUL_EDU_CDN_API_KEY=$CONTENTFUL_EDU_CDN_API_KEY
121120
ENV CONTENTFUL_EDU_PREVIEW_API_KEY=$CONTENTFUL_EDU_PREVIEW_API_KEY
122121
ENV RECRUITCRM_API_KEY=$RECRUITCRM_API_KEY
123122
ENV COMMUNITY_APP_URL=$COMMUNITY_APP_URL
124-
ENV GSHEETS_API_KEY=$GSHEETS_API_KEY
125123

126124
################################################################################
127125
# Testing and build of the application inside the container.

build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ docker build -t $TAG \
4444
--build-arg CONTENTFUL_COMCAST_CDN_API_KEY=$CONTENTFUL_COMCAST_CDN_API_KEY \
4545
--build-arg CONTENTFUL_COMCAST_PREVIEW_API_KEY=$CONTENTFUL_COMCAST_PREVIEW_API_KEY \
4646
--build-arg RECRUITCRM_API_KEY=$RECRUITCRM_API_KEY \
47-
--build-arg GSHEETS_API_KEY=$GSHEETS_API_KEY \
4847
--build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL .
4948

5049
# Copies "node_modules" from the created image, if necessary for caching.

config/custom-environment-variables.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,4 @@ module.exports = {
104104
AUTH0_PROXY_SERVER_URL: 'TC_M2M_AUTH0_PROXY_SERVER_URL',
105105
TOKEN_CACHE_TIME: 'TOKEN_CACHE_TIME',
106106
},
107-
GSHEETS_API_KEY: 'GSHEETS_API_KEY',
108107
};

config/default.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ module.exports = {
249249
RECRUITCRM_API_KEY: '',
250250
},
251251

252-
GSHEETS_API_KEY: 'AIzaSyBRdKySN5JNCb2H6ZxJdTTvp3cWU51jiOQ',
253-
254252
AUTH_CONFIG: {
255253
AUTH0_URL: 'TC_M2M_AUTH0_URL',
256254
AUTH0_AUDIENCE: 'TC_M2M_AUDIENCE',

package-lock.json

Lines changed: 9 additions & 179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"flag-icon-css": "^3.3.0",
6666
"focus-trap-react": "^6.0.0",
6767
"form-data": "^3.0.0",
68-
"google-spreadsheet": "^3.1.15",
6968
"helmet": "^3.12.1",
7069
"highlight.js": "^9.18.1",
7170
"html-to-text": "^5.1.1",

src/server/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import mailChimpRouter from './routes/mailchimp';
2828
import mockDocuSignFactory from './__mocks__/docu-sign-mock';
2929
import recruitCRMRouter from './routes/recruitCRM';
3030
import mmLeaderboardRouter from './routes/mmLeaderboard';
31-
import gSheetsRouter from './routes/gSheet';
3231

3332
/* Dome API for topcoder communities */
3433
import tcCommunitiesDemoApi from './tc-communities';
@@ -138,7 +137,6 @@ async function onExpressJsSetup(server) {
138137
server.use('/api/mailchimp', mailChimpRouter);
139138
server.use('/api/recruit', recruitCRMRouter);
140139
server.use('/api/mml', mmLeaderboardRouter);
141-
server.use('/api/gsheets', gSheetsRouter);
142140

143141
// serve demo api
144142
server.use(

src/server/routes/gSheet.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)