Rebase all into one commit. I should have used a branch
Trying out a readiness check Added init-container for dind Use a more graceful netcat command Slimmed some things down Added docker cli and use that for its readiness check fix: unittest Added parameter for deploying multiple runners Fix unittest job remove reference nc command remove reference in unittest again Trying to fix unittests Passing unit tests readme update readme making using pnpm
This commit is contained in:
@@ -60,7 +60,7 @@ tests:
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 0
|
||||
- it: renders a Job with correct nc command
|
||||
- it: renders a Job with correct wget wait command
|
||||
template: templates/job.yaml
|
||||
set:
|
||||
enabled: true
|
||||
@@ -83,6 +83,7 @@ tests:
|
||||
- equal:
|
||||
path: spec.template.spec.initContainers[0].command[2]
|
||||
value: |
|
||||
while ! nc -z git.example.com 8443; do
|
||||
sleep 5
|
||||
echo 'Waiting for gitea...'
|
||||
while ! wget -qO- https://git.example.com:8443 > /dev/null; do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user