refactor: Move KinD init earlier and dont wait for control plane to be ready
@@ -35,6 +35,11 @@ jobs:
echo "::set-env name=SETUPTOOLS_IMG::gcr.io/${{ secrets.GOOGLE_PROJECT_ID }}/setuptools:${TAG}"
echo "::set-env name=PULL_POLICY::Always"
gcloud --quiet auth configure-docker
+ # Launch KinD early so we can do other things while the control plane converges
+ - name: KinD (Kubernetes in Docker) Initialization
+ uses: engineerd/setup-kind@v0.3.0
+ with:
+ wait: 0s
- name: Build controller
run: |
make docker-build
@@ -53,14 +58,8 @@ jobs:
with:
name: redskyctl_linux_amd64
path: dist/redskyctl-linux-amd64.tar.gz
- - name: KinD (Kubernetes in Docker) Action
- uses: engineerd/setup-kind@v0.3.0
- name: redsky quickstart
run: |
- #echo "Install redskyctl"
- #curl -sLo - https://github.com/redskyops/redskyops-controller/releases/download/v1.5.0/redskyctl-linux-amd64.tar.gz | \
- # tar -zxf - && \
- # chmod 755 ./redskyctl
echo "Init redskyops"
dist/redskyctl_linux_amd64/redskyctl init
echo "Install kustomize"
