From 3a223e48c44ffff7ffa44a2d0864f2750d5fe02f Mon Sep 17 00:00:00 2001 From: CI Tester Date: Wed, 31 Dec 2025 10:58:23 +0000 Subject: [PATCH 1/4] Add FastCI initial installation --- .github/workflows/accessTests.yml | 7 +++++++ .github/workflows/analysis.yml | 15 +++++++++++++++ .github/workflows/artifactoryTests.yml | 7 +++++++ .github/workflows/conanTests.yml | 7 +++++++ .github/workflows/distributionTests.yml | 6 ++++++ .github/workflows/dockerTests.yml | 6 ++++++ .github/workflows/evidenceTests.yml | 6 ++++++ .github/workflows/goTests.yml | 6 ++++++ .github/workflows/gradleTests.yml | 7 +++++++ .github/workflows/helmTests.yml | 7 +++++++ .github/workflows/lifecycleTests.yml | 7 +++++++ .github/workflows/mavenTests.yml | 7 +++++++ .github/workflows/npmTests.yml | 7 +++++++ .github/workflows/nugetTests.yml | 7 +++++++ .github/workflows/oidcTests.yml | 6 ++++++ .github/workflows/pluginsTests.yml | 7 +++++++ .github/workflows/podmanTests.yml | 6 ++++++ .github/workflows/pythonTests.yml | 7 +++++++ .github/workflows/scriptTests.yml | 6 ++++++ .github/workflows/transferTests.yml | 14 ++++++++++++++ 20 files changed, 148 insertions(+) diff --git a/.github/workflows/accessTests.yml b/.github/workflows/accessTests.yml index 36eebe8ad..03d5309bd 100644 --- a/.github/workflows/accessTests.yml +++ b/.github/workflows/accessTests.yml @@ -45,6 +45,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 79982e642..d18102956 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -21,6 +21,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - &fastci + name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -36,6 +43,8 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - *fastci + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -51,6 +60,8 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - *fastci + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -66,6 +77,8 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - *fastci + - name: Run ShellCheck uses: ludeeus/action-shellcheck@master with: @@ -79,6 +92,8 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - *fastci + - name: Check for uncommented replace instructions on JFrog dependencies run: | if grep -E '^[[:space:]]*replace[[:space:]]+github\.com/jfrog' go.mod; then diff --git a/.github/workflows/artifactoryTests.yml b/.github/workflows/artifactoryTests.yml index 76d797269..21ac7c399 100644 --- a/.github/workflows/artifactoryTests.yml +++ b/.github/workflows/artifactoryTests.yml @@ -45,6 +45,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/conanTests.yml b/.github/workflows/conanTests.yml index d2ef04dc1..d63dd1d61 100644 --- a/.github/workflows/conanTests.yml +++ b/.github/workflows/conanTests.yml @@ -40,6 +40,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/distributionTests.yml b/.github/workflows/distributionTests.yml index bbedbb6e9..04b2b73c0 100644 --- a/.github/workflows/distributionTests.yml +++ b/.github/workflows/distributionTests.yml @@ -32,5 +32,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Run Distribution tests run: go test -v github.com/jfrog/jfrog-cli --timeout 0 --test.distribution --jfrog.url=${{ secrets.PLATFORM_URL }} --jfrog.adminToken=${{ secrets.PLATFORM_ADMIN_TOKEN }} --jfrog.user=${{ secrets.PLATFORM_USER }} --ci.runId=${{ runner.os }}-distribution diff --git a/.github/workflows/dockerTests.yml b/.github/workflows/dockerTests.yml index fa20243a2..1e1a258c9 100644 --- a/.github/workflows/dockerTests.yml +++ b/.github/workflows/dockerTests.yml @@ -30,6 +30,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/evidenceTests.yml b/.github/workflows/evidenceTests.yml index 9b32109fd..64f31cf29 100644 --- a/.github/workflows/evidenceTests.yml +++ b/.github/workflows/evidenceTests.yml @@ -29,6 +29,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/goTests.yml b/.github/workflows/goTests.yml index 2d81be7c0..c1bd9e2d7 100644 --- a/.github/workflows/goTests.yml +++ b/.github/workflows/goTests.yml @@ -30,6 +30,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/gradleTests.yml b/.github/workflows/gradleTests.yml index bcbe8cab2..37db03a31 100644 --- a/.github/workflows/gradleTests.yml +++ b/.github/workflows/gradleTests.yml @@ -45,6 +45,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Java if: matrix.os.name != 'macos' uses: actions/setup-java@v5 diff --git a/.github/workflows/helmTests.yml b/.github/workflows/helmTests.yml index d145efd27..008074c8e 100644 --- a/.github/workflows/helmTests.yml +++ b/.github/workflows/helmTests.yml @@ -45,6 +45,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/lifecycleTests.yml b/.github/workflows/lifecycleTests.yml index e9b66c767..ce5c417a9 100644 --- a/.github/workflows/lifecycleTests.yml +++ b/.github/workflows/lifecycleTests.yml @@ -44,6 +44,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/mavenTests.yml b/.github/workflows/mavenTests.yml index ec769ead8..58abc5628 100644 --- a/.github/workflows/mavenTests.yml +++ b/.github/workflows/mavenTests.yml @@ -42,6 +42,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/npmTests.yml b/.github/workflows/npmTests.yml index 1c1b2c2c8..170dfd759 100644 --- a/.github/workflows/npmTests.yml +++ b/.github/workflows/npmTests.yml @@ -42,6 +42,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Install npm if: matrix.os.name != 'macos' uses: actions/setup-node@v5 diff --git a/.github/workflows/nugetTests.yml b/.github/workflows/nugetTests.yml index 8105ba37f..dc704be77 100644 --- a/.github/workflows/nugetTests.yml +++ b/.github/workflows/nugetTests.yml @@ -44,6 +44,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + # Prepare ubuntu by installing Mono and handle dotnet installation issues. - name: Prepare ubuntu if: matrix.os.name == 'ubuntu' diff --git a/.github/workflows/oidcTests.yml b/.github/workflows/oidcTests.yml index 3be3dd042..3e0977da9 100644 --- a/.github/workflows/oidcTests.yml +++ b/.github/workflows/oidcTests.yml @@ -48,6 +48,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Build CLI run: | if [ "$RUNNER_OS" == "Windows" ]; then diff --git a/.github/workflows/pluginsTests.yml b/.github/workflows/pluginsTests.yml index 72f301554..a609f3790 100644 --- a/.github/workflows/pluginsTests.yml +++ b/.github/workflows/pluginsTests.yml @@ -42,6 +42,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/podmanTests.yml b/.github/workflows/podmanTests.yml index 97ae8a746..c51148ba4 100644 --- a/.github/workflows/podmanTests.yml +++ b/.github/workflows/podmanTests.yml @@ -30,6 +30,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/pythonTests.yml b/.github/workflows/pythonTests.yml index 1c7b81d05..ac635e67c 100644 --- a/.github/workflows/pythonTests.yml +++ b/.github/workflows/pythonTests.yml @@ -43,6 +43,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + # Due to a bug in Python 3.12.0 we temporarily use version 3.11.5 - name: Setup Python3 if: matrix.os.name != 'macos' diff --git a/.github/workflows/scriptTests.yml b/.github/workflows/scriptTests.yml index b86379809..7b6fec301 100644 --- a/.github/workflows/scriptTests.yml +++ b/.github/workflows/scriptTests.yml @@ -50,6 +50,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main diff --git a/.github/workflows/transferTests.yml b/.github/workflows/transferTests.yml index 40cf92b8a..e32957b2d 100644 --- a/.github/workflows/transferTests.yml +++ b/.github/workflows/transferTests.yml @@ -41,6 +41,14 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - &fastci + name: Setup FastCI + if: matrix.os.name != 'macos' + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache if: matrix.os.name != 'macos' uses: jfrog/.github/actions/install-go-with-cache@main @@ -81,6 +89,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main From c83285bf1f8820c0591e435fd5b742cc285bfe65 Mon Sep 17 00:00:00 2001 From: CI Tester Date: Wed, 31 Dec 2025 14:09:30 +0000 Subject: [PATCH 2/4] Enter --- .github/workflows/evidenceTests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/evidenceTests.yml b/.github/workflows/evidenceTests.yml index 64f31cf29..f4b618fe8 100644 --- a/.github/workflows/evidenceTests.yml +++ b/.github/workflows/evidenceTests.yml @@ -35,6 +35,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main From 3110aa035c578daec2426868283ce2bfb9726f0d Mon Sep 17 00:00:00 2001 From: CI Tester Date: Wed, 31 Dec 2025 16:01:56 +0000 Subject: [PATCH 3/4] Removed anchors --- .github/workflows/analysis.yml | 27 +++++++++++++++++++++------ .github/workflows/transferTests.yml | 3 +-- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index d18102956..e664f3663 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -21,8 +21,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - &fastci - name: Setup FastCI + - name: Setup FastCI uses: jfrog-fastci/fastci@v0 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -43,7 +42,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - *fastci + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -60,7 +63,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - *fastci + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -77,7 +84,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - *fastci + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Run ShellCheck uses: ludeeus/action-shellcheck@master @@ -92,7 +103,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - *fastci + - name: Setup FastCI + uses: jfrog-fastci/fastci@v0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Check for uncommented replace instructions on JFrog dependencies run: | diff --git a/.github/workflows/transferTests.yml b/.github/workflows/transferTests.yml index e32957b2d..84a7d31a3 100644 --- a/.github/workflows/transferTests.yml +++ b/.github/workflows/transferTests.yml @@ -41,8 +41,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - &fastci - name: Setup FastCI + - name: Setup FastCI if: matrix.os.name != 'macos' uses: jfrog-fastci/fastci@v0 with: From 586e0e1461c7a44808cd7cca5cf285c1556d2100 Mon Sep 17 00:00:00 2001 From: CI Tester Date: Thu, 1 Jan 2026 13:39:07 +0000 Subject: [PATCH 4/4] Enable cache optimization --- .github/workflows/dockerTests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dockerTests.yml b/.github/workflows/dockerTests.yml index 1e1a258c9..28ff6a34d 100644 --- a/.github/workflows/dockerTests.yml +++ b/.github/workflows/dockerTests.yml @@ -35,6 +35,7 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + cache_enabled_optimizations: docker_build_trace_optimization - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main