Skip to content

Commit

Permalink
[circleci] build and push on devnet branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rustielin authored and aptos-bot committed Mar 17, 2022
1 parent ff43e7b commit a9f5555
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ jobs:
"https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/issues/${PR_NUMBER}/comments"
exit 0
# a dummy job so that we can require auto or canary branches
require-bors:
# a dummy job so that we can require a certain branch
require-branch:
machine:
image: ubuntu-2004:current
steps:
- run: echo "hello from bors"
- run: echo "hello from branch ${CIRCLE_BRANCH}"
workflows:
build-test-deploy:
jobs:
Expand All @@ -199,7 +199,7 @@ workflows:
- lint
- unit-test
### bors-controlled workflows ###
- require-bors:
- require-branch:
filters:
branches:
only:
Expand All @@ -208,11 +208,28 @@ workflows:
- docker-build-push:
context: aws-dev
requires:
- require-bors
- require-branch
- forge-k8s:
context: aws-dev
requires:
- docker-build-push
devnet-branch-cut:
jobs:
- require-branch:
filters:
branches:
only:
- devnet
- docker-build-push:
context: aws-dev
addl_tag: devnet
- ecr-dockerhub-mirror:
context:
- aws-dev
- docker-aptoslabsbots
addl_tag: devnet
requires:
- docker-build-push
### Automated workflows
continuous-push:
triggers:
Expand Down

0 comments on commit a9f5555

Please sign in to comment.