Skip to content

Commit

Permalink
Enable auto release builds for onos-config (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-milkey committed Jun 2, 2020
1 parent 9d0ffa5 commit 27df336
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Binary file added .ssh/id_rsa.enc
Binary file not shown.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@ before_script:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.7
- pushd .. && git clone https://github.com/onosproject/build-tools.git && popd

before_install:
- 'if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]] ; then
openssl aes-256-cbc -K $encrypted_f217180e22ee_key -iv $encrypted_f217180e22ee_iv -in .ssh/id_rsa.enc -out ~/.ssh/id_rsa -d &&
chmod 600 ~/.ssh/id_rsa;
fi'

jobs:
include:
- stage: build
name: "build and test"
script:
- make coverage
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./build/bin/push-images; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
bash ./build/bin/push-images &&
bash -x ../build-tools/release-merge-commit;
fi'
- stage: integration tests
if: type != pull_request
script:
Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.6.5-dev

0 comments on commit 27df336

Please sign in to comment.