File tree Expand file tree Collapse file tree 2 files changed +30
-9
lines changed Expand file tree Collapse file tree 2 files changed +30
-9
lines changed Original file line number Diff line number Diff line change 32
32
required : true
33
33
type : string
34
34
35
- BUILD_CUSTOM_CATALOG :
36
- description : Build custom catalog
37
- default : false
38
- required : false
39
- type : boolean
40
-
41
35
OPERATOR_SDK_VERSION :
42
36
description : Operator SDK version to use
43
37
default : " v1.32.0"
@@ -165,18 +159,15 @@ jobs:
165
159
echo "GIT_TAG=$(echo ${tag})" >> $GITHUB_OUTPUT
166
160
167
161
- name : Install CLI tools from OpenShift Mirror
168
- if : ${{ inputs.BUILD_CUSTOM_CATALOG }}
169
162
uses : redhat-actions/openshift-tools-installer@v1
170
163
with :
171
164
source : " github"
172
165
operator-sdk : ${{ inputs.OPERATOR_SDK_VERSION }}
173
166
opm : ${{ inputs.OPM_VERSION }}
174
167
175
168
- name : Build and Push Bundle
176
- if : ${{ inputs.BUILD_CUSTOM_CATALOG }}
177
169
run : make bundle bundle-build bundle-push
178
170
env :
179
- IMAGE_DIGEST : ${{ steps.build_and_push.outputs.digest }}
180
171
PR_TAG : -${{ steps.generate_tag_for_catalog.outputs.GIT_TAG }}
181
172
182
173
- name : Comment on PR
Original file line number Diff line number Diff line change
1
+ name : Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ - release
8
+ paths-ignore :
9
+ - ' *.md'
10
+ - ' docs/'
11
+ - ' examples/'
12
+ - ' hack/'
13
+
14
+ jobs :
15
+ operator-pull-request :
16
+ name : Operator Pull Request
17
+ # uses: stakater/.github/.github/workflows/operator_pull_request.yaml@main
18
+ uses : ./base_pr.yaml.yaml@main
19
+ secrets :
20
+ CONTAINER_REGISTRY_URL : ghcr.io/stakater
21
+ CONTAINER_REGISTRY_USERNAME : stakater-user
22
+ CONTAINER_REGISTRY_PASSWORD : ${{ secrets.GHCR_TOKEN }}
23
+ SLACK_WEBHOOK_URL : ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }}
24
+ with :
25
+ GOLANG_VERSION : ~1.21
26
+ DOCKERFILE_PATH : Dockerfile
27
+ GOLANG_CI_LINT_VERSION : v1.53.3
28
+ Run_GOLANG_CI_LINT : false
29
+ RUN_GOLANG_TESTS : false
30
+ OPERATOR_SDK_VERSION : v1.36.1
You can’t perform that action at this time.
0 commit comments