Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the github group with 5 updates #1881

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: gradle

- name: Setup Gradle to generate and submit dependency graphs
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
dependency-graph: generate-and-submit

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
run: echo "IMAGE=${BASE_IMAGE}:${TAG}" >> $GITHUB_ENV

- name: Lukk gamle issues
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Opprett deployment issue
id: createdeployissue
if: success()
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -102,7 +102,7 @@ jobs:
});

- name: Deploy til preprod
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-fss
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
cluster: [dev-fss, prod-fss]
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: ${{ matrix.cluster }}
RESOURCE: nais/alerts/alert-manager.yml
VAR: cluster=${{ matrix.cluster }},slack_channel=${{ matrix.cluster == 'prod-fss' && '#k9-los-alerts' || '#k9-los-alerts-dev' }}
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: ${{ matrix.cluster }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
run: echo "IMAGE=${BASE_IMAGE}:${TAG}" >> $GITHUB_ENV

- name: Deploy til preprod
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-fss
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Slash command dispatch
uses: peter-evans/slash-command-dispatch@v3.0.1
uses: peter-evans/slash-command-dispatch@v4.0.0
with:
token: ${{ secrets.LOS_TOKEN }}
commands: promote
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-gcp
VAR: kafka-pool=nav-dev
RESOURCE: nais/kafka/produksjonsstyring-k9sak.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-gcp
VAR: kafka-pool=nav-dev
RESOURCE: nais/kafka/produksjonsstyring-k9punsj.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-gcp
VAR: kafka-pool=nav-dev
RESOURCE: nais/kafka/aapen-k9statistikk-behandling-v2.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-gcp
VAR: kafka-pool=nav-dev
RESOURCE: nais/kafka/aapen-k9statistikk-sak-v2.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: dev-gcp
Expand All @@ -50,31 +50,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: prod-gcp
VAR: kafka-pool=nav-prod
RESOURCE: nais/kafka/produksjonsstyring-k9sak.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: prod-gcp
VAR: kafka-pool=nav-prod
RESOURCE: nais/kafka/produksjonsstyring-k9punsj.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: prod-gcp
VAR: kafka-pool=nav-prod
RESOURCE: nais/kafka/oppgavemeldinger-klage-til-los.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: prod-gcp
VAR: kafka-pool=nav-prod
RESOURCE: nais/kafka/aapen-k9statistikk-behandling-v2.yml
- uses: nais/deploy/actions/deploy@v1
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: prod-gcp
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Henter informasjon fra issuet
id: issue_comment
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
github.rest.issues.get( {
Expand All @@ -43,15 +43,15 @@ jobs:
ref: ${{ steps.issue_comment.outputs.sha }}

- name: Promoter til cluster og namespace
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
CLUSTER: ${{ env.CLUSTER }}
RESOURCE: nais/${{ env.CLUSTER }}.yml

- name: Oppdater kommentar med deployment status ved feil
if: failure()
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const issue = { owner: context.issue.owner,
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Oppdater kommentar med deployment status
if: success()
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const issue = { owner: context.issue.owner,
Expand All @@ -81,7 +81,7 @@ jobs:
echo "COMMIT_SHA=$(git rev-parse ${{ env.TAG }})" >> $GITHUB_ENV
- name: Tagg prodsatt commit
if: success() && env.CLUSTER == 'prod-fss'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down