Locally build runner image instead of pulling it (#473)

* Fix acceptance helm test not using newly built controller image

* Locally build runner image instead of pulling it

* Revert runner controller image pull policy to always

and add a line to the test deployment to use IfNotPresent

* Change runner repository from summerwind/action-runner to the owner of actions-runner-controller.

Also fix some Makefile formatting.

* Undo renaming acceptance/pull to docker-pull

* Some env var cleanup

Rename USERNAME to DOCKER_USER(is still used for github too tho)
Add RUNNER_NAME var(defaults to $DOCKER_USER/actions-runner)
Add TEST_REPO(defaults to $DOCKER_USER/actions-runner-controller)
This commit is contained in:
ToMe25
2021-05-01 08:10:57 +02:00
committed by GitHub
parent 358146ee54
commit ba175148c8
7 changed files with 41 additions and 28 deletions

View File

@@ -6,7 +6,10 @@ spec:
# replicas: 1
template:
spec:
repository: mumoshu/actions-runner-controller-ci
repository: ${TEST_REPO}
image: ${RUNNER_NAME}:${VERSION}
imagePullPolicy: IfNotPresent
#
# dockerd within runner container
#