diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a08f67906..5cdfee926 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -49,3 +49,8 @@ updates: schedule: interval: "daily" open-pull-requests-limit: 5 + groups: + artifact-actions: + patterns: + - "actions/upload-artifact" + - "actions/download-artifact" diff --git a/.github/workflows/golicense.yml b/.github/workflows/golicense.yml index e89de8f6f..44fb664cf 100644 --- a/.github/workflows/golicense.yml +++ b/.github/workflows/golicense.yml @@ -61,7 +61,7 @@ jobs: ./ci/golicense/run.sh ./theia-bins ./license-reports - name: Upload licensing information if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: licenses.deps path: license-reports/ALL.deps.txt diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index 5a1918be9..3a79990e1 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -40,7 +40,7 @@ jobs: - name: Save Spark jobs image to tarball run: docker save -o spark-jobs.tar antrea/theia-spark-jobs - name: Upload Spark jobs image for subsequent jobs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: spark-jobs path: spark-jobs.tar @@ -57,7 +57,7 @@ jobs: - name: Save ClickHouse monitor image to tarball run: docker save -o clickhouse-monitor.tar antrea/theia-clickhouse-monitor - name: Upload ClickHouse monitor image for subsequent jobs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: clickhouse-monitor path: clickhouse-monitor.tar @@ -74,7 +74,7 @@ jobs: - name: Save ClickHouse server image to tarball run: docker save -o clickhouse-server.tar antrea/theia-clickhouse-server - name: Upload ClickHouse server image for subsequent jobs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: clickhouse-server path: clickhouse-server.tar @@ -91,7 +91,7 @@ jobs: - name: Save Theia Manager image to tarball run: docker save -o theia-manager.tar antrea/theia-manager - name: Upload Theia Manager image for subsequent jobs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: theia-manager path: theia-manager.tar @@ -122,19 +122,19 @@ jobs: with: go-version-file: 'go.mod' - name: Download Spark jobs images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: spark-jobs - name: Download ClickHouse monitor images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-monitor - name: Download ClickHouse server images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-server - name: Download Theia Manager images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: theia-manager - name: Load Theia image @@ -174,7 +174,7 @@ jobs: flags: kind-e2e-tests name: codecov-kind-e2e-test - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: e2e-kind-fa.tar.gz @@ -204,11 +204,11 @@ jobs: with: go-version-file: 'go.mod' - name: Download ClickHouse monitor images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-monitor - name: Download ClickHouse server images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-server - name: Load Theia image @@ -242,7 +242,7 @@ jobs: flags: kind-multi-cluster-e2e-tests name: codecov-multi-cluster-kind-e2e-test - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: e2e-kind-multi-cluster.tar.gz @@ -277,19 +277,19 @@ jobs: with: go-version-file: 'go.mod' - name: Download Spark jobs images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: spark-jobs - name: Download ClickHouse monitor images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-monitor - name: Download ClickHouse server images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-server - name: Download Theia Manager images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: theia-manager - name: Load Theia image @@ -321,7 +321,7 @@ jobs: if: ${{ failure() }} run: tar -czf log.tar.gz log - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: upgrade-from-theia-version-n-1.tar.gz @@ -353,11 +353,11 @@ jobs: with: go-version-file: 'go.mod' - name: Download ClickHouse monitor images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-monitor - name: Download ClickHouse server images from previous jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: clickhouse-server - name: Load Theia clickhouse images @@ -383,7 +383,7 @@ jobs: if: ${{ failure() }} run: tar -czf log.tar.gz log - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: migrate-clickhouse-from-theia-version-n-1.tar.gz diff --git a/.github/workflows/trivy_scan.yml b/.github/workflows/trivy_scan.yml index 72d5f4005..f07af957c 100644 --- a/.github/workflows/trivy_scan.yml +++ b/.github/workflows/trivy_scan.yml @@ -61,7 +61,7 @@ jobs: format: 'table' output: 'trivy.${{ matrix.image }}.${{ matrix.version }}.txt' - name: Upload Trivy scan report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: trivy-scan-reports path: trivy.*.txt