-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updatecli: Re-structure pipelines, add hermit (#1503)
- Add pipeline for hermit upgrades - Use matrix to organize all GH actions in one workflow file - Make naming, properties, etc consistent - Remove goimports as we use gci instead - Call hermit to bump the go version in bin/ as well
- Loading branch information
Showing
12 changed files
with
96 additions
and
50 deletions.
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,6 @@ | ||
#!/bin/bash | ||
|
||
set -euxo pipefail | ||
|
||
bin/hermit install "go-$1" | ||
git status # git diff might not have output because only binaries change |
File renamed without changes.
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,22 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
bin/hermit upgrade \ | ||
aws-iam-authenticator \ | ||
awscli \ | ||
elastic-package \ | ||
gcloud \ | ||
gh \ | ||
golangci-lint \ | ||
jq \ | ||
just \ | ||
kind \ | ||
mage \ | ||
opa \ | ||
pre-commit \ | ||
rain \ | ||
regal \ | ||
shellcheck \ | ||
shfmt \ | ||
yq | ||
git status # git diff might not have output because only binaries change |
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
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
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,43 @@ | ||
--- | ||
name: Update Hermit Dependencies | ||
pipelineid: 'updatecli-hermit-{{ .github.branch }}' | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
user: '{{ requiredEnv "GIT_USER" }}' | ||
email: '{{ requiredEnv "GIT_EMAIL" }}' | ||
owner: "{{ .github.owner }}" | ||
repository: "{{ .github.repository }}" | ||
token: '{{ requiredEnv "GITHUB_TOKEN" }}' | ||
username: '{{ requiredEnv "GIT_USER" }}' | ||
branch: "{{ .github.branch }}" | ||
|
||
actions: | ||
default: | ||
title: '[updatecli] Update hermit dependencies' | ||
kind: github/pullrequest | ||
scmid: default | ||
spec: | ||
automerge: false | ||
labels: | ||
- automation | ||
- backport-skip | ||
- dependency | ||
description: |- | ||
### What | ||
`hermit` automatic sync | ||
Generated automatically with {{ requiredEnv "JOB_URL" }} | ||
targets: | ||
hermit: | ||
name: 'Update hermit packages' | ||
scmid: default | ||
kind: shell | ||
spec: | ||
command: .ci/updatecli/scripts/update-hermit.sh | ||
environments: | ||
- name: PATH | ||
- name: HOME |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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