diff --git a/.github/workflows/helm_release.yaml b/.github/workflows/helm_release.yaml index 309131267..be42cd6ef 100644 --- a/.github/workflows/helm_release.yaml +++ b/.github/workflows/helm_release.yaml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update PATH run: | diff --git a/.github/workflows/kind_e2e_tests.yaml b/.github/workflows/kind_e2e_tests.yaml index 62d4289cd..8036522b6 100644 --- a/.github/workflows/kind_e2e_tests.yaml +++ b/.github/workflows/kind_e2e_tests.yaml @@ -42,11 +42,11 @@ jobs: outputs: image_tag: ${{ steps.parse_image_tag.outputs.image_tag }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Parse image version id: parse_image_tag @@ -55,7 +55,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build image id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . @@ -66,7 +66,7 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache - name: Upload k8ssandra-operator image - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8ssandra-operator path: /tmp/k8ssandra-operator.tar @@ -122,14 +122,14 @@ jobs: run: | sudo rm -rf /usr/local/lib/android sudo rm -rf /usr/share/dotnet - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' cache: true @@ -142,9 +142,9 @@ jobs: - name: Install Kind run: go get sigs.k8s.io/kind - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Download k8ssandra-operator image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: k8ssandra-operator path: /tmp @@ -169,7 +169,7 @@ jobs: echo "uploaddir_name=$uploaddir_name" >> $GITHUB_ENV - name: Archive k8s logs if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8s-logs-${{ env.uploaddir_name }} path: ./build/test diff --git a/.github/workflows/kind_multicluster_e2e_tests.yaml b/.github/workflows/kind_multicluster_e2e_tests.yaml index 3f0d10741..9d6e426d1 100644 --- a/.github/workflows/kind_multicluster_e2e_tests.yaml +++ b/.github/workflows/kind_multicluster_e2e_tests.yaml @@ -23,20 +23,20 @@ jobs: image_tag: ${{ steps.parse_image_tag.outputs.image_tag }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Parse image version id: parse_image_tag run: echo "image_tag=$(yq eval '.images[0].newTag' config/deployments/default/kustomization.yaml)" >> $GITHUB_OUTPUT - name: Set up Docker buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Build image id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . @@ -47,7 +47,7 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache - name: Upload k8ssandra-operator image - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8ssandra-operator path: /tmp/k8ssandra-operator.tar @@ -91,14 +91,14 @@ jobs: run: | sudo rm -rf /usr/local/lib/android sudo rm -rf /usr/share/dotnet - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' cache: true @@ -111,9 +111,9 @@ jobs: - name: Install Kind run: go get sigs.k8s.io/kind - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Download k8ssandra-operator image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: k8ssandra-operator path: /tmp @@ -138,7 +138,7 @@ jobs: echo "uploaddir_name=$uploaddir_name" >> $GITHUB_ENV - name: Archive k8s logs if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8s-logs-${{ env.uploaddir_name }} path: ./build/test diff --git a/.github/workflows/kind_multicluster_isolated_control_plane_e2e_tests.yaml b/.github/workflows/kind_multicluster_isolated_control_plane_e2e_tests.yaml index 22ee7e005..9b923e68b 100644 --- a/.github/workflows/kind_multicluster_isolated_control_plane_e2e_tests.yaml +++ b/.github/workflows/kind_multicluster_isolated_control_plane_e2e_tests.yaml @@ -22,20 +22,20 @@ jobs: image_tag: ${{ steps.parse_image_tag.outputs.image_tag }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Parse image version id: parse_image_tag run: echo "image_tag=$(yq eval '.images[0].newTag' config/deployments/default/kustomization.yaml)" >> $GITHUB_OUTPUT - name: Set up Docker buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Build image id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . @@ -46,7 +46,7 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache - name: Upload k8ssandra-operator image - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8ssandra-operator path: /tmp/k8ssandra-operator.tar @@ -69,14 +69,14 @@ jobs: run: | sudo rm -rf /usr/local/lib/android sudo rm -rf /usr/share/dotnet - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' cache: true @@ -89,9 +89,9 @@ jobs: - name: Install Kind run: go get sigs.k8s.io/kind - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Download k8ssandra-operator image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: k8ssandra-operator path: /tmp @@ -116,7 +116,7 @@ jobs: echo "uploaddir_name=$uploaddir_name" >> $GITHUB_ENV - name: Archive k8s logs if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8s-logs-${{ env.uploaddir_name }} path: ./build/test diff --git a/.github/workflows/kuttl_tests.yaml b/.github/workflows/kuttl_tests.yaml index 2be546eb8..e9e7ac738 100644 --- a/.github/workflows/kuttl_tests.yaml +++ b/.github/workflows/kuttl_tests.yaml @@ -24,20 +24,20 @@ jobs: image_tag: ${{ steps.parse_image_tag.outputs.image_tag }} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Parse image version id: parse_image_tag run: echo "image_tag=$(yq eval '.images[0].newTag' config/deployments/default/kustomization.yaml)" >> $GITHUB_OUTPUT - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Build Docker image id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . @@ -48,7 +48,7 @@ jobs: cache-to: type=local,dest=/tmp/.buildx-cache outputs: type=docker,dest=/tmp/k8ssandra-k8ssandra-operator.tar - name: Upload k8ssandra-operator image - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: k8ssandra-operator path: /tmp/k8ssandra-k8ssandra-operator.tar @@ -65,11 +65,11 @@ jobs: - test-all-deployments steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Set up Go uses: actions/setup-go@v3 @@ -79,7 +79,7 @@ jobs: - name: Kind kube-proxy issue workaround run: sudo sysctl net/netfilter/nf_conntrack_max=524288 - name: Download k8ssandra-operator image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: k8ssandra-operator path: /tmp diff --git a/.github/workflows/publish-docs-staging.yaml b/.github/workflows/publish-docs-staging.yaml index a25af0178..85e337484 100644 --- a/.github/workflows/publish-docs-staging.yaml +++ b/.github/workflows/publish-docs-staging.yaml @@ -13,7 +13,7 @@ jobs: run: working-directory: ./docs steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 name: Checkout code w/ submodules with: submodules: recursive diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index 594cd1dd3..3781c1e49 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -15,7 +15,7 @@ jobs: run: working-directory: ./docs steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 name: Checkout code w/ submodules with: submodules: recursive diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81b42ccae..99e00af60 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' cache: true @@ -23,7 +23,7 @@ jobs: with: platforms: 'arm64,arm' - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -38,7 +38,7 @@ jobs: echo "TARGET_VERSION=$(echo ${GITHUB_REF#refs/tags/} | awk '{print substr($0,2)}')" >> $GITHUB_ENV - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . diff --git a/.github/workflows/test_and_build_image.yaml b/.github/workflows/test_and_build_image.yaml index 0892b4292..d0e7f2025 100644 --- a/.github/workflows/test_and_build_image.yaml +++ b/.github/workflows/test_and_build_image.yaml @@ -17,14 +17,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' cache: true @@ -56,13 +56,13 @@ jobs: if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 with: platforms: 'arm64,arm' - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -86,7 +86,7 @@ jobs: echo "TAGS=k8ssandra/k8ssandra-operator:${{ steps.vars.outputs.sha_short }},k8ssandra/k8ssandra-operator:${release_prefix}-latest" >> $GITHUB_ENV - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . diff --git a/.github/workflows/version_tests.yaml b/.github/workflows/version_tests.yaml index 4d3344cc2..a2a40f130 100644 --- a/.github/workflows/version_tests.yaml +++ b/.github/workflows/version_tests.yaml @@ -24,20 +24,20 @@ jobs: image_tag: ${{ steps.parse_image_tag.outputs.image_tag }} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Parse image version id: parse_image_tag run: echo "image_tag=$(yq eval '.images[0].newTag' config/deployments/default/kustomization.yaml)" >> $GITHUB_OUTPUT - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Build Docker image id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: file: Dockerfile context: . @@ -69,21 +69,21 @@ jobs: - test-cassandra-versions steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'pull_request' - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' cache: true - name: Kind kube-proxy issue workaround run: sudo sysctl net/netfilter/nf_conntrack_max=524288 - name: Download k8ssandra-operator image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: k8ssandra-operator path: /tmp