Skip to content

Commit cabb9fb

Browse files
author
Pedro Abreu
committed
enhance docker image for downstream test execution
Updated Playwright test container configuration and dependencies to support downstream testing environments. Resolves: MTV-3470 Signed-off-by: Pedro Abreu <[email protected]>
1 parent 25d78bb commit cabb9fb

File tree

167 files changed

+961
-5659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+961
-5659
lines changed

.github/workflows/on-push-main-playwright.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ jobs:
2525
- name: Build and push Docker image
2626
uses: docker/build-push-action@v5
2727
with:
28-
context: .
28+
context: ./testing
2929
file: ./testing/PlaywrightContainerFile
3030
push: true
3131
tags: quay.io/kubev2v/forklift-ui-tests:latest
32+
build-args: |
33+
VERSION=${{ github.ref_name }}
34+
GIT_COMMIT=${{ github.sha }}
35+
BUILD_DATE=${{ github.event.head_commit.timestamp }}
3236
3337
- name: Logout from Quay.io
3438
run: docker logout quay.io

.github/workflows/validate-commit-messages.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ tmp/
77
yarn-error.log
88
openapitools.json
99
tsconfig.tsbuildinfo
10-
.eslintcache
1110

1211
ci/yaml/openapi.yaml
1312

.tekton/forklift-console-plugin-dev-preview-pull-request.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ spec:
124124
description: Whether to enable privileged mode, should be used only with remote VMs
125125
name: privileged-nested
126126
type: string
127-
- name: buildah-format
128-
default: docker
129-
type: string
130-
description: The format for the resulting image's mediaType. Valid values are oci or docker.
131127
results:
132128
- description: ""
133129
name: IMAGE_URL
@@ -155,7 +151,7 @@ spec:
155151
- name: name
156152
value: init
157153
- name: bundle
158-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:526a104a3342e36dad5c5e7f98c647da6b2a33897e458f772ff4afe523e0690a
154+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:ec962d0be18f36ca7d331c99bf243800f569fc0a2ea6f8c8c3d3a574b71c44dc
159155
- name: kind
160156
value: task
161157
resolver: bundles
@@ -176,7 +172,7 @@ spec:
176172
- name: name
177173
value: git-clone-oci-ta
178174
- name: bundle
179-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:3f1b468066b301083d8550e036f5a654fcb064810bd29eb06fec6d8ad3e35b9c
175+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:efcce59f226b1426f7685917e41a50b73478f38fe9ac56c98f1e961effd4b6f0
180176
- name: kind
181177
value: task
182178
resolver: bundles
@@ -205,7 +201,7 @@ spec:
205201
- name: name
206202
value: prefetch-dependencies-oci-ta
207203
- name: bundle
208-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:dc82a7270aace9b1c26f7e96f8ccab2752e53d32980c41a45e1733baad76cde6
204+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:d08e349032c57367d543c0bbd070386709614ade1db8e5eddeab29b1338f6653
209205
- name: kind
210206
value: task
211207
resolver: bundles
@@ -241,16 +237,14 @@ spec:
241237
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
242238
- name: CACHI2_ARTIFACT
243239
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
244-
- name: BUILDAH_FORMAT
245-
value: $(params.buildah-format)
246240
runAfter:
247241
- prefetch-dependencies
248242
taskRef:
249243
params:
250244
- name: name
251245
value: buildah-oci-ta
252246
- name: bundle
253-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.5@sha256:6ec006242975a17388bfe813e2afd0ae721dd013247580c0d988e3c4a9c7f867
247+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.4@sha256:820e397596f9816c953e16328afa496337a2ede6b457fe600a40d44ebca5a16f
254248
- name: kind
255249
value: task
256250
resolver: bundles
@@ -272,16 +266,14 @@ spec:
272266
- name: IMAGES
273267
value:
274268
- $(tasks.build-container.results.IMAGE_URL)@$(tasks.build-container.results.IMAGE_DIGEST)
275-
- name: BUILDAH_FORMAT
276-
value: $(params.buildah-format)
277269
runAfter:
278270
- build-container
279271
taskRef:
280272
params:
281273
- name: name
282274
value: build-image-index
283275
- name: bundle
284-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:79784d53749584bc5a8de32142ec4e2f01cdbf42c20d94e59280e0b927c8597d
276+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:ba7fbed5c4862968c1a77d6b90d5bdd497925ab1de41b859c027dd5c3069cd3e
285277
- name: kind
286278
value: task
287279
resolver: bundles
@@ -307,7 +299,7 @@ spec:
307299
- name: name
308300
value: source-build-oci-ta
309301
- name: bundle
310-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b0d6cb28a23f20db4f5cf78ed78ae3a91b9a5adfe989696ed0bbc63840a485b6
302+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:21d33596cf7ff61cab38b68caf578e55509748962bf6f4030bf1dfb8cd68a257
311303
- name: kind
312304
value: task
313305
resolver: bundles
@@ -333,7 +325,7 @@ spec:
333325
- name: name
334326
value: deprecated-image-check
335327
- name: bundle
336-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:f59175d9a0a60411738228dfe568af4684af4aa5e7e05c832927cb917801d489
328+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:c49732039f105de809840be396f83ead8c46f6a6948e1335b76d37e9eb469574
337329
- name: kind
338330
value: task
339331
resolver: bundles
@@ -401,7 +393,7 @@ spec:
401393
- name: name
402394
value: sast-snyk-check-oci-ta
403395
- name: bundle
404-
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:181d63c126e3119a9d57b8feed4eb66a875b5208c3e90724c22758e65dca8733
396+
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:783f5de1b4def2fb3fad20b914f4b3afee46ffb8f652114946e321ef3fa86449
405397
- name: kind
406398
value: task
407399
resolver: bundles
@@ -586,7 +578,7 @@ spec:
586578
- name: name
587579
value: push-dockerfile-oci-ta
588580
- name: bundle
589-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:49f778479f468e71c2cfef722e96aa813d7ef98bde8a612e1bf1a13cd70849ec
581+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:06529ba66b37bdc1f55590359aa849bc570b4e9c110c983e27f07081dc09a12b
590582
- name: kind
591583
value: task
592584
resolver: bundles

.tekton/forklift-console-plugin-dev-preview-push.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ spec:
121121
description: Whether to enable privileged mode, should be used only with remote VMs
122122
name: privileged-nested
123123
type: string
124-
- name: buildah-format
125-
default: docker
126-
type: string
127-
description: The format for the resulting image's mediaType. Valid values are oci or docker.
128124
results:
129125
- description: ""
130126
name: IMAGE_URL
@@ -152,7 +148,7 @@ spec:
152148
- name: name
153149
value: init
154150
- name: bundle
155-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:526a104a3342e36dad5c5e7f98c647da6b2a33897e458f772ff4afe523e0690a
151+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:ec962d0be18f36ca7d331c99bf243800f569fc0a2ea6f8c8c3d3a574b71c44dc
156152
- name: kind
157153
value: task
158154
resolver: bundles
@@ -173,7 +169,7 @@ spec:
173169
- name: name
174170
value: git-clone-oci-ta
175171
- name: bundle
176-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:3f1b468066b301083d8550e036f5a654fcb064810bd29eb06fec6d8ad3e35b9c
172+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:efcce59f226b1426f7685917e41a50b73478f38fe9ac56c98f1e961effd4b6f0
177173
- name: kind
178174
value: task
179175
resolver: bundles
@@ -202,7 +198,7 @@ spec:
202198
- name: name
203199
value: prefetch-dependencies-oci-ta
204200
- name: bundle
205-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:dc82a7270aace9b1c26f7e96f8ccab2752e53d32980c41a45e1733baad76cde6
201+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:d08e349032c57367d543c0bbd070386709614ade1db8e5eddeab29b1338f6653
206202
- name: kind
207203
value: task
208204
resolver: bundles
@@ -238,16 +234,14 @@ spec:
238234
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
239235
- name: CACHI2_ARTIFACT
240236
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
241-
- name: BUILDAH_FORMAT
242-
value: $(params.buildah-format)
243237
runAfter:
244238
- prefetch-dependencies
245239
taskRef:
246240
params:
247241
- name: name
248242
value: buildah-oci-ta
249243
- name: bundle
250-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.5@sha256:6ec006242975a17388bfe813e2afd0ae721dd013247580c0d988e3c4a9c7f867
244+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.4@sha256:820e397596f9816c953e16328afa496337a2ede6b457fe600a40d44ebca5a16f
251245
- name: kind
252246
value: task
253247
resolver: bundles
@@ -269,16 +263,14 @@ spec:
269263
- name: IMAGES
270264
value:
271265
- $(tasks.build-container.results.IMAGE_URL)@$(tasks.build-container.results.IMAGE_DIGEST)
272-
- name: BUILDAH_FORMAT
273-
value: $(params.buildah-format)
274266
runAfter:
275267
- build-container
276268
taskRef:
277269
params:
278270
- name: name
279271
value: build-image-index
280272
- name: bundle
281-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:79784d53749584bc5a8de32142ec4e2f01cdbf42c20d94e59280e0b927c8597d
273+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:ba7fbed5c4862968c1a77d6b90d5bdd497925ab1de41b859c027dd5c3069cd3e
282274
- name: kind
283275
value: task
284276
resolver: bundles
@@ -304,7 +296,7 @@ spec:
304296
- name: name
305297
value: source-build-oci-ta
306298
- name: bundle
307-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b0d6cb28a23f20db4f5cf78ed78ae3a91b9a5adfe989696ed0bbc63840a485b6
299+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:21d33596cf7ff61cab38b68caf578e55509748962bf6f4030bf1dfb8cd68a257
308300
- name: kind
309301
value: task
310302
resolver: bundles
@@ -330,7 +322,7 @@ spec:
330322
- name: name
331323
value: deprecated-image-check
332324
- name: bundle
333-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:f59175d9a0a60411738228dfe568af4684af4aa5e7e05c832927cb917801d489
325+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:c49732039f105de809840be396f83ead8c46f6a6948e1335b76d37e9eb469574
334326
- name: kind
335327
value: task
336328
resolver: bundles
@@ -398,7 +390,7 @@ spec:
398390
- name: name
399391
value: sast-snyk-check-oci-ta
400392
- name: bundle
401-
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:181d63c126e3119a9d57b8feed4eb66a875b5208c3e90724c22758e65dca8733
393+
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:783f5de1b4def2fb3fad20b914f4b3afee46ffb8f652114946e321ef3fa86449
402394
- name: kind
403395
value: task
404396
resolver: bundles
@@ -583,7 +575,7 @@ spec:
583575
- name: name
584576
value: push-dockerfile-oci-ta
585577
- name: bundle
586-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:49f778479f468e71c2cfef722e96aa813d7ef98bde8a612e1bf1a13cd70849ec
578+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:06529ba66b37bdc1f55590359aa849bc570b4e9c110c983e27f07081dc09a12b
587579
- name: kind
588580
value: task
589581
resolver: bundles

0 commit comments

Comments
 (0)