Skip to content

Commit

Permalink
Add client to CI config generator (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk authored Sep 13, 2024
1 parent ce58194 commit 0d8b5ae
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-generate-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
path: ./src/github.com/openshift-knative/hack/openshift-knative/backstage-plugins
repository: openshift-knative/backstage-plugins
token: ${{ secrets.SERVERLESS_QE_ROBOT }}
- if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && github.ref_name == 'main' }}
name: '[client] Clone repository'
uses: actions/checkout@v4
with:
path: ./src/github.com/openshift-knative/hack/openshift-knative/client
repository: openshift-knative/client
token: ${{ secrets.SERVERLESS_QE_ROBOT }}
- if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && github.ref_name == 'main' }}
name: '[eventing-hyperfoil-benchmark] Clone repository'
uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ generate-ci-no-clean:
go run github.com/openshift-knative/hack/cmd/prowgen --config config/
.PHONY: generate-ci-no-clean

generate-client-ci:
go run github.com/openshift-knative/hack/cmd/prowgen --config config/client.yaml $(ARGS)
.PHONY: generate-client-ci

generate-eventing-ci:
go run github.com/openshift-knative/hack/cmd/prowgen --config config/eventing.yaml $(ARGS)
go run github.com/openshift-knative/hack/cmd/prowgen --config config/backstage-plugins.yaml $(ARGS)
Expand Down
25 changes: 25 additions & 0 deletions config/client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
config:
branches:
release-v1.15:
openShiftVersions:
- version: "4.15"
skipCron: true
repositories:
- dockerfiles: {}
e2e:
- match: .*e2e$
skipCron: true
skipImages:
- knative-client-kn
- knative-client-cli-artifacts
ignoreConfigs:
matches:
- .*release-next*
- .*release-v1.*.yaml$
imagePrefix: knative-client
org: openshift-knative
promotion:
namespace: openshift
repo: client
canonicalGoRepository: github.com/knative/client
slackChannel: '#serverless-ci'

0 comments on commit 0d8b5ae

Please sign in to comment.