Skip to content

Added .spec.caID validation #102

Added .spec.caID validation

Added .spec.caID validation #102

Workflow file for this run

name: e2e
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
go-versions:
name: "lookup go versions"
runs-on: ubuntu-latest
outputs:
go-mod-version: ${{ steps.versions.outputs.go-mod-version }}
steps:
- uses: actions/checkout@v4
- uses: arnested/go-version-action@v1
id: versions
build-image:
name: "Build ncm-issuer image"
runs-on: ubuntu-latest
needs: go-versions
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go version
- name: "Build ncm-issuer image"
run: |
make docker-build
docker save ncm-issuer > ncm-issuer-image.tar
echo "ncm-issuer image built and saved to ncm-issuer-image.tar"
- name: "Upload ncm-issuer image"
uses: actions/upload-artifact@v4
with:
name: ncm-issuer-image
path: ncm-issuer-image.tar
retention-days: 1
clientauth:
name: "clientauth test"
needs: [go-versions, build-image]
uses: ./.github/workflows/clientauth-test.yml
secrets: inherit
with:
go-version: ${{ fromJSON(needs.go-versions.outputs.go-mod-version) }}
image-artifact-name: ncm-issuer-image
caname-id:
name: "ca name/id tests"
needs: [go-versions, build-image]
uses: ./.github/workflows/caname-id-test.yml
secrets: inherit
with:
go-version: ${{ fromJSON(needs.go-versions.outputs.go-mod-version) }}
image-artifact-name: ncm-issuer-image
signer:
name: "signer test"
needs: [go-versions, build-image]
uses: ./.github/workflows/signer-tests.yml
secrets: inherit
with:
go-version: ${{ fromJSON(needs.go-versions.outputs.go-mod-version) }}
image-artifact-name: ncm-issuer-image
pkey:
name: "pkey tests"
needs: [go-versions, build-image]
uses: ./.github/workflows/pkey-tests.yml
secrets: inherit
with:
go-version: ${{ fromJSON(needs.go-versions.outputs.go-mod-version) }}
image-artifact-name: ncm-issuer-image
san:
name: "san test"
needs: [go-versions, build-image]
uses: ./.github/workflows/san-test.yml
secrets: inherit
with:
go-version: ${{ fromJSON(needs.go-versions.outputs.go-mod-version) }}
image-artifact-name: ncm-issuer-image