Skip to content

Commit

Permalink
Merge pull request #372 from CircleCI-Public/fix-snap-bin-dir
Browse files Browse the repository at this point in the history
Remove weekly deployment
  • Loading branch information
marcomorain authored Feb 28, 2020
2 parents 69af0b6 + afa77da commit 8e35edb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
1 change: 0 additions & 1 deletion .circleci/brew-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ brew bump-formula-pr --strict \
--tag="$TAG" \
--revision="$REVISION" \
circleci

22 changes: 8 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,14 @@ workflows:
- snap:
requires:
- deploy
# Only deploy to homebrew after manual approval.
- run-brew-deploy-gate:
type: approval
requires:
- deploy
- brew-deploy:
requires:
- run-brew-deploy-gate
- deploy:
requires:
- test
Expand All @@ -267,17 +275,3 @@ workflows:
filters:
branches:
only: master
weekly:
triggers:
- schedule:
cron: "0 23 * * 0"
filters:
branches:
only:
- master
jobs:
- run-brew-deploy-gate:
type: approval
- brew-deploy:
requires:
- run-brew-deploy-gate
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parts:
plugin: nil
override-build: |
snapcraftctl build
cp dist/linux_amd64/circleci $SNAPCRAFT_PART_INSTALL
cp dist/circleci-cli_linux_amd64/circleci $SNAPCRAFT_PART_INSTALL
chmod +x $SNAPCRAFT_PART_INSTALL/circleci
stage-packages: [docker.io]
apps:
Expand Down

0 comments on commit 8e35edb

Please sign in to comment.