Skip to content

Commit

Permalink
fix pipline and add relase notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonskie committed Mar 16, 2021
1 parent 38a092e commit d5694c6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
9 changes: 2 additions & 7 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,11 @@ jobs:
username: (( grab meta.slack.username ))
icon_url: (( grab meta.slack.icon ))
text: (( grab meta.slack.notification ))

- name: minor
public: true
plan:
- { get: version, trigger: false, params: {bump: minor} }
- { put: version, params: {file: version/number} }

- name: major
public: true
plan:
Expand All @@ -92,11 +90,11 @@ jobs:
public: true
serial: true
plan:
- aggregate:
- do:
- in_parallel:
- { get: version }
- { get: edge, passed: [build], params: { save: true } }
- { get: git, passed: [build] }

- task: release
config:
image_resource:
Expand All @@ -121,17 +119,14 @@ jobs:
VERSION_FROM: version/number
GIT_EMAIL: (( grab meta.git.email ))
GIT_NAME: (( grab meta.git.name ))

- put: latest # as 'latest'
params:
load: edge

- put: latest # as 'vX.Y.Z'
params:
tag: version/number
tag_prefix: v
load: edge

- put: version
params:
bump: patch
Expand Down
3 changes: 3 additions & 0 deletions ci/release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Bug:
azure and alicloud configs never got commited.
due to `.gitignore` misconfiguration.
6 changes: 3 additions & 3 deletions ci/settings.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
meta:
name: pg-multi-exporter
target: snw
target: pipes@main
url: https://pipes.starkandwayne.com

initial_version: 0.1.0
initial_version: 0.2.2

git:
git:
email: ci@starkandwayne.com
name: CI Bot

Expand Down

0 comments on commit d5694c6

Please sign in to comment.