Commit 81875db0 authored by anton's avatar anton

Add legacy release task (without sentry DSN)

parent 0e9294fb
Pipeline #50824 passed with stage
in 2 minutes and 47 seconds
......@@ -57,6 +57,24 @@ jobs:
docker build --no-cache -t motionbank/systems-frontend:${CIRCLE_BRANCH} .
docker push motionbank/systems-frontend:${CIRCLE_BRANCH}
release_legacy:
working_directory: /app
docker:
- image: docker:18-git
steps:
- checkout
- run: *pull-submodules
- setup_remote_docker
- run: *install-dependencies
- run:
name: Release Production Image
command: |
set +o pipefail
AUTH0_CLIENT_ID=${PROD_AUTH0_CLIENT_ID} npm run build
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker build --no-cache -t motionbank/systems-frontend:${CIRCLE_BRANCH} .
docker push motionbank/systems-frontend:${CIRCLE_BRANCH}
release_staging:
working_directory: /app
docker:
......@@ -90,8 +108,12 @@ workflows:
filters:
branches:
only: staging
- release_legacy:
filters:
branches:
only: /^release_1_.+$/
- release_production:
filters:
branches:
only: /^release_.+$/
only: /^release_2_.+$/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment