From 43924c731889dec6f60a5059e437603c8bb6c4e9 Mon Sep 17 00:00:00 2001 From: katexochen <49727155+katexochen@users.noreply.github.com> Date: Fri, 2 Sep 2022 17:00:29 +0200 Subject: [PATCH] e2e: Silence curl --- .github/actions/build_cli/action.yml | 2 +- .github/actions/constellation_create/action.yml | 2 +- .github/actions/constellation_measure/action.yml | 2 +- .github/actions/install_operator_sdk/action.yml | 6 +++--- .github/actions/sonobuoy/action.yml | 2 +- .github/workflows/build-ccm-gcp.yml | 10 +++++----- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/build_cli/action.yml b/.github/actions/build_cli/action.yml index 05a98d00a..61a5957af 100644 --- a/.github/actions/build_cli/action.yml +++ b/.github/actions/build_cli/action.yml @@ -69,7 +69,7 @@ runs: if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }} - name: Install Rekor run: | - curl -LO https://github.com/sigstore/rekor/releases/download/v0.9.0/rekor-cli-linux-amd64 + curl -sLO https://github.com/sigstore/rekor/releases/download/v0.9.0/rekor-cli-linux-amd64 sudo install rekor-cli-linux-amd64 /usr/local/bin/rekor-cli shell: bash if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }} diff --git a/.github/actions/constellation_create/action.yml b/.github/actions/constellation_create/action.yml index 80107e841..801ae6d15 100644 --- a/.github/actions/constellation_create/action.yml +++ b/.github/actions/constellation_create/action.yml @@ -40,7 +40,7 @@ runs: steps: - name: Install kubectl run: | - curl -LO https://dl.k8s.io/release/v1.23.0/bin/linux/amd64/kubectl + curl -sLO https://dl.k8s.io/release/v1.23.0/bin/linux/amd64/kubectl install kubectl /usr/local/bin shell: bash - name: Install yq jq diff --git a/.github/actions/constellation_measure/action.yml b/.github/actions/constellation_measure/action.yml index 688322ced..264a9776f 100644 --- a/.github/actions/constellation_measure/action.yml +++ b/.github/actions/constellation_measure/action.yml @@ -71,7 +71,7 @@ runs: if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }} - name: Install Rekor run: | - curl -LO https://github.com/sigstore/rekor/releases/download/v0.9.0/rekor-cli-linux-amd64 + curl -sLO https://github.com/sigstore/rekor/releases/download/v0.9.0/rekor-cli-linux-amd64 sudo install rekor-cli-linux-amd64 /usr/local/bin/rekor-cli shell: bash if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }} diff --git a/.github/actions/install_operator_sdk/action.yml b/.github/actions/install_operator_sdk/action.yml index fd198616c..7c6e71d4b 100644 --- a/.github/actions/install_operator_sdk/action.yml +++ b/.github/actions/install_operator_sdk/action.yml @@ -23,10 +23,10 @@ runs: export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) export OS=$(uname | awk '{print tolower($0)}') export OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${{ inputs.version }} - curl -LO ${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH} + curl -sLO ${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH} gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E - curl -LO ${OPERATOR_SDK_DL_URL}/checksums.txt - curl -LO ${OPERATOR_SDK_DL_URL}/checksums.txt.asc + curl -sLO ${OPERATOR_SDK_DL_URL}/checksums.txt + curl -sLO ${OPERATOR_SDK_DL_URL}/checksums.txt.asc gpg -u "Operator SDK (release) " --verify checksums.txt.asc grep operator-sdk_${OS}_${ARCH} checksums.txt | sha256sum -c - chmod +x operator-sdk_${OS}_${ARCH} && sudo mv operator-sdk_${OS}_${ARCH} /usr/local/bin/operator-sdk diff --git a/.github/actions/sonobuoy/action.yml b/.github/actions/sonobuoy/action.yml index 32f587b1b..d35cef097 100644 --- a/.github/actions/sonobuoy/action.yml +++ b/.github/actions/sonobuoy/action.yml @@ -13,7 +13,7 @@ runs: steps: - name: Install sonobuoy run: | - curl -LO https://github.com/vmware-tanzu/sonobuoy/releases/download/v${{ inputs.sonobuoyVersion }}/sonobuoy_${{ inputs.sonobuoyVersion }}_linux_amd64.tar.gz + curl -sLO https://github.com/vmware-tanzu/sonobuoy/releases/download/v${{ inputs.sonobuoyVersion }}/sonobuoy_${{ inputs.sonobuoyVersion }}_linux_amd64.tar.gz tar -xzf sonobuoy_${{ inputs.sonobuoyVersion }}_linux_amd64.tar.gz install sonobuoy /usr/local/bin shell: bash diff --git a/.github/workflows/build-ccm-gcp.yml b/.github/workflows/build-ccm-gcp.yml index 3e1d1cecc..a1c48e573 100644 --- a/.github/workflows/build-ccm-gcp.yml +++ b/.github/workflows/build-ccm-gcp.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b with: - repository: 'kubernetes/cloud-provider-gcp' + repository: "kubernetes/cloud-provider-gcp" ref: refs/tags/ccm/${{ matrix.version }} - name: Docker meta @@ -35,9 +35,9 @@ jobs: flavor: | latest=${{ matrix.latest || false }} tags: | - type=semver,pattern=v{{version}},value=${{ matrix.version }} - type=semver,pattern=v{{major}}.{{minor}},value=${{ matrix.version }} - type=semver,pattern=v{{major}},value=${{ matrix.version }} + type=semver,pattern=v{{version}},value=${{ matrix.version }} + type=semver,pattern=v{{major}}.{{minor}},value=${{ matrix.version }} + type=semver,pattern=v{{major}},value=${{ matrix.version }} - name: Set up Docker Buildx id: docker-setup uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 @@ -51,7 +51,7 @@ jobs: - name: Install bazelisk run: | - curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-amd64" + curl -sLO "https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-amd64" mkdir -p "${GITHUB_WORKSPACE}/bin/" mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" chmod +x "${GITHUB_WORKSPACE}/bin/bazel"