Cache docker images in acceptance test (#463)

* Cache docker images locally

Cache dind, runner, and kube-rbac-proxy docker image on the host and copy onto the kind node instead of downloading it to the node directly.

* Also cache certmanager docker images
This commit is contained in:
ToMe25
2021-04-18 02:44:59 +02:00
committed by GitHub
parent 1c67ea65d9
commit a612b38f9b
3 changed files with 22 additions and 6 deletions

View File

@@ -764,7 +764,7 @@ NAME=$DOCKER_USER/actions-runner-controller \
APP_ID=*** \
PRIVATE_KEY_FILE_PATH=path/to/pem/file \
INSTALLATION_ID=*** \
make docker-build docker-push acceptance
make docker-build acceptance
```
Please follow the instructions explained in [Using Personal Access Token](#using-personal-access-token) to obtain
@@ -785,8 +785,8 @@ NAME=$DOCKER_USER/actions-runner-controller \
PRIVATE_KEY_FILE_PATH=path/to/pem/file \
INSTALLATION_ID=*** \
ACCEPTANCE_TEST_SECRET_TYPE=token \
make docker-build docker-push \
acceptance/setup acceptance/tests
make docker-build acceptance/setup \
acceptance/tests
```
**Runner Tests**<br />