Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
b4c8c22c
Commit
b4c8c22c
authored
Nov 10, 2020
by
BryceLTaylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circleCI config fix environment variable commands
parent
81aabb20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
30 deletions
+30
-30
.circleci/config.yml
.circleci/config.yml
+30
-30
No files found.
.circleci/config.yml
View file @
b4c8c22c
...
...
@@ -79,20 +79,20 @@ jobs:
-
run
:
name
:
"
Run
npm
test
to
build"
command
:
|
echo export API_HOST=https://api.scratch.ly
echo export ASSET_HOST=https://assets.scratch.ly
echo export BACKPACK_HOST=https://backpack.scratch.ly
echo export CLOUDDATA_HOST=varserver2.scratch.ly
echo export GA_TRACKER=UA-30688952-7
echo export PROJECT_HOST=https://projects.scratch.ly
echo export RECAPTCHA_SITE_KEY=6LfukK4UAAAAAFR44yoZMhv8fj6xh-PMiIxwryG3
echo export ROOT_URL=https://scratch.ly
echo export S3_BUCKET_NAME=scratch-www-staging
echo export SCRATCH_ENV=staging
echo export SENTRY_DSN=https://c01014988b0a4f44bbefdf235623c456@sentry.io/1357982
echo export SENTRY_PROJECT=scratch-30-staging
echo export STATIC_HOST=https://cdn.scratch.ly
echo export TEST_PROJECT_ID="1300006196"
echo export API_HOST=https://api.scratch.ly
>> $BASH_ENV
echo export ASSET_HOST=https://assets.scratch.ly
>> $BASH_ENV
echo export BACKPACK_HOST=https://backpack.scratch.ly
>> $BASH_ENV
echo export CLOUDDATA_HOST=varserver2.scratch.ly
>> $BASH_ENV
echo export GA_TRACKER=UA-30688952-7
>> $BASH_ENV
echo export PROJECT_HOST=https://projects.scratch.ly
>> $BASH_ENV
echo export RECAPTCHA_SITE_KEY=6LfukK4UAAAAAFR44yoZMhv8fj6xh-PMiIxwryG3
>> $BASH_ENV
echo export ROOT_URL=https://scratch.ly
>> $BASH_ENV
echo export S3_BUCKET_NAME=scratch-www-staging
>> $BASH_ENV
echo export SCRATCH_ENV=staging
>> $BASH_ENV
echo export SENTRY_DSN=https://c01014988b0a4f44bbefdf235623c456@sentry.io/1357982
>> $BASH_ENV
echo export SENTRY_PROJECT=scratch-30-staging
>> $BASH_ENV
echo export STATIC_HOST=https://cdn.scratch.ly
>> $BASH_ENV
echo export TEST_PROJECT_ID="1300006196"
>> $BASH_ENV
npm --production=false ci
WWW_VERSION=${CIRCLE_SHA1:0:5} npm run test
-
*save_npm_cache
...
...
@@ -128,20 +128,20 @@ jobs:
-
run
:
name
:
"
deploy
to
staging"
command
:
|
echo export API_HOST=https://api.scratch.ly
echo export ASSET_HOST=https://assets.scratch.ly
echo export BACKPACK_HOST=https://backpack.scratch.ly
echo export CLOUDDATA_HOST=varserver2.scratch.ly
echo export GA_TRACKER=UA-30688952-7
echo export PROJECT_HOST=https://projects.scratch.ly
echo export RECAPTCHA_SITE_KEY=6LfukK4UAAAAAFR44yoZMhv8fj6xh-PMiIxwryG3
echo export ROOT_URL=https://scratch.ly
echo export S3_BUCKET_NAME=scratch-www-staging
echo export SCRATCH_ENV=staging
echo export SENTRY_DSN=https://c01014988b0a4f44bbefdf235623c456@sentry.io/1357982
echo export SENTRY_PROJECT=scratch-30-staging
echo export STATIC_HOST=https://cdn.scratch.ly
echo export TEST_PROJECT_ID="1300006196"
echo export API_HOST=https://api.scratch.ly
>> $BASH_ENV
echo export ASSET_HOST=https://assets.scratch.ly
>> $BASH_ENV
echo export BACKPACK_HOST=https://backpack.scratch.ly
>> $BASH_ENV
echo export CLOUDDATA_HOST=varserver2.scratch.ly
>> $BASH_ENV
echo export GA_TRACKER=UA-30688952-7
>> $BASH_ENV
echo export PROJECT_HOST=https://projects.scratch.ly
>> $BASH_ENV
echo export RECAPTCHA_SITE_KEY=6LfukK4UAAAAAFR44yoZMhv8fj6xh-PMiIxwryG3
>> $BASH_ENV
echo export ROOT_URL=https://scratch.ly
>> $BASH_ENV
echo export S3_BUCKET_NAME=scratch-www-staging
>> $BASH_ENV
echo export SCRATCH_ENV=staging
>> $BASH_ENV
echo export SENTRY_DSN=https://c01014988b0a4f44bbefdf235623c456@sentry.io/1357982
>> $BASH_ENV
echo export SENTRY_PROJECT=scratch-30-staging
>> $BASH_ENV
echo export STATIC_HOST=https://cdn.scratch.ly
>> $BASH_ENV
echo export TEST_PROJECT_ID="1300006196"
>> $BASH_ENV
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install -r requirements.txt
...
...
@@ -176,8 +176,8 @@ jobs:
-
run
:
name
:
"
integration
tests"
command
:
|
echo export ROOT_URL=https://scratch.ly
echo export TEST_PROJECT_ID="1300006196"
echo export ROOT_URL=https://scratch.ly
>> $BASH_ENV
echo export TEST_PROJECT_ID="1300006196"
>> $BASH_ENV
npm run test:integration:remote
integration-production
:
<<
:
*defaults
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment