Skip to content

Commit

Permalink
Adds filters to CircleCI config to enable tagged builds (#536)
Browse files Browse the repository at this point in the history
Also sets integration tests to only run on tagged and master builds.
  • Loading branch information
prydonius authored Aug 24, 2018
1 parent e0f6191 commit b2105f7
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,77 @@ workflows:
version: 2
kubeapps:
jobs:
- test_go
- test_dashboard
- test_go:
filters:
tags:
only: /^v.*/
- test_dashboard:
filters:
tags:
only: /^v.*/
- build_chartrepo:
requires:
- test_go
filters:
tags:
only: /^v.*/
- build_chartsvc:
requires:
- test_go
filters:
tags:
only: /^v.*/
- build_chart_apprepository:
requires:
- test_go
filters:
tags:
only: /^v.*/
- build_dashboard:
requires:
- test_dashboard
filters:
tags:
only: /^v.*/
- build_tiller_proxy:
requires:
- test_go
filters:
tags:
only: /^v.*/
- GKE_1_9:
requires:
- build_chartrepo
- build_chartsvc
- build_chart_apprepository
- build_dashboard
- build_tiller_proxy
filters:
tags:
only: /^v.*/
branches:
only: master
- GKE_1_10:
requires:
- build_chartrepo
- build_chartsvc
- build_chart_apprepository
- build_dashboard
- build_tiller_proxy
filters:
tags:
only: /^v.*/
branches:
only: master
- release:
requires:
- GKE_1_9
- GKE_1_10
filters:
tags:
only: /^v.*/
branches:
only: master

## Definitions
install_gcloud_sdk: &install_gcloud_sdk
Expand Down

0 comments on commit b2105f7

Please sign in to comment.