Skip to content

Commit

Permalink
remove workflow_run
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed Feb 14, 2025
1 parent a408b08 commit e596399
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/busola-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ permissions:

jobs:
build-busola-image:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main
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
if: github.event.pull_request.draft == false
with:
name: busola
dockerfile: Dockerfile
tags: ${{ inputs.tag != '' && inputs.tag || 'latest' }}
build-args: ${{ inputs.tag != '' && format('tag={0}', inputs.tag) || '' }}

run-k3d-integration-tests:
uses: ./.github/workflows/pull-kyma-integration-tests.yml
with:
pr_number: ${{github.event.number}}
12 changes: 7 additions & 5 deletions .github/workflows/pull-kyma-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: PR Kyma Dashboard Integration Tests Dev

on:
workflow_run:
workflows: [ Busola Build ]
types:
- completed
workflow_call:
inputs:
pr_number:
description: "PR number"
required: true
type: string
jobs:
run-integration-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,7 +38,7 @@ jobs:
env:
ENV: dev
run: |
.github/scripts/deploy_busola.sh PR-${{ github.event.number }} | tee busola-deploy.log
.github/scripts/deploy_busola.sh PR-${{ inputs.pr_number }} | tee busola-deploy.log
- name: Prepare kubeconfig
run: |
.github/scripts/prepare_kubeconfig.sh
Expand Down
2 changes: 0 additions & 2 deletions src/components/CustomResources/CustomResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ export function CustomResources({
console.log('Trigger job');
console.log('Trigger job');
console.log('Trigger job');
console.log('Trigger job');
console.log('Trigger job');

let value;
try {
Expand Down

0 comments on commit e596399

Please sign in to comment.