forked from rancher/turtles-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add updatecli config for releasepost
Signed-off-by: Carlos Salas <[email protected]>
- Loading branch information
1 parent
d4cedbc
commit 2a2ee6a
Showing
6 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
changelogs: | ||
- kind: github | ||
dir: docs/next/modules/en/pages/changelogs | ||
formats: | ||
- extension: asciidoc | ||
frontmatters: | | ||
== "{{ .Changelog.Name }}" | ||
=== "{{ .Changelog.PublishedAt }}" | ||
indexfilename: index | ||
indexfrontmatters: | | ||
= Release Notes | ||
indexfiletemplate: | | ||
{{ .FrontMatters }} | ||
{{ range $pos, $release := .Changelogs }} | ||
* link:changelogs/{{ $release.Tag }}.html[{{ $release.Name }} {{ if (eq $pos 0) }}(latest){{ end}}] | ||
{{ end }} | ||
spec: | ||
owner: rancher | ||
repository: turtles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
policies: | ||
# The following policies are designed to work from GitHub action workflows. | ||
# This means that before running any Updatecli command, we need the two following environment variables set: | ||
# | ||
# GITHUB_TOKEN: Set to a personal access token | ||
# GITHUB_ACTOR: Set to the username associated with the GITHUB_TOKEN | ||
# | ||
# Instruction to retrieve your PAT is documented on https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens | ||
- name: Handle releasepost | ||
policy: ghcr.io/salasberryfin/rancherlabs-policies/releasepost:0.1.0@sha256:4f34a64936426fdfe723e9380ddaa866453eddec893e82151caf3fe46a008fb6 | ||
values: | ||
- updatecli/values.d/scm.yaml | ||
- updatecli/values.d/turtles.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Settings used by releasepost Updatecli policy | ||
# to identify which Git repository to update. | ||
scm: | ||
enabled: true | ||
user: "updatecli-bot" | ||
email: "[email protected]" | ||
owner: rancher | ||
repository: turtles-docs | ||
branch: main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Settings used by releasepost Updatecli policy | ||
# to identify which GitHub repository to monitor for information releases and changelog information | ||
project: "Turtles" | ||
repository: "rancher/turtles" |