Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Update workflow running containers to ubuntu-24.04 (#5483)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Update actions/cache to v4 (#5486)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Update setup-helm version to v4 (#5487)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Update codeql version to v3 (#5488)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Update pipe-cd/actions-gh-release to version v2.6.0 (#5489)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Update softprops/action-gh-release to version v2.2.1 (#5490)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

---------

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>
  • Loading branch information
Warashi and khanhtc1202 authored Jan 20, 2025
1 parent 1f80828 commit cd3c295
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 37 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
go:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -29,7 +29,7 @@ jobs:
run: make build/go

web:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v2
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -51,13 +51,13 @@ jobs:
run: make build/web

chart:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install helm
uses: Azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
- name: Package helm charts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
tool:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
image:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry_pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
type: string
jobs:
tool:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-butler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
review:
if: startsWith(github.event.comment.body, '/review')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: ca-dp/code-butler@v1
with:
Expand All @@ -21,7 +21,7 @@ jobs:
model: gpt-4-1106-preview
chat:
if: startsWith(github.event.comment.body, '/chat')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: ca-dp/code-butler@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
analyze:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand All @@ -16,9 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
code:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/labeler@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
go:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: golangci-lint
Expand All @@ -26,7 +26,7 @@ jobs:
golangci_lint_version: ${{ env.GOLANGCI_LINT_VERSION }}

web:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v2
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:

jobs:
gh-release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pipe-cd/actions-gh-release@v2.4.0
- uses: pipe-cd/actions-gh-release@v2.6.0
with:
release_file: 'RELEASE'
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/publish_binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ env:

jobs:
gh_release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: echo "not implemented"

binary:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: gh_release
permissions:
contents: write
Expand All @@ -42,7 +42,7 @@ jobs:
make build/go MOD=pipectl BUILD_OS=darwin BUILD_ARCH=arm64 BIN_SUFFIX=_${{ env.PIPECD_VERSION }}_darwin_arm64
- name: Publish binary artifacts
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 #v0.1.14
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda #v2.2.1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish_image_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
artifacts:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:

# Building and pushing Helm charts.
- name: Install helm
uses: Azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
- name: Login to OCI using Helm
Expand All @@ -148,7 +148,7 @@ jobs:
data: ${{ env.PIPECD_VERSION }}

release-quickstart-manifests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: artifacts
# ignore release candidates
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-rc')
Expand All @@ -158,7 +158,7 @@ jobs:
steps:
# setup tools and repositories
- name: Install helm
uses: Azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
site:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

# Building and pushing Helm charts.
- name: Install helm
uses: Azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
- name: Login to OCI using Helm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
tool:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
packages: write
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/stale@v8
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
go:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -32,7 +32,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

web:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v2
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -54,7 +54,7 @@ jobs:
run: make test/web

integration:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
tool:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
updateContributors:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- run: |
Expand Down

0 comments on commit cd3c295

Please sign in to comment.