1
1
name : release-for-ec
2
2
3
3
on :
4
- workflow_dispatch :
5
- inputs :
6
- tag :
7
- description : ' Tag to use for building images and tagging Helm chart (must end with -ec.<digit>, e.g. v1.92.0-ec.1)'
8
- required : true
9
- type : string
4
+ push :
5
+ branches :
6
+ - release-for-ec-dispatch-workflow
10
7
11
8
permissions :
12
9
contents : write
@@ -17,114 +14,115 @@ jobs:
17
14
steps :
18
15
- name : Validate tag format
19
16
run : |
20
- if ! [[ "${{ inputs.tag }}" =~ -ec\.[0-9]+$ ]]; then
17
+ TAG="v1.124.15-ec.0"
18
+ if ! [[ "$TAG" =~ -ec\.[0-9]+$ ]]; then
21
19
echo "Error: Tag must end with -ec.<digit> suffix (e.g. v1.92.0-ec.1)"
22
20
exit 1
23
21
fi
24
- echo "Tag format is valid: ${{ inputs.tag }} "
22
+ echo "Tag format is valid: $TAG "
25
23
26
- build-migrations-melange-packages :
27
- needs : [validate-tag]
28
- strategy :
29
- fail-fast : true
30
- matrix :
31
- runner : [
32
- {name: ubuntu-latest, arch: amd64},
33
- {name: arm64-runner-set, arch: arm64}
34
- ]
35
- runs-on : ${{ matrix.runner.name }}
36
- steps :
37
- - uses : actions/checkout@v4
38
- - uses : ./.github/actions/build-custom-melange-package
39
- with :
40
- context : migrations/deploy
41
- component : kotsadm-migrations
42
- git-tag : ${{ inputs.tag }}
43
- arch : ${{ matrix.runner.arch }}
24
+ # build-migrations-melange-packages:
25
+ # needs: [validate-tag]
26
+ # strategy:
27
+ # fail-fast: true
28
+ # matrix:
29
+ # runner: [
30
+ # {name: ubuntu-latest, arch: amd64},
31
+ # {name: arm64-runner-set, arch: arm64}
32
+ # ]
33
+ # runs-on: ${{ matrix.runner.name }}
34
+ # steps:
35
+ # - uses: actions/checkout@v4
36
+ # - uses: ./.github/actions/build-custom-melange-package
37
+ # with:
38
+ # context: migrations/deploy
39
+ # component: kotsadm-migrations
40
+ # git-tag: v1.124.15-ec.0
41
+ # arch: ${{ matrix.runner.arch }}
44
42
45
- build-migrations :
46
- runs-on : ubuntu-latest
47
- needs : [build-migrations-melange-packages]
48
- steps :
49
- - uses : actions/checkout@v4
50
- - uses : ./.github/actions/build-custom-image-with-apko
51
- with :
52
- context : migrations/deploy
53
- component : kotsadm-migrations
54
- git-tag : ${{ inputs.tag }}
55
- image-name : index.docker.io/kotsadm/kotsadm-migrations:${{ inputs.tag }}
56
- registry-username : ${{ secrets.DOCKERHUB_USER }}
57
- registry-password : ${{ secrets.DOCKERHUB_PASSWORD }}
43
+ # build-migrations:
44
+ # runs-on: ubuntu-latest
45
+ # needs: [build-migrations-melange-packages]
46
+ # steps:
47
+ # - uses: actions/checkout@v4
48
+ # - uses: ./.github/actions/build-custom-image-with-apko
49
+ # with:
50
+ # context: migrations/deploy
51
+ # component: kotsadm-migrations
52
+ # git-tag: v1.124.15-ec.0
53
+ # image-name: index.docker.io/kotsadm/kotsadm-migrations:v1.124.15-ec.0
54
+ # registry-username: ${{ secrets.DOCKERHUB_USER }}
55
+ # registry-password: ${{ secrets.DOCKERHUB_PASSWORD }}
58
56
59
- build-kurl-proxy-melange-packages :
60
- needs : [validate-tag]
61
- strategy :
62
- fail-fast : true
63
- matrix :
64
- runner : [
65
- {name: ubuntu-latest, arch: amd64},
66
- {name: arm64-runner-set, arch: arm64}
67
- ]
68
- runs-on : ${{ matrix.runner.name }}
69
- steps :
70
- - uses : actions/checkout@v4
71
- - uses : ./.github/actions/build-custom-melange-package
72
- with :
73
- context : kurl_proxy/deploy
74
- component : kurl-proxy
75
- git-tag : ${{ inputs.tag }}
76
- arch : ${{ matrix.runner.arch }}
57
+ # build-kurl-proxy-melange-packages:
58
+ # needs: [validate-tag]
59
+ # strategy:
60
+ # fail-fast: true
61
+ # matrix:
62
+ # runner: [
63
+ # {name: ubuntu-latest, arch: amd64},
64
+ # {name: arm64-runner-set, arch: arm64}
65
+ # ]
66
+ # runs-on: ${{ matrix.runner.name }}
67
+ # steps:
68
+ # - uses: actions/checkout@v4
69
+ # - uses: ./.github/actions/build-custom-melange-package
70
+ # with:
71
+ # context: kurl_proxy/deploy
72
+ # component: kurl-proxy
73
+ # git-tag: v1.124.15-ec.0
74
+ # arch: ${{ matrix.runner.arch }}
77
75
78
- build-kurl-proxy :
79
- runs-on : ubuntu-latest
80
- needs : [build-kurl-proxy-melange-packages]
81
- steps :
82
- - uses : actions/checkout@v4
83
- - uses : ./.github/actions/build-custom-image-with-apko
84
- with :
85
- context : kurl_proxy/deploy
86
- component : kurl-proxy
87
- git-tag : ${{ inputs.tag }}
88
- image-name : index.docker.io/kotsadm/kurl-proxy:${{ inputs.tag }}
89
- registry-username : ${{ secrets.DOCKERHUB_USER }}
90
- registry-password : ${{ secrets.DOCKERHUB_PASSWORD }}
76
+ # build-kurl-proxy:
77
+ # runs-on: ubuntu-latest
78
+ # needs: [build-kurl-proxy-melange-packages]
79
+ # steps:
80
+ # - uses: actions/checkout@v4
81
+ # - uses: ./.github/actions/build-custom-image-with-apko
82
+ # with:
83
+ # context: kurl_proxy/deploy
84
+ # component: kurl-proxy
85
+ # git-tag: v1.124.15-ec.0
86
+ # image-name: index.docker.io/kotsadm/kurl-proxy:v1.124.15-ec.0
87
+ # registry-username: ${{ secrets.DOCKERHUB_USER }}
88
+ # registry-password: ${{ secrets.DOCKERHUB_PASSWORD }}
91
89
92
- build-kotsadm-melange-packages :
93
- needs : [validate-tag]
94
- strategy :
95
- fail-fast : true
96
- matrix :
97
- runner : [
98
- {name: ubuntu-latest, arch: amd64},
99
- {name: arm64-runner-set, arch: arm64}
100
- ]
101
- runs-on : ${{ matrix.runner.name }}
102
- steps :
103
- - uses : actions/checkout@v4
104
- - uses : ./.github/actions/build-custom-melange-package
105
- with :
106
- context : deploy
107
- component : kotsadm
108
- git-tag : ${{ inputs.tag }}
109
- arch : ${{ matrix.runner.arch }}
90
+ # build-kotsadm-melange-packages:
91
+ # needs: [validate-tag]
92
+ # strategy:
93
+ # fail-fast: true
94
+ # matrix:
95
+ # runner: [
96
+ # {name: ubuntu-latest, arch: amd64},
97
+ # {name: arm64-runner-set, arch: arm64}
98
+ # ]
99
+ # runs-on: ${{ matrix.runner.name }}
100
+ # steps:
101
+ # - uses: actions/checkout@v4
102
+ # - uses: ./.github/actions/build-custom-melange-package
103
+ # with:
104
+ # context: deploy
105
+ # component: kotsadm
106
+ # git-tag: v1.124.15-ec.0
107
+ # arch: ${{ matrix.runner.arch }}
110
108
111
- build-kotsadm :
112
- runs-on : ubuntu-latest
113
- needs : [build-kotsadm-melange-packages]
114
- steps :
115
- - uses : actions/checkout@v4
116
- - uses : ./.github/actions/build-custom-image-with-apko
117
- with :
118
- context : deploy
119
- component : kotsadm
120
- git-tag : ${{ inputs.tag }}
121
- image-name : index.docker.io/kotsadm/kotsadm:${{ inputs.tag }}
122
- registry-username : ${{ secrets.DOCKERHUB_USER }}
123
- registry-password : ${{ secrets.DOCKERHUB_PASSWORD }}
109
+ # build-kotsadm:
110
+ # runs-on: ubuntu-latest
111
+ # needs: [build-kotsadm-melange-packages]
112
+ # steps:
113
+ # - uses: actions/checkout@v4
114
+ # - uses: ./.github/actions/build-custom-image-with-apko
115
+ # with:
116
+ # context: deploy
117
+ # component: kotsadm
118
+ # git-tag: v1.124.15-ec.0
119
+ # image-name: index.docker.io/kotsadm/kotsadm:v1.124.15-ec.0
120
+ # registry-username: ${{ secrets.DOCKERHUB_USER }}
121
+ # registry-password: ${{ secrets.DOCKERHUB_PASSWORD }}
124
122
125
123
tag-helm-chart :
126
124
runs-on : ubuntu-latest
127
- needs : [build-migrations, build-kurl-proxy, build-kotsadm]
125
+ # needs: [build-migrations, build-kurl-proxy, build-kotsadm]
128
126
steps :
129
127
- name : Checkout Chart
130
128
uses : actions/checkout@v4
@@ -135,5 +133,5 @@ jobs:
135
133
136
134
- name : Tag Chart
137
135
run : |
138
- git tag "${{ inputs.tag }} +${GITHUB_SHA:0:7}"
139
- git push origin "${{ inputs.tag }} +${GITHUB_SHA:0:7}"
136
+ git tag "v1.124.15-ec.0 +${GITHUB_SHA:0:7}"
137
+ git push origin "v1.124.15-ec.0 +${GITHUB_SHA:0:7}"
0 commit comments