Skip to content

Commit

Permalink
chore(updatecli): add a manifest to track goss (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 authored Sep 25, 2023
1 parent 5fd72a2 commit 6265b22
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions updatecli/updatecli.d/goss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Bump Goss version

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
lastReleaseVersion:
kind: githubrelease
name: Get the latest Goss version
spec:
owner: goss-org
repository: goss
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
versionfilter:
kind: semver
transformers:
- trimprefix: v

targets:
updateToolVersion:
name: Update the Goss tool version
kind: yaml
spec:
file: provisioning/tools-versions.yml
key: $.goss_version
scmid: default

actions:
default:
kind: github/pullrequest
title: Bump Goss version to {{ source "lastReleaseVersion" }}
scmid: default
spec:
labels:
- enhancement
- goss

0 comments on commit 6265b22

Please sign in to comment.