Skip to content

Commit

Permalink
Fix database image variables
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Nov 2, 2022
1 parent 8e7a6d8 commit cff43fe
Show file tree
Hide file tree
Showing 80 changed files with 357 additions and 77 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/PKICertImport-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
test:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/acme-certbot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/acme/Installing_PKI_ACME_Responder.md
Expand Down Expand Up @@ -35,7 +38,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/acme-container-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/podman/Deploying_PKI_ACME_Responder_on_Podman.md
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/acme-switchover-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# This test verifies that in a cluster the baseURL parameter can be used
Expand Down Expand Up @@ -35,7 +38,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/acme-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
uses: ./.github/workflows/acme-certbot-test.yml
with:
os: ${{ matrix.os }}
db-image: ${{ needs.init.outputs.db-image }}

acme-switchover-test:
name: ACME server switchover
Expand All @@ -106,6 +107,7 @@ jobs:
uses: ./.github/workflows/acme-switchover-test.yml
with:
os: ${{ matrix.os }}
db-image: ${{ needs.init.outputs.db-image }}

acme-container-test:
name: ACME container
Expand All @@ -115,3 +117,4 @@ jobs:
uses: ./.github/workflows/acme-container-test.yml
with:
os: ${{ matrix.os }}
db-image: ${{ needs.init.outputs.db-image }}
5 changes: 4 additions & 1 deletion .github/workflows/ca-basic-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA.md
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ca-clone-secure-ds-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA_Clone.md
Expand Down Expand Up @@ -35,7 +38,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh primaryds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: primaryds.example.com
PASSWORD: Secret.123

Expand Down Expand Up @@ -146,7 +149,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh secondaryds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: secondaryds.example.com
PASSWORD: Secret.123

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/ca-clone-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA.md
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh primaryds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: primaryds.example.com
PASSWORD: Secret.123

Expand Down Expand Up @@ -81,7 +84,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh secondaryds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: secondaryds.example.com
PASSWORD: Secret.123

Expand Down Expand Up @@ -131,7 +134,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh tertiaryds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: tertiaryds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-container-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# https://github.com/dogtagpki/pki/wiki/Deploying-CA-Container
Expand Down Expand Up @@ -200,7 +203,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-crl-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# https://github.com/dogtagpki/pki/wiki/CA-CRL-Database
Expand Down Expand Up @@ -38,7 +41,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-ds-connection-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA.md
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-ecc-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA_with_ECC.md
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-existing-certs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA_with_Existing_Keys_in_Internal_Token.md
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-existing-ds-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
test:
Expand Down Expand Up @@ -33,7 +36,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-existing-nssdb-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
test:
Expand Down Expand Up @@ -33,7 +36,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-hsm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# docs/installation/ca/Installing_CA_with_HSM.md
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-notification-request-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
test:
Expand Down Expand Up @@ -33,7 +36,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-publishing-ca-cert-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# https://github.com/dogtagpki/pki/wiki/Publishing-CA-Certificate-to-LDAP-Server
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-publishing-crl-file-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# https://github.com/dogtagpki/pki/wiki/Publishing-CRL-to-File-System
Expand Down Expand Up @@ -38,7 +41,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ca-publishing-crl-ldap-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
os:
required: true
type: string
db-image:
required: false
type: string

jobs:
# https://github.com/dogtagpki/pki/wiki/Publishing-CRL-to-LDAP-Server
Expand Down Expand Up @@ -38,7 +41,7 @@ jobs:
run: |
tests/bin/ds-container-create.sh ds
env:
IMAGE: ${{ needs.init.outputs.db-image }}
IMAGE: ${{ inputs.db-image }}
HOSTNAME: ds.example.com
PASSWORD: Secret.123

Expand Down
Loading

0 comments on commit cff43fe

Please sign in to comment.