Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
Services
Motion Bank API
Commits
72c4d3de
Commit
72c4d3de
authored
Apr 01, 2020
by
anton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update circle.ci config.yml
parent
137c0745
Pipeline
#51900
passed with stage
in 4 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
29 deletions
+9
-29
.circleci/config.yml
.circleci/config.yml
+9
-29
No files found.
.circleci/config.yml
View file @
72c4d3de
...
@@ -29,15 +29,11 @@ jobs:
...
@@ -29,15 +29,11 @@ jobs:
-
run
:
*install-dependencies
-
run
:
*install-dependencies
-
run
:
-
run
:
name
:
Release Dev Image
name
:
Release Dev Image
environment
:
IS_STAGING
:
true
API_HOST
:
https://api-dev.motionbank.org
command
:
|
command
:
|
set +o pipefail
set +o pipefail
AUTH0_CLIENT_ID=${DEV_AUTH0_CLIENT_ID} SENTRY_DSN=${DEV_SENTRY_DSN} npm run build
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker build --no-cache -t motionbank/systems-frontend:dev .
npm run lint
docker push motionbank/systems-frontend:
dev
npm run docker-release-
dev
release_production
:
release_production
:
working_directory
:
/app
working_directory
:
/app
...
@@ -52,12 +48,11 @@ jobs:
...
@@ -52,12 +48,11 @@ jobs:
name
:
Release Production Image
name
:
Release Production Image
command
:
|
command
:
|
set +o pipefail
set +o pipefail
AUTH0_CLIENT_ID=${PROD_AUTH0_CLIENT_ID} SENTRY_DSN=${PROD_SENTRY_DSN} npm run build
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker build --no-cache -t motionbank/systems-frontend:${CIRCLE_BRANCH} .
docker build --no-cache -t motionbank/systems-frontend:${CIRCLE_BRANCH} .
docker push motionbank/systems-frontend:${CIRCLE_BRANCH}
docker push motionbank/systems-frontend:${CIRCLE_BRANCH}
release_
staging
:
release_
legacy
:
working_directory
:
/app
working_directory
:
/app
docker
:
docker
:
-
image
:
docker:stable-git
-
image
:
docker:stable-git
...
@@ -67,16 +62,12 @@ jobs:
...
@@ -67,16 +62,12 @@ jobs:
-
setup_remote_docker
-
setup_remote_docker
-
run
:
*install-dependencies
-
run
:
*install-dependencies
-
run
:
-
run
:
name
:
Release Staging Image
name
:
Release Production Image
environment
:
IS_STAGING
:
true
API_HOST
:
https://api-staging.motionbank.org
command
:
|
command
:
|
set +o pipefail
set +o pipefail
AUTH0_CLIENT_ID=${STAGING_AUTH0_CLIENT_ID} SENTRY_DSN=${STAGING_SENTRY_DSN} npm run build
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker build --no-cache -t motionbank/systems-frontend:
staging
.
docker build --no-cache -t motionbank/systems-frontend:
${CIRCLE_BRANCH}
.
docker push motionbank/systems-frontend:
staging
docker push motionbank/systems-frontend:
${CIRCLE_BRANCH}
workflows
:
workflows
:
version
:
2
version
:
2
...
@@ -86,22 +77,11 @@ workflows:
...
@@ -86,22 +77,11 @@ workflows:
filters
:
filters
:
branches
:
branches
:
only
:
master
only
:
master
-
release_staging
:
filters
:
branches
:
only
:
staging
-
release_production
:
-
release_production
:
filters
:
filters
:
branches
:
branches
:
only
:
/^release_.+$/
only
:
/^release_2_.+$/
nightly
:
-
release_legacy
:
triggers
:
-
schedule
:
cron
:
"
0
1
*
*
1"
filters
:
filters
:
branches
:
branches
:
only
:
only
:
/^release_1_.+$/
-
master
jobs
:
-
release_dev
-
release_staging
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