Skip to content

Commit e95eba8

Browse files
committed
Revert "feat: Use workflow call to run integration tests after image build (#3705)"
This reverts commit 9424668.
1 parent 9424668 commit e95eba8

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

.github/workflows/busola-build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,10 @@ permissions:
4242

4343
jobs:
4444
build-busola-image:
45-
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: https://github.com/kyma-project/test-infra/blob/main/.github/workflows/image-builder.yml
45+
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main
4646
if: github.event.pull_request.draft == false
4747
with:
4848
name: busola
4949
dockerfile: Dockerfile
5050
tags: ${{ inputs.tag != '' && inputs.tag || 'latest' }}
5151
build-args: ${{ inputs.tag != '' && format('tag={0}', inputs.tag) || '' }}
52-
53-
run-k3d-integration-tests:
54-
needs: build-busola-image
55-
uses: ./.github/workflows/pull-kyma-integration-tests.yml
56-
with:
57-
pr_number: ${{github.event.number}}

.github/workflows/pull-kyma-integration-tests.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: PR Kyma Dashboard Integration Tests Dev
22

33
on:
4-
workflow_call:
5-
inputs:
6-
pr_number:
7-
description: "PR number"
8-
required: true
9-
type: string
4+
workflow_run:
5+
workflows: [ Busola Build ]
6+
types:
7+
- completed
108
jobs:
119
run-integration-test:
1210
runs-on: ubuntu-latest
@@ -38,7 +36,7 @@ jobs:
3836
env:
3937
ENV: dev
4038
run: |
41-
.github/scripts/deploy_busola.sh PR-${{ inputs.pr_number }} | tee busola-deploy.log
39+
.github/scripts/deploy_busola.sh PR-${{ github.event.number }} | tee busola-deploy.log
4240
- name: Prepare kubeconfig
4341
run: |
4442
.github/scripts/prepare_kubeconfig.sh

0 commit comments

Comments
 (0)