Skip to content

Commit 90ef545

Browse files
authored
Update deps (#16)
1 parent ed76606 commit 90ef545

File tree

4 files changed

+30
-64
lines changed

4 files changed

+30
-64
lines changed
Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2024 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
name: 'Draft release'
162

173
on:
@@ -29,10 +15,8 @@ on:
2915

3016
jobs:
3117
draft-release:
32-
name: 'Draft release'
33-
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v0'
18+
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude
3419
with:
3520
version_strategy: '${{ github.event.inputs.version_strategy }}'
36-
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
3721
secrets:
3822
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/integration.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,33 +38,33 @@ jobs:
3838
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
3939
runs-on: 'ubuntu-latest'
4040
steps:
41-
- uses: 'actions/checkout@v4'
41+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
4242

43-
- uses: 'google-github-actions/auth@v2'
44-
with:
45-
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
43+
- uses: 'google-github-actions/auth@v2' # ratchet:exclude
44+
with:
45+
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
4646

47-
# The existing gke-deploy CLI will succeed or fail with logs with troubleshooting logs
48-
# Please refer to https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gke-deploy
49-
# for more information.
50-
- name: 'deploy-gke'
51-
uses: './'
52-
with:
53-
image: '${{ vars.IMAGE }}'
54-
app_name: '${{ vars.APP_NAME }}'
55-
region: '${{ vars.CLUSTER_REGION }}'
56-
cluster_name: '${{ vars.CLUSTER_NAME }}'
57-
project_id: '${{ vars.PROJECT_ID }}'
58-
namespace: '${{ vars.NAMESPACE }}'
47+
# The existing gke-deploy CLI will succeed or fail with logs with troubleshooting logs
48+
# Please refer to https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gke-deploy
49+
# for more information.
50+
- name: 'deploy-gke'
51+
uses: './'
52+
with:
53+
image: '${{ vars.IMAGE }}'
54+
app_name: '${{ vars.APP_NAME }}'
55+
region: '${{ vars.CLUSTER_REGION }}'
56+
cluster_name: '${{ vars.CLUSTER_NAME }}'
57+
project_id: '${{ vars.PROJECT_ID }}'
58+
namespace: '${{ vars.NAMESPACE }}'
5959

60-
- name: 'get credentials'
61-
uses: 'google-github-actions/get-gke-credentials@v2'
62-
with:
63-
cluster_name: '${{ vars.CLUSTER_NAME }}'
64-
location: '${{ vars.CLUSTER_REGION }}'
65-
project_id: '${{ vars.PROJECT_ID }}'
60+
- name: 'get credentials'
61+
uses: 'google-github-actions/get-gke-credentials@v2' # ratchet:exclude
62+
with:
63+
cluster_name: '${{ vars.CLUSTER_NAME }}'
64+
location: '${{ vars.CLUSTER_REGION }}'
65+
project_id: '${{ vars.PROJECT_ID }}'
6666

67-
- name: 'get-deployment'
68-
shell: bash
69-
run: |
70-
kubectl get deployment -n ${{ vars.NAMESPACE }}
67+
- name: 'get-deployment'
68+
shell: bash
69+
run: |
70+
kubectl get deployment -n ${{ vars.NAMESPACE }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: 'Checkout'
19-
uses: 'actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' # ratchet:actions/checkout@v4
19+
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
2020

2121
- name: 'Publish'
2222
id: 'publish'
23-
uses: 'actions/publish-immutable-action@4b1aa5c1cde5fedc80d52746c9546cb5560e5f53' # ratchet:actions/[email protected].3
23+
uses: 'actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978' # ratchet:actions/[email protected].4
2424
with:
2525
github-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/release.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2024 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
name: 'Release'
162

173
on:
@@ -22,10 +8,6 @@ on:
228

239
jobs:
2410
release:
25-
if: |-
26-
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
27-
name: 'Release'
28-
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
29-
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows\#using-inputs-and-secrets-in-a-reusable-workflow
11+
uses: 'google-github-actions/.github/.github/workflows/release.yml@v3' # ratchet:exclude
3012
secrets:
3113
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

0 commit comments

Comments
 (0)