Skip to content

Bump junitJupiterVersion from 5.10.2 to 5.10.3 #290

Bump junitJupiterVersion from 5.10.2 to 5.10.3

Bump junitJupiterVersion from 5.10.2 to 5.10.3 #290

Workflow file for this run

name: "Build and deploy aivia"
on:
push:
paths-ignore:
- "*.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: "build"
runs-on: "ubuntu-latest"
permissions:
contents: read
id-token: write
steps:
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # ratchet:actions/checkout@v3
- uses: "gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda" # ratchet:gradle/actions/wrapper-validation@v3
- uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # ratchet:actions/cache@v3
with:
"path": "~/.gradle/caches"
"key": "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}"
"restore-keys": "${{ runner.os }}-gradle-"
- name: Install cosign
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # ratchet:sigstore/cosign-installer@main
with:
cosign-release: 'v2.2.1'
- name: Verify distroless base image
run: cosign verify --certificate-identity "keyless@distroless.iam.gserviceaccount.com" --certificate-oidc-issuer "https://accounts.google.com" gcr.io/distroless/java17-debian11:nonroot
- uses: "actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9" # ratchet:actions/setup-java@v3
with:
"java-version": "17"
"distribution": "temurin"
- name: "compile and run tests"
run: "./gradlew build"
- uses: nais/platform-build-push-sign@main # ratchet:exclude
id: build-push-sign
with:
name: aivia
google_service_account: gh-aivia
push: ${{ github.actor != 'dependabot[bot]' && github.ref == 'refs/heads/main' }}
workload_identity_provider: ${{ secrets.NAIS_IO_WORKLOAD_IDENTITY_PROVIDER }}
outputs:
image: "${{ steps.build-push-sign.outputs.tag }}"
deploy:
name: "deploy for testing"
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build
steps:
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # ratchet:actions/checkout@v3
- uses: nais/deploy/actions/deploy@v2 # ratchet:exclude
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: src/test/resources/aiven-topics.yaml,src/test/resources/configmap.yaml,nais/nais.yaml
VAR: image=${{ needs.build.outputs.image }}