Skip to content

Commit f21c1de

Browse files
Merge pull request #5483 from topcoder-platform/gig-mkt-ab
Gig mkt ab
2 parents 8dcdb17 + 0758251 commit f21c1de

File tree

18 files changed

+400
-40
lines changed

18 files changed

+400
-40
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,8 @@ workflows:
281281
context : org-global
282282
filters:
283283
branches:
284-
only:
284+
only:
285285
- free
286-
287286
# This is alternate dev env for parallel testing
288287
- "build-qa":
289288
context : org-global

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ ARG SENDGRID_API_KEY
7373
ARG GROWSURF_API_KEY
7474
ARG GROWSURF_CAMPAIGN_ID
7575

76+
# Optimizely
77+
ARG OPTIMIZELY_SDK_KEY
78+
7679
################################################################################
7780
# Setting of environment variables in the Docker image.
7881

@@ -133,6 +136,9 @@ ENV GROWSURF_API_KEY=$GROWSURF_API_KEY
133136
ENV GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID
134137
ENV GSHEETS_API_KEY=$GSHEETS_API_KEY
135138

139+
# Optimizely
140+
ENV OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY
141+
136142
################################################################################
137143
# Testing and build of the application inside the container.
138144

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ docker build -t $TAG \
4949
--build-arg GROWSURF_API_KEY=$GROWSURF_API_KEY \
5050
--build-arg GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID \
5151
--build-arg GSHEETS_API_KEY=$GSHEETS_API_KEY \
52+
--build-arg OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY \
5253
--build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL .
5354

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

config/custom-environment-variables.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,7 @@ module.exports = {
109109
TOKEN_CACHE_TIME: 'TOKEN_CACHE_TIME',
110110
},
111111
GSHEETS_API_KEY: 'GSHEETS_API_KEY',
112+
OPTIMIZELY: {
113+
SDK_KEY: 'OPTIMIZELY_SDK_KEY',
114+
},
112115
};

config/default.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,7 @@ module.exports = {
426426
DEBOUNCE_ON_CHANGE_TIME: 150,
427427
},
428428
ENABLE_RECOMMENDER: true,
429+
OPTIMIZELY: {
430+
SDK_KEY: '7V4CJhurXT3Y3bnzv1hv1',
431+
},
429432
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
},
3838
"dependencies": {
3939
"@hapi/joi": "^16.1.4",
40+
"@optimizely/react-sdk": "^2.5.0",
4041
"@topcoder-platform/tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.4",
4142
"aos": "^2.3.4",
4243
"atob": "^2.1.1",
1.95 KB
Loading
1.52 KB
Loading
1.88 KB
Loading

src/server/services/recruitCRM.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const JOB_FIELDS_RESPONSE = [
2626
'salary_type',
2727
'max_annual_salary',
2828
'job_description_text',
29+
'job_status',
2930
];
3031
const CANDIDATE_FIELDS_RESPONSE = [
3132
'id',

0 commit comments

Comments
 (0)