Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run make generate-release periodically and on push #507

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .github/workflows/release-generate-ci-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- 'main'
schedule:
- cron: "0 6 * * *" # Daily at 06:00.
- cron: "0 6 * * 1" # Runs every Monday at 6:00 AM UTC
workflow_dispatch: # Manual workflow trigger

concurrency:
Expand All @@ -23,17 +23,7 @@ jobs:
generate-ci:
name: generate-ci
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
steps:
- name: Install prerequisites
env:
YQ_VERSION: 3.4.0
run: |
sudo wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq
sudo mv /usr/bin/yq /usr/local/bin/yq

- name: Checkout openshift-knative/hack
uses: actions/checkout@v4
with:
Expand All @@ -44,6 +34,12 @@ jobs:
with:
go-version-file: ./src/github.com/openshift-knative/hack/go.mod

- name: Install yq
run: go install github.com/mikefarah/yq/v3@latest

- name: Install skopeo
run: go install -tags="exclude_graphdriver_btrfs containers_image_openpgp" github.com/containers/skopeo/cmd/[email protected]

- name: Install YAML2JSON
run: go install github.com/bronze1man/yaml2json@latest

Expand Down
Loading
Loading