Skip to content

Commit

Permalink
fix(): re-enable registry deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Jan 24, 2018
1 parent fdad0a1 commit a32f3c9
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ jobs:
- run: node packages/cli/lib/cli.js hosting sync cookbook
- run: node packages/cli/lib/cli.js hosting sync cheatsheet

deploy_registry:
deploy_test_registry:
name: Deploying Test Registry
docker:
- image: circleci/node:latest
Expand All @@ -330,6 +330,18 @@ jobs:
- run: echo 'export REGISTRY_TEST_SYNCANO_PROJECT_INSTANCE=${REGISTRY_TEST_SYNCANO_PROJECT_INSTANCE}-${CIRCLE_SHA1}' >> $BASH_ENV
- run: sh ./bin/deploy-staging

deploy_registry:
name: Deploy Registry
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/registry

steps:
- restore_cache:
key: v1-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: sh ./bin/deploy

delete_registry:
name: Delete Test Registry
docker:
Expand Down Expand Up @@ -373,7 +385,7 @@ workflows:
build-test-deploy:
jobs:
- build
- deploy_registry:
- deploy_test_registry::
requires:
- build
- test_lint:
Expand Down Expand Up @@ -409,7 +421,7 @@ workflows:
- test_e2e_registry:
requires:
- build
- deploy_registry
- deploy_test_registry:
- test_e2e_core:
requires:
- build
Expand Down Expand Up @@ -451,3 +463,9 @@ workflows:
filters:
branches:
only: master
- deploy_registry:
requires:
- publish
filters:
branches:
only: /\d/

0 comments on commit a32f3c9

Please sign in to comment.