Skip to content

chore(deps): bump cloud.google.com/go/errorreporting from 0.3.1 to 0.3.2 #117

chore(deps): bump cloud.google.com/go/errorreporting from 0.3.1 to 0.3.2

chore(deps): bump cloud.google.com/go/errorreporting from 0.3.1 to 0.3.2 #117

name: Deploy to staging
on:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
branches:
- main
jobs:
run-tests:
name: Run tests
uses: Informasjonsforvaltning/workflows/.github/workflows/coverage-go.yaml@main
with:
go_version: 1.23
coverage_file_path: ./coverage.txt
test_path: ./test
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
build-catalog-history-service:
name: Build query-cache when pull request is created
if: github.event.pull_request.draft == false
uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main
with:
app_name: catalog-history-service
environment: staging
build_env: true
build_env_name: BINARY
build_env_value: catalog-history-service
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
deploy:
name: Deploy to staging environment with reusable workflow
if: github.event.pull_request.draft == false
needs: [ run-tests, build-catalog-history-service ]
uses: Informasjonsforvaltning/workflows/.github/workflows/kustomize-deploy.yaml@main
with:
app_name: catalog-history-service
environment: staging
cluster: digdir-fdk-dev
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DIGDIR_FDK_AUTODEPLOY: ${{ secrets.DIGDIR_FDK_DEV_AUTODEPLOY }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}