Skip to content

Commit

Permalink
ci: integrate build script with ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr committed Sep 12, 2019
1 parent 23f31d9 commit 50501fe
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,19 @@ jobs:
- run:
name: Verify kumactl workflow
command: make kumactl/example/minikube
images/push:
<<: *vm-executor-defaults
release:
<<: *go-defaults
steps:
- checkout
- restore_cache:
keys:
- go.mod/{{ checksum "go.sum" }}
- run:
name: Push Docker images
command: make images/push BINTRAY_USERNAME=$BINTRAY_USERNAME BINTRAY_API_KEY=$BINTRAY_API_KEY KUMA_VERSION=$CIRCLE_TAG
name: Build packages
command: ./tools/distros.sh --package
- run:
name: Push Packages
command: ./tools/distros.sh --release --version $CIRCLE_TAG

#
# Below, the tag filter needs to be in all jobs
Expand Down Expand Up @@ -390,9 +396,12 @@ workflows:
- example/minikube:
requires:
- build
- images/push:
- release:
requires:
- images
- check
- build
- test
- integration
filters:
branches:
ignore: /.*/
Expand Down

0 comments on commit 50501fe

Please sign in to comment.