From 00054e9f059edd73f3ab5cd37392e5540d4dfcc8 Mon Sep 17 00:00:00 2001 From: Miguel Martinez Date: Sun, 13 Apr 2025 19:17:00 +0200 Subject: [PATCH] chore: update download cli link Signed-off-by: Miguel Martinez --- .github/workflows/release.yaml | 16 ++++++++-------- .../docs/getting-started/attestation-crafting.md | 2 +- docs/docs/getting-started/installation.mdx | 8 ++++---- docs/docs/quickstart.mdx | 2 +- docs/examples/ci-workflows/github.yaml | 2 +- docs/examples/ci-workflows/gitlab.yaml | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4f4655529..beb7b3c9f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Install Chainloop run: | - curl -sfL https://docs.chainloop.dev/install.sh | bash -s + curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s - name: Initialize Attestation id: init_attestation @@ -61,7 +61,7 @@ jobs: - name: Install Chainloop run: | - curl -sfL https://docs.chainloop.dev/install.sh | bash -s + curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -112,11 +112,11 @@ jobs: # exclude latest tag if [[ $entry != *latest ]]; then material_name="$(echo $entry | sed 's#.*/##')" - + syft -o cyclonedx-json=/tmp/sbom-$material_name.cyclonedx.json $entry chainloop attestation add --value $entry --kind CONTAINER_IMAGE --attestation-id ${{ env.ATTESTATION_ID }} chainloop attestation add --value /tmp/sbom-$material_name.cyclonedx.json --kind SBOM_CYCLONEDX_JSON --attestation-id ${{ env.ATTESTATION_ID }} - + # Upload the SBOM to the release gh release upload ${{ github.ref_name }} /tmp/sbom-$material_name.cyclonedx.json --clobber fi @@ -178,10 +178,10 @@ jobs: - name: Include source code on attestation run: | - # This needs to run AFTER goreleaser to make sure the source code is available + # This needs to run AFTER goreleaser to make sure the source code is available - gh release download ${{ github.ref_name }} -A tar.gz -O /tmp/source-code.tar.gz - chainloop attestation add --name source-code --value /tmp/source-code.tar.gz --kind ARTIFACT --attestation-id ${{ env.ATTESTATION_ID }} + gh release download ${{ github.ref_name }} -A tar.gz -O /tmp/source-code.tar.gz + chainloop attestation add --name source-code --value /tmp/source-code.tar.gz --kind ARTIFACT --attestation-id ${{ env.ATTESTATION_ID }} - name: Bump Chart and Dagger Version run: .github/workflows/utils/bump-chart-and-dagger-version.sh deployment/chainloop extras/dagger ${{ github.ref_name }} @@ -214,7 +214,7 @@ jobs: steps: - name: Install Chainloop run: | - curl -sfL https://docs.chainloop.dev/install.sh | bash -s + curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s - name: Finish and Record Attestation id: attestation_push diff --git a/docs/docs/getting-started/attestation-crafting.md b/docs/docs/getting-started/attestation-crafting.md index aabec67d4..f5deefa86 100644 --- a/docs/docs/getting-started/attestation-crafting.md +++ b/docs/docs/getting-started/attestation-crafting.md @@ -278,7 +278,7 @@ jobs: # highlight-start - name: Install Chainloop run: | - curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --version v${{ env.CHAINLOOP_VERSION }} + curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s -- --version v${{ env.CHAINLOOP_VERSION }} # highlight-end - name: Checkout uses: actions/checkout@v4 diff --git a/docs/docs/getting-started/installation.mdx b/docs/docs/getting-started/installation.mdx index 9f9f0d2d0..d58b83ebf 100644 --- a/docs/docs/getting-started/installation.mdx +++ b/docs/docs/getting-started/installation.mdx @@ -24,26 +24,26 @@ To **install the latest version** for macOS, Linux or Windows (using [WSL](https ```bash -curl -sfL https://docs.chainloop.dev/install.sh | bash -s +curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s ``` you can retrieve a specific version with ```bash # You can find all the available versions at https://github.com/chainloop-dev/chainloop/releases -curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --version vx.x.x +curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s -- --version vx.x.x ``` and customize the install path (default to /usr/local/bin) ```bash -curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --path /my-path +curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s -- --path /my-path ``` if [`cosign`](https://docs.sigstore.dev/cosign) is present in your system, in addition to the checksum check, a signature verification will be performed. This behavior can be enforced via the `--force-verification` flag. ```bash -curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --force-verification +curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s -- --force-verification ``` diff --git a/docs/docs/quickstart.mdx b/docs/docs/quickstart.mdx index 733aee0f1..33db31218 100644 --- a/docs/docs/quickstart.mdx +++ b/docs/docs/quickstart.mdx @@ -14,7 +14,7 @@ This quickstart will guide you through the process of installing the Chainloop C 1. Install CLI by running: ```bash - curl -sfL https://docs.chainloop.dev/install.sh | bash -s + curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s ``` Refer to [these instructions](/getting-started/installation) for more installation options. diff --git a/docs/examples/ci-workflows/github.yaml b/docs/examples/ci-workflows/github.yaml index e9953fb84..2dbf0a647 100644 --- a/docs/examples/ci-workflows/github.yaml +++ b/docs/examples/ci-workflows/github.yaml @@ -29,7 +29,7 @@ jobs: - name: Install Chainloop run: | - curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --version v${{ env.CHAINLOOP_VERSION }} + curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s -- --version v${{ env.CHAINLOOP_VERSION }} - name: Checkout uses: actions/checkout@v4 diff --git a/docs/examples/ci-workflows/gitlab.yaml b/docs/examples/ci-workflows/gitlab.yaml index f31bde5b3..492585842 100644 --- a/docs/examples/ci-workflows/gitlab.yaml +++ b/docs/examples/ci-workflows/gitlab.yaml @@ -38,7 +38,7 @@ download_chainloop: - tags script: # We need to install it in the current path in order to be archived - - curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --path . + - curl -sfL https://dl.chainloop.dev/cli/install.sh | bash -s -- --path . artifacts: paths: - chainloop