From 8aa84fd7597b69dbd7f4c59c17410eae570b2b7d Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:36:24 +0200 Subject: [PATCH] Remove installation of preinstalled dependencies in workflows Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/actions/constellation_create/action.yml | 8 -------- .github/workflows/build-ccm-gcp.yml | 7 ------- .github/workflows/e2e-test-manual-macos.yml | 2 +- .github/workflows/test-integration.yml | 2 +- .github/workflows/test-unittest.yml | 2 +- 5 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/actions/constellation_create/action.yml b/.github/actions/constellation_create/action.yml index 9fd63a301..57db9daec 100644 --- a/.github/actions/constellation_create/action.yml +++ b/.github/actions/constellation_create/action.yml @@ -35,14 +35,6 @@ inputs: runs: using: "composite" steps: - - name: Install kubectl - run: | - HOSTOS="$(go env GOOS)" - HOSTARCH="$(go env GOARCH)" - curl -sLO https://dl.k8s.io/release/v1.23.0/bin/{$HOSTOS}/{$HOSTARCH}/kubectl - install kubectl /usr/local/bin - shell: bash - - name: Constellation config generate run: | constellation config generate ${{ inputs.cloudProvider }} diff --git a/.github/workflows/build-ccm-gcp.yml b/.github/workflows/build-ccm-gcp.yml index 9f04761a5..925f7c231 100644 --- a/.github/workflows/build-ccm-gcp.yml +++ b/.github/workflows/build-ccm-gcp.yml @@ -42,13 +42,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Install bazelisk - run: | - curl -sLO "https://github.com/bazelbuild/bazelisk/releases/download/v1.14.0/bazelisk-linux-amd64" - mkdir -p "${GITHUB_WORKSPACE}/bin/" - mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" - chmod +x "${GITHUB_WORKSPACE}/bin/bazel" - - name: Build CCM run: | "${GITHUB_WORKSPACE}/bin/bazel" build //cmd/cloud-controller-manager:cloud-controller-manager diff --git a/.github/workflows/e2e-test-manual-macos.yml b/.github/workflows/e2e-test-manual-macos.yml index a97ab3b69..8bc45cd57 100644 --- a/.github/workflows/e2e-test-manual-macos.yml +++ b/.github/workflows/e2e-test-manual-macos.yml @@ -84,7 +84,7 @@ jobs: steps: - name: Install the basics shell: bash - run: brew install coreutils + run: brew install coreutils kubectl - name: Check out repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0 diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index ae415d462..b9915afdf 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -34,7 +34,7 @@ jobs: cache: true - name: Install Dependencies - run: sudo apt-get update && sudo apt-get install -y pkg-config libcryptsetup12 libcryptsetup-dev cmake + run: sudo apt-get update && sudo apt-get install -y libcryptsetup12 libcryptsetup-dev - name: Create and populate build folder run: mkdir build && cd build && cmake .. diff --git a/.github/workflows/test-unittest.yml b/.github/workflows/test-unittest.yml index f94ce8e27..2f37351c3 100644 --- a/.github/workflows/test-unittest.yml +++ b/.github/workflows/test-unittest.yml @@ -34,7 +34,7 @@ jobs: cache: true - name: Install Dependencies - run: sudo apt-get update && sudo apt-get install -y pkg-config libcryptsetup12 libcryptsetup-dev libvirt-dev + run: sudo apt-get update && sudo apt-get install -y libcryptsetup12 libcryptsetup-dev libvirt-dev - name: Create and populate build folder run: mkdir build && cd build && cmake ..