Skip to content

Commit 6cac704

Browse files
authored
Cherry pick of #2324 #2336 #2337 into release-0.17 branch (#2351)
* Update outdated actions (#2324)
1 parent f0acce7 commit 6cac704

15 files changed

+35
-35
lines changed

.github/workflows/build-and-publish-images.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
runs-on: ubuntu-22.04
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
- name: Docker Login
3131
# Trigger workflow only for kubeflow/katib repository with specific branch (master, release-.*) or tag (v.*).
3232
if: >-
3333
github.repository == 'kubeflow/katib' &&
3434
(github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
35-
uses: docker/login-action@v2
35+
uses: docker/login-action@v3
3636
with:
3737
username: ${{ secrets.DOCKERHUB_USERNAME }}
3838
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/e2e-test-darts-cifar10.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
timeout-minutes: 120
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Test Env
2121
uses: ./.github/workflows/template-setup-e2e-test
2222
with:
2323
kubernetes-version: ${{ matrix.kubernetes-version }}
24-
python-version: "3.7"
24+
python-version: "3.11"
2525

2626
- name: Run e2e test with ${{ matrix.experiments }} experiments
2727
uses: ./.github/workflows/template-e2e-test

.github/workflows/e2e-test-enas-cifar10.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
timeout-minutes: 120
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Test Env
2121
uses: ./.github/workflows/template-setup-e2e-test

.github/workflows/e2e-test-pytorch-mnist.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
timeout-minutes: 120
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Test Env
2121
uses: ./.github/workflows/template-setup-e2e-test

.github/workflows/e2e-test-simple-pbt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
timeout-minutes: 120
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Test Env
2121
uses: ./.github/workflows/template-setup-e2e-test

.github/workflows/e2e-test-tf-mnist-with-summaries.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
timeout-minutes: 120
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Test Env
2121
uses: ./.github/workflows/template-setup-e2e-test

.github/workflows/e2e-test-ui-random-search-postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 120
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Setup Test Env
1919
uses: ./.github/workflows/template-setup-e2e-test

.github/workflows/template-publish-image/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,22 @@ runs:
3636
df -h
3737
3838
- name: Set up QEMU
39-
uses: docker/setup-qemu-action@v2
39+
uses: docker/setup-qemu-action@v3
4040

4141
- name: Set Up Docker Buildx
42-
uses: docker/setup-buildx-action@v2
42+
uses: docker/setup-buildx-action@v3
4343

4444
- name: Add Docker Tags
4545
id: meta
46-
uses: docker/metadata-action@v4
46+
uses: docker/metadata-action@v5
4747
with:
4848
images: ${{ inputs.image }}
4949
tags: |
5050
type=raw,latest
5151
type=sha,prefix=v1beta1-
5252
5353
- name: Build and Push
54-
uses: docker/build-push-action@v3
54+
uses: docker/build-push-action@v5
5555
with:
5656
context: .
5757
file: ${{ inputs.dockerfile }}

.github/workflows/template-setup-e2e-test/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ runs:
3232
df -h
3333
3434
- name: Setup kubectl
35-
uses: azure/setup-kubectl@v3
35+
uses: azure/setup-kubectl@v4
3636
with:
3737
version: ${{ inputs.kubernetes-version }}
3838

3939
- name: Setup Minikube Cluster
40-
uses: medyagh/[email protected].14
40+
uses: medyagh/[email protected].16
4141
with:
4242
network-plugin: cni
4343
cni: flannel
@@ -47,10 +47,10 @@ runs:
4747
start-args: --wait-timeout=120s
4848

4949
- name: Setup Docker Buildx
50-
uses: docker/setup-buildx-action@v2
50+
uses: docker/setup-buildx-action@v3
5151

5252
- name: Setup Python
53-
uses: actions/setup-python@v4
53+
uses: actions/setup-python@v5
5454
with:
5555
python-version: ${{ inputs.python-version }}
5656

.github/workflows/test-go.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
working-directory: ${{ env.GOPATH }}/src/github.com/kubeflow/katib
2121
steps:
2222
- name: Check out code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
path: ${{ env.GOPATH }}/src/github.com/kubeflow/katib
2626

2727
- name: Setup Go
28-
uses: actions/setup-go@v3
28+
uses: actions/setup-go@v5
2929
with:
3030
go-version-file: ${{ env.GOPATH }}/src/github.com/kubeflow/katib/go.mod
3131

@@ -42,12 +42,12 @@ jobs:
4242
working-directory: ${{ env.GOPATH }}/src/github.com/kubeflow/katib
4343
steps:
4444
- name: Check out code
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
path: ${{ env.GOPATH }}/src/github.com/kubeflow/katib
4848

4949
- name: Setup Go
50-
uses: actions/setup-go@v3
50+
uses: actions/setup-go@v5
5151
with:
5252
go-version-file: ${{ env.GOPATH }}/src/github.com/kubeflow/katib/go.mod
5353

0 commit comments

Comments
 (0)