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 19, 2023
1 parent aaead49 commit 9b961df
Show file tree
Hide file tree
Showing 21 changed files with 108 additions and 261 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/acme-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@ env:
COPR_REPO: ${{ vars.COPR_REPO || '@pki/master' }}

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

build:
name: Building ACME images
needs: init
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand Down Expand Up @@ -94,28 +88,28 @@ jobs:

acme-certbot-test:
name: ACME with certbot
needs: [init, build]
needs: build
uses: ./.github/workflows/acme-certbot-test.yml

acme-switchover-test:
name: ACME server switchover
needs: [init, build]
needs: build
uses: ./.github/workflows/acme-switchover-test.yml

acme-container-test:
name: ACME container
needs: [init, build]
needs: build
uses: ./.github/workflows/acme-container-test.yml

acme-postgresql-test:
name: ACME with postgresql back-end
needs: [init, build]
needs: build
uses: ./.github/workflows/acme-postgresql-test.yml

publish:
if: github.event_name == 'push' && github.ref_name == 'master'
name: Publishing ACME images
needs: [init, build]
needs: build
runs-on: ubuntu-latest
steps:
- name: Log in to GitHub Container Registry
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,15 +7,9 @@ env:
COPR_REPO: ${{ vars.COPR_REPO || '@pki/master' }}

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

# docs/development/Building_PKI.md
build:
name: Building PKI
needs: init
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/ca-clone-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,32 @@ name: CA Clone Tests
on: [push, pull_request]

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

build:
name: Waiting for build
needs: init
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit

ca-clone-test:
name: CA clone
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-clone-test.yml

ca-clone-hsm-test:
name: CA clone with HSM
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-clone-hsm-test.yml

ca-clone-secure-ds-test:
name: CA clone with secure DS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-clone-secure-ds-test.yml

ca-clone-shared-ds-test:
name: CA clone with shared DS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-clone-shared-ds-test.yml

ca-clone-replicated-ds-test:
name: CA clone with replicated DS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-clone-replicated-ds-test.yml
42 changes: 18 additions & 24 deletions .github/workflows/ca-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,103 +3,97 @@ name: CA Tests
on: [push, pull_request]

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

build:
name: Waiting for build
needs: init
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit

ca-basic-test:
name: Basic CA
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-basic-test.yml

ca-ecc-test:
name: CA with ECC
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-ecc-test.yml

ca-rsa-test:
name: CA with RSA
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-rsa-test.yml

ca-rsa-pss-test:
name: CA with RSA/PSS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-rsa-pss-test.yml

ca-existing-certs-test:
name: CA with existing certs
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-existing-certs-test.yml

ca-existing-nssdb-test:
name: CA with existing NSS database
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-existing-nssdb-test.yml

ca-existing-hsm-test:
name: CA with existing HSM
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-existing-hsm-test.yml

ca-existing-ds-test:
name: CA with existing DS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-existing-ds-test.yml

ca-cmc-shared-token-test:
name: CA with CMC shared token
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-cmc-shared-token-test.yml

ca-hsm-test:
name: CA with HSM
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-hsm-test.yml

ca-nuxwdog-test:
name: CA with Nuxwdog
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-nuxwdog-test.yml

ca-ds-connection-test:
name: CA connection with DS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-ds-connection-test.yml

ca-rsnv1-test:
name: CA with RSNv1
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-rsnv1-test.yml

ca-sequential-test:
name: CA with Sequential Serial Numbers
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-sequential-test.yml

ca-pruning-test:
name: CA database pruning
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-pruning-test.yml

ca-admin-user-test:
name: CA admin user
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-admin-user-test.yml

ca-non-default-user-test:
name: CA with non-default user
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-non-default-user-test.yml

ca-container-test:
name: CA container
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-container-test.yml
26 changes: 10 additions & 16 deletions .github/workflows/ca-tests2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,63 +3,57 @@ name: CA Tests 2
on: [push, pull_request]

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

build:
name: Waiting for build
needs: init
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit

ca-profile-caDirUserCert-test:
name: CA with caDirUserCert profile
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-profile-caDirUserCert-test.yml

ca-profile-caServerCert-test:
name: CA with caServerCert profile
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-profile-caServerCert-test.yml

ca-secure-ds-test:
name: CA with secure DS
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-secure-ds-test.yml

ca-crl-test:
name: CA CRL database
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-crl-test.yml

ca-publishing-ca-cert-test:
name: CA with CA cert publishing
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-publishing-ca-cert-test.yml

ca-publishing-user-cert-test:
name: CA with user cert publishing
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-publishing-user-cert-test.yml

ca-publishing-crl-file-test:
name: CA with file-based CRL publishing
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-publishing-crl-file-test.yml

ca-publishing-crl-ldap-test:
name: CA with LDAP-based CRL publishing
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-publishing-crl-ldap-test.yml

ca-notification-request-test:
name: CA with request notification
needs: [init, build]
needs: build
uses: ./.github/workflows/ca-notification-request-test.yml

scep-test:
name: SCEP responder
needs: [init, build]
needs: build
uses: ./.github/workflows/scep-test.yml
8 changes: 1 addition & 7 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@ name: Code Analysis
on: [push, pull_request]

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

build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
name: Waiting for build
needs: init
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit

sonarcloud:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
name: Sonar Cloud code analysis
needs: [init, build]
needs: build
runs-on: ubuntu-latest
env:
SHARED: /tmp/workdir/pki
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/est-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,14 @@ name: EST Tests
on: [push, pull_request]

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

build:
name: Waiting for build
needs: init
uses: ./.github/workflows/wait-for-build.yml
secrets: inherit

est-basic-test:
name: Basic EST
needs: [init, build]
needs: build
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/init.yml

This file was deleted.

Loading

0 comments on commit 9b961df

Please sign in to comment.