Skip to content

Commit

Permalink
Test Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
swallat committed Jun 21, 2019
1 parent b23235d commit 6b8cb3e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,31 @@ test:check-core-documentation:
- python3 tools/check_documentation.py include/ -ignore include/gui/
cache: {}

deploy-homebrew:
stage: deploy
only:
- /^v.*$/
except:
- branches
script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-add <(echo "$HAL_DEPLOYMENT_KEY")
- 'ssh-keyscan github.com > ~/.ssh/known_hosts'
- rm -rf build
- mkdir -p build
- cd build
- git clone git@github.com:emsec/homebrew-hal.git
- cd homebrew-hal
- brew bump-formula-pr --dry-run --write --tag=$CI_COMMIT_TAG --revision=$CI_COMMIT_SHA hal.rb
- git add hal.rb
- git commit --author="GitlabCI <ci@gitlabci.local>" -m "Update to version $CI_COMMIT_TAG"
- git tag $CI_COMMIT_TAG
- git push origin $CI_COMMIT_TAG
- git push master

deploy-ppa:
stage: deploy
only:
Expand Down
7 changes: 7 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
hal-reverse (1.0.23) bionic; urgency=medium

* Automated homebrew deployment
* Testing new CI deploymenty

-- Sebastian Wallat <sebastian.wallat@rub.de> Fri, 21 Jun 2019 10:36:36 +0200

hal-reverse (1.0.22) bionic; urgency=medium

* Fixed showing message box for error while opening file
Expand Down

0 comments on commit 6b8cb3e

Please sign in to comment.