Remove installation of preinstalled dependencies

in workflows

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2022-10-19 16:36:24 +02:00
parent 091e3b2b2b
commit 8aa84fd759
5 changed files with 3 additions and 18 deletions

View File

@ -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 }}

View File

@ -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

View File

@ -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

View File

@ -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 ..

View File

@ -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 ..