Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify CircleCI config further #19

Merged
merged 6 commits into from
May 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: Use build numbered resource groups
Makes it easier to find which build is tied to which rg. Also enables
the possibility to have persistent resources, for example from the
master branch.
  • Loading branch information
seriema committed May 1, 2020
commit 2366f0fdaa0ac8cf3fc7cedcea443330d106984a
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Install Retro-Cloud on RaspberryPi (Setup Azure resources)
command: |
curl -fOL "https://raw.githubusercontent.com/seriema/retro-cloud/${CIRCLE_SHA1}/raspberry-pi/download-and-run.sh"
bash download-and-run.sh $CIRCLE_SHA1
bash download-and-run.sh "$CIRCLE_SHA1" "CircleCI-$CIRCLE_BUILD_NUM"
rm download-and-run.sh

- run:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- run:
name: Teardown Azure resources
command: cd retro-cloud-setup && bash teardown.sh
command: cd retro-cloud-setup && bash teardown.sh "CircleCI-$CIRCLE_BUILD_NUM"
when: always

imageValidation:
Expand Down