Skip to content

Commit 28247fd

Browse files
committed
Change CI unit tests to contain resource links
1 parent 8140c26 commit 28247fd

36 files changed

+1228
-68
lines changed

.github/workflows/build_and_test_upstream_ci_image.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,7 @@ jobs:
2727
podman --version
2828
podman build -t upstream_ci_image:latest -f Dockerfiles/ci/Dockerfile
2929
30-
- name: "Run example default positive operator bundle --> positive test"
30+
- name: "Run the unit tests for the upstream operator CI"
3131
continue-on-error: false
3232
run: |
33-
podman run -it -v $PWD:/project/operator-test-playbooks -v ./Dockerfiles/ci/example-workdir-v45-v49:/project/output -v ./Dockerfiles/ci/example-bundle-default-positive:/project/test_operator_work_dir -e TEST_NAME=test_validate_default_operator_bundle_success -e WORK_DIR=/project/output -e OPERATOR_WORK_DIR=/project/test_operator_work_dir/ upstream_ci_image:latest
34-
35-
- name: "Run example default negative operator bundle --> negative test"
36-
continue-on-error: false
37-
run: |
38-
podman run -it -v $PWD:/project/operator-test-playbooks -v ./Dockerfiles/ci/example-workdir-v45-v49:/project/output -v ./Dockerfiles/ci/example-bundle-default-negative:/project/test_operator_work_dir -e TEST_NAME=test_validate_default_operator_bundle_failure -e WORK_DIR=/project/output -e OPERATOR_WORK_DIR=/project/test_operator_work_dir/ upstream_ci_image:latest
39-
40-
- name: "Run example v48 operator bundle --> positive test"
41-
continue-on-error: false
42-
run: |
43-
podman run -it -v $PWD:/project/operator-test-playbooks -v ./Dockerfiles/ci/example-workdir-v45-v48:/project/output -v ./Dockerfiles/ci/example-bundle-default-negative:/project/test_operator_work_dir -e TEST_NAME=test_validate_default_operator_bundle_failure -e WORK_DIR=/project/output -e OPERATOR_WORK_DIR=/project/test_operator_work_dir/ upstream_ci_image:latest
44-
45-
- name: "Run example v43 operator bundle --> negative test"
46-
continue-on-error: false
47-
run: |
48-
podman run -it -v $PWD:/project/operator-test-playbooks -v ./Dockerfiles/ci/example-workdir-v43-v44:/project/output -v ./Dockerfiles/ci/example-bundle-default-negative:/project/test_operator_work_dir -e TEST_NAME=test_validate_default_operator_bundle_failure -e WORK_DIR=/project/output -e OPERATOR_WORK_DIR=/project/test_operator_work_dir/ upstream_ci_image:latest
33+
podman run -it -v $PWD:/project/operator-test-playbooks -v ./Dockerfiles/ci:/project/test_dir -e TEST_DIR=/project/test_dir upstream_ci_image:latest

Dockerfiles/ci/example-bundle-default-negative/manifests/backup.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/backup.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/backupstoragelocation.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/backupstoragelocation.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/deletebackuprequest.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/deletebackuprequest.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/downloadrequest.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/downloadrequest.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/mig-operator.v1.0.1.clusterserviceversion.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/mig-operator.v1.0.1.clusterserviceversion.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/migcluster.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/migcluster.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/migmigration.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/migmigration.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/migplan.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/migplan.crd.yaml

File renamed without changes.

Dockerfiles/ci/example-bundle-default-negative/manifests/migrationcontroller.crd.yaml renamed to Dockerfiles/ci/example-bundle-default-deprecated/manifests/migrationcontroller.crd.yaml

File renamed without changes.

0 commit comments

Comments
 (0)