Skip to content

Commit 50258a5

Browse files
committed
Add Next Configuration
1 parent feebd52 commit 50258a5

File tree

113 files changed

+323
-1385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+323
-1385
lines changed

.github/workflows/apply-konflux.yaml

+2-27
Original file line numberDiff line numberDiff line change
@@ -11,49 +11,24 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
build-matrix:
15-
runs-on: ubuntu-latest
16-
if: github.repository_owner == 'openshift-pipelines' # do not run this elsewhere
17-
steps:
18-
- name: Checkout the repository
19-
uses: actions/checkout@v4
20-
- uses: actions/setup-go@v5
21-
with:
22-
go-version: 1.22.x
23-
- id: set-matrix
24-
run: |
25-
echo "projects=$(go run ./cmd/matrix config/konflux/*)" >> $GITHUB_OUTPUT
26-
outputs:
27-
projects: ${{ steps.set-matrix.outputs.projects }}
28-
apply-project:
29-
needs: build-matrix
14+
apply-konflux:
3015
if: github.repository_owner == 'openshift-pipelines' # do not run this elsewhere
3116
runs-on: ubuntu-latest
3217
strategy:
3318
fail-fast: false
34-
matrix:
35-
project: ${{ fromJSON(needs.build-matrix.outputs.projects) }}
3619
permissions:
3720
contents: write
3821
pull-requests: write
3922
steps:
4023
- name: Checkout the repository
4124
uses: actions/checkout@v4
42-
- name: Clone ${{matrix.project}}
43-
uses: actions/checkout@v4
44-
with:
45-
repository: openshift-pipelines/${{matrix.project}}
46-
path: project
47-
- uses: actions/setup-go@v5
48-
with:
49-
go-version: 1.22.x
5025
- name: Apply configurations
5126
run: |
5227
kubectl config set-credentials konflux-sa --token "$KONFLUX_TOKEN"
5328
kubectl config set-cluster konflux --server=https://api.stone-prd-rh01.pg1f.p1.openshiftapps.com:6443
5429
kubectl config set-context konflux-sa@konflux --user=konflux-sa --namespace=tekton-ecosystem-tenant --cluster=konflux
5530
kubectl config use-context konflux-sa@konflux
5631
kubectl get pr
57-
go run ./cmd/konflux-apply/ -config config/konflux/${{matrix.project}}.yaml
32+
kubectl apply -Rf .konflux
5833
env:
5934
KONFLUX_TOKEN: ${{ secrets.KONFLUX_SA_TOKEN }}

.github/workflows/generate-ci.yaml

-63
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/application.yaml

-8
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/release-plan.yaml

-25
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/role.yaml

-27
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/secret.yaml

-12
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/service-account.yaml

-10
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/tektoncd-cli/component-cli-tkn.yaml

-18
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/tektoncd-cli/image-cli-tkn.yaml

-16
This file was deleted.

.konflux/1-15/openshift-pipelines-cli/tests.yaml

-27
This file was deleted.

.konflux/1-15/openshift-pipelines-core/application.yaml

-8
This file was deleted.

.konflux/1-15/openshift-pipelines-core/console-plugin/component-console-plugin.yaml

-18
This file was deleted.

.konflux/1-15/openshift-pipelines-core/console-plugin/image-console-plugin.yaml

-16
This file was deleted.

.konflux/1-15/openshift-pipelines-core/manual-approval-gate/component-manual-approval-gate-controller.yaml

-18
This file was deleted.

.konflux/1-15/openshift-pipelines-core/manual-approval-gate/component-manual-approval-gate-webhook.yaml

-18
This file was deleted.

.konflux/1-15/openshift-pipelines-core/manual-approval-gate/image-manual-approval-gate-controller.yaml

-16
This file was deleted.

.konflux/1-15/openshift-pipelines-core/manual-approval-gate/image-manual-approval-gate-webhook.yaml

-16
This file was deleted.

0 commit comments

Comments
 (0)