Skip to content

Commit

Permalink
Revert "operator sdk is not required for building (#139)"
Browse files Browse the repository at this point in the history
This reverts commit 442e89a.
  • Loading branch information
davidkarlsen committed Jan 25, 2021
1 parent e816186 commit f7092a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
env:
KUBE_BUILDER_VERSION: "2.3.1"
OPERATOR_SDK_VERSION: "v1.0.0"
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,6 +37,8 @@ jobs:

- name: Setup env
run: |
sudo curl -Lo /usr/local/bin/operator-sdk https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}/operator-sdk-${OPERATOR_SDK_VERSION}-x86_64-linux-gnu
sudo chmod a+x /usr/local/bin/operator-sdk
sudo curl -Lo- https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${KUBE_BUILDER_VERSION}/kubebuilder_${KUBE_BUILDER_VERSION}_linux_amd64.tar.gz | tar xzv -C /tmp -f -
echo "KUBEBUILDER_ASSETS=/tmp/kubebuilder_${KUBE_BUILDER_VERSION}_linux_amd64/bin" >> $GITHUB_ENV
Expand Down

0 comments on commit f7092a6

Please sign in to comment.