diff --git a/.github/workflows/dbaas-operator.yaml b/.github/workflows/dbaas-operator.yaml index ac6146d..ccefcd3 100644 --- a/.github/workflows/dbaas-operator.yaml +++ b/.github/workflows/dbaas-operator.yaml @@ -21,28 +21,36 @@ jobs: - name: Install go, kustomize, kubebuilder, helm, docker-compose, kind run: | #go + echo "install go" sudo rm -rf /usr/local/go curl -sLo /tmp/go1.13.7.linux-amd64.tar.gz https://dl.google.com/go/go1.13.7.linux-amd64.tar.gz sudo tar -C /usr/local -xzf /tmp/go1.13.7.linux-amd64.tar.gz #kustomize + echo "install kustomize" curl -sLo /tmp/kustomize_v3.5.4_linux_amd64.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv3.5.4/kustomize_v3.5.4_linux_amd64.tar.gz sudo tar -C /usr/local/bin -xzf /tmp/kustomize_v3.5.4_linux_amd64.tar.gz #kubebuilder - curl -sL https://go.kubebuilder.io/dl/2.2.0/linux/amd64 | tar -xz -C /tmp/ - sudo mv /tmp/kubebuilder_2.2.0_linux_amd64 /usr/local/kubebuilder + echo "install kubebuilder" + curl -sL https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.2.0/kubebuilder_2.2.0_linux_amd64.tar.gz | tar -xz -C /tmp/ + sudo mkdir -p /usr/local/kubebuilder/bin + sudo mv /tmp/kubebuilder_2.2.0_linux_amd64/bin/* /usr/local/kubebuilder/bin + chmod +x /usr/local/kubebuilder/bin/* #helm + echo "install helm" curl -sL https://get.helm.sh/helm-v3.3.0-rc.1-linux-amd64.tar.gz | tar -xz -C /tmp/ sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm chmod +x /usr/local/bin/helm #docker-compose + echo "install docker-compose" sudo curl -sLo /usr/local/bin/docker-compose "https://github.com/docker/compose/releases/download/1.29.0/docker-compose-$(uname -s)-$(uname -m)" sudo chmod +x /usr/local/bin/docker-compose #kind - curl -sLo /tmp/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.9.0/kind-linux-amd64 + echo "install kind" + curl -sLo /tmp/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.11.1/kind-linux-amd64 chmod +x /tmp/kind sudo mv /tmp/kind /usr/local/bin/ - name: Create kind cluster - uses: helm/kind-action@v1.1.0 + uses: helm/kind-action@v1.2.0 # with: # config: test-resources/kind-config.yaml - name: Run Tests