@ -2,7 +2,7 @@
version : 2.1
version : 2.1
orbs:
orbs:
prometheus : prometheus/prometheus@0. 9 .0
prometheus : prometheus/prometheus@0. 10 .0
go : circleci/go@0.2.0
go : circleci/go@0.2.0
win : circleci/windows@2.3.0
win : circleci/windows@2.3.0
@ -132,16 +132,44 @@ workflows:
filters:
filters:
tags:
tags:
only : /.*/
only : /.*/
- prometheus/build:
# Build pipeline for PRs.
- prometheus/build_platform:
name : build
name : build
filters:
filters:
tags:
tags:
only : /.*/
only : /.*/
ignore : /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
matrix:
parameters:
platform:
# - aix # Currently doesn't build.
- darwin
- dragonfly
- freebsd
- illumos
- linux
- netbsd
- openbsd
- windows
# Build pipeline for main releases.
- prometheus/build:
name : build-main
filters:
branches:
only : main
# Build pipeline for versioned releases.
- prometheus/build:
name : build-release
filters:
tags:
only : /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
branches:
ignore : /.*/
- prometheus/publish_main:
- prometheus/publish_main:
context : org-context
context : org-context
requires:
requires:
- test
- test
- build
- build -main
filters:
filters:
branches:
branches:
only : main
only : main
@ -150,7 +178,7 @@ workflows:
context : org-context
context : org-context
requires:
requires:
- test
- test
- build
- build -release
filters:
filters:
tags:
tags:
only : /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
only : /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/