Skip to content

Commit

Permalink
Remove unused init-workflow.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Oct 18, 2023
1 parent d55b9d9 commit b5ad903
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 60 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ env:
COPR_REPO: ${{ vars.COPR_REPO || '@pki/master' }}

jobs:
init:
name: Initialization
uses: ./.github/workflows/init.yml
secrets: inherit

build-test:
name: Build Test
needs: init
runs-on: ubuntu-latest
container: ${{ vars.BASE_IMAGE || 'registry.fedoraproject.org/fedora:latest' }}
steps:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ env:
COPR_REPO: ${{ vars.COPR_REPO || '@pki/master' }}

jobs:
init:
name: Initialization
uses: ./.github/workflows/init.yml
secrets: inherit

build:
name: Building IDM Console Framework
needs: init
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/init.yml

This file was deleted.

12 changes: 3 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ env:
NAMESPACE: ${{ vars.REGISTRY_NAMESPACE || github.repository_owner }}

jobs:
init:
name: Initialization
uses: ./.github/workflows/init.yml
secrets: inherit
if: vars.REGISTRY != ''

publish-maven:
if: vars.REGISTRY != ''
name: Publishing Maven artifacts
needs: init
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand Down Expand Up @@ -51,8 +45,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

wait-for-images:
if: vars.REGISTRY != ''
name: Waiting for container images
needs: init
runs-on: ubuntu-latest
steps:
- name: Wait for container images
Expand All @@ -65,7 +59,7 @@ jobs:

publish-images:
name: Publishing container images
needs: [init, wait-for-images]
needs: wait-for-images
runs-on: ubuntu-latest
steps:
- name: Log in to GitHub Container Registry
Expand Down
13 changes: 0 additions & 13 deletions tests/bin/init-workflow.sh

This file was deleted.

0 comments on commit b5ad903

Please sign in to comment.