Skip to content

Commit 3c68726

Browse files
Merge pull request opendatahub-io#326 from hbelmiro/fix-operator-image
UPSTREAM<carry>: fix(ci): Conditionalize operator deployment in workflows
2 parents 5a3c501 + 9ef1c2b commit 3c68726

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/api-server-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
image_path: ${{ needs.build.outputs.IMAGE_PATH }}
112112
image_tag: ${{ needs.build.outputs.IMAGE_TAG }}
113113
image_registry: ${{ needs.build.outputs.IMAGE_REGISTRY }}
114-
skip_operator_deployment: 'false'
114+
skip_operator_deployment: ${{ github.repository_owner != 'opendatahub-io' }}
115115

116116
- name: Configure Cluster CA Cert for TLS-Enabled Tests
117117
shell: bash
@@ -208,7 +208,7 @@ jobs:
208208
image_tag: ${{ needs.build.outputs.IMAGE_TAG }}
209209
image_registry: ${{ needs.build.outputs.IMAGE_REGISTRY }}
210210
pod_to_pod_tls_enabled: ${{ matrix.pod_to_pod_tls_enabled }}
211-
skip_operator_deployment: 'false'
211+
skip_operator_deployment: ${{ github.repository_owner != 'opendatahub-io' }}
212212

213213
- name: Run Tests
214214
uses: ./.github/actions/test-and-report

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
image_path: ${{ needs.build.outputs.IMAGE_PATH }}
142142
image_tag: ${{ needs.build.outputs.IMAGE_TAG }}
143143
image_registry: ${{ needs.build.outputs.IMAGE_REGISTRY }}
144-
skip_operator_deployment: 'false'
144+
skip_operator_deployment: ${{ github.repository_owner != 'opendatahub-io' }}
145145

146146
- name: Configure Cluster CA Cert for TLS-Enabled Tests
147147
shell: bash

.github/workflows/upgrade-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
pod_to_pod_tls_enabled: ${{ matrix.tls_enabled }}
7575
operator_image_tag: "odh-stable"
7676
skip_load_docker_images: 'true'
77-
skip_operator_deployment: 'false'
77+
skip_operator_deployment: ${{ github.repository_owner != 'opendatahub-io' }}
7878
operator_branch: 'stable'
7979

8080
- name: Configure Cluster CA e2e for TLS-Enabled Tests
@@ -110,7 +110,7 @@ jobs:
110110
image_tag: ${{ needs.build.outputs.IMAGE_TAG }}
111111
image_registry: ${{ needs.build.outputs.IMAGE_REGISTRY }}
112112
forward_port: 'false'
113-
skip_operator_deployment: 'false'
113+
skip_operator_deployment: ${{ github.repository_owner != 'opendatahub-io' }}
114114
pod_to_pod_tls_enabled: ${{ matrix.tls_enabled }}
115115

116116
- name: Verify Upgrade

0 commit comments

Comments
 (0)