|
61 | 61 | - name: Install func-operator |
62 | 62 | run: make docker-build docker-push deploy |
63 | 63 |
|
64 | | - - name: Pre-pull builder images to avoid parallel pull contention |
65 | | - run: | |
66 | | - # Pre-pull builder images before tests run in parallel to avoid: |
67 | | - # - Network bandwidth saturation (multiple 1-3GB pulls) |
68 | | - # - Disk I/O contention |
69 | | - # - Container runtime lock contention |
70 | | -
|
71 | | - if [ "${{ matrix.builder }}" = "s2i" ]; then |
72 | | - echo "Pre-pulling S2I builder images..." |
73 | | - docker pull registry.access.redhat.com/ubi8/go-toolset:latest |
74 | | - # docker pull registry.access.redhat.com/ubi8/python-39:latest |
75 | | - # docker pull registry.access.redhat.com/ubi8/nodejs-20-minimal:latest |
76 | | - # docker pull registry.access.redhat.com/ubi8/openjdk-21:latest |
77 | | -
|
78 | | - kind load docker-image registry.access.redhat.com/ubi8/go-toolset:latest |
79 | | - # kind load docker-image registry.access.redhat.com/ubi8/python-39:latest |
80 | | - # kind load docker-image registry.access.redhat.com/ubi8/nodejs-20-minimal:latest |
81 | | - # kind load docker-image registry.access.redhat.com/ubi8/openjdk-21:latest |
82 | | - elif [ "${{ matrix.builder }}" = "pack" ]; then |
83 | | - echo "Pre-pulling pack builder images..." |
84 | | - docker pull ghcr.io/knative/builder-jammy-base:v2 |
85 | | - docker pull ghcr.io/knative/builder-jammy-tiny:v2 |
86 | | -
|
87 | | - kind load docker-image ghcr.io/knative/builder-jammy-base:v2 |
88 | | - kind load docker-image ghcr.io/knative/builder-jammy-tiny:v2 |
89 | | - fi |
90 | | -
|
91 | | - echo "Builder images cached in KinD cluster" |
92 | | -
|
93 | 64 | - name: Running e2e Tests |
94 | 65 | env: |
95 | 66 | REGISTRY_INSECURE: true |
|
0 commit comments