Skip to content

Commit

Permalink
Merge branch 'main' into RHTAP-2547
Browse files Browse the repository at this point in the history
  • Loading branch information
jkopriva authored Jul 22, 2024
2 parents f66ff1b + 2f5c7d5 commit c27347a
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 23 deletions.
16 changes: 8 additions & 8 deletions .tekton/rhtap-e2e-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ spec:
- name: name
value: git-clone
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-git-clone:0.1@sha256:ae1249aa49e82da5f99cc23b256172dce8f7c7951ece68ca0419240c4ecb52e2
value: quay.io/redhat-appstudio-tekton-catalog/task-git-clone:0.1@sha256:2be7c9c83159c5247f1f9aab8fa1a2cb29d0df66f6c5bb48a012320bdcb03c7d
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -233,7 +233,7 @@ spec:
- name: name
value: buildah
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah:0.1@sha256:102500165339bc08791775cf2c4dcae3dd4bde557a9009d44dc590ef66dde384
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah:0.1@sha256:021f7029d0d8a1834bc45a4cd3cc451c03d0f87a5793eb19e1902f8b00dd3d4c
- name: kind
value: task
resolver: bundles
Expand All @@ -258,7 +258,7 @@ spec:
- name: name
value: source-build
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-source-build:0.1@sha256:1a976a35adee9163e455d0c5aee5d9bf9cb3c6a770656ae347558f8c54977709
value: quay.io/redhat-appstudio-tekton-catalog/task-source-build:0.1@sha256:83ee909cb8f7d659fac380a2521fb60f30c309e5ecb91f3aad2433936e690d98
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -289,7 +289,7 @@ spec:
- name: name
value: deprecated-image-check
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-deprecated-image-check:0.4@sha256:3793fbf59e7dadff9d1f7e7ea4cc430c69a2de620b20c7fd69d71bdd5f6c4a60
value: quay.io/redhat-appstudio-tekton-catalog/task-deprecated-image-check:0.4@sha256:aaf998c36c66d2330cf45894f9cca52486fcdd73e030620e7107e28da247ed87
- name: kind
value: task
resolver: bundles
Expand All @@ -311,7 +311,7 @@ spec:
- name: name
value: clair-scan
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-clair-scan:0.1@sha256:44d0df70080e082e72d2694b14130ff512e5e7f2611190161a9b016b4df9fb22
value: quay.io/redhat-appstudio-tekton-catalog/task-clair-scan:0.1@sha256:de7d372d90939db203072a024f1b13869dd11fac9b196e2a485bdf2a20099902
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -348,7 +348,7 @@ spec:
- name: name
value: sast-snyk-check
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-sast-snyk-check:0.1@sha256:242acc527a06a11fac9dd6524467f62f3a086c186c5f885973e5780a04d4289c
value: quay.io/redhat-appstudio-tekton-catalog/task-sast-snyk-check:0.1@sha256:5aa816e7d7f5e03448d658edfeb26e086aa8a2102c4c3c1113651cf5ccfe55b1
- name: kind
value: task
resolver: bundles
Expand All @@ -373,7 +373,7 @@ spec:
- name: name
value: clamav-scan
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-clamav-scan:0.1@sha256:5dbe6c646c3502ddc7fbe6016b8584bed6ce3ab7028b0c405ebaabc7e6e9e64c
value: quay.io/redhat-appstudio-tekton-catalog/task-clamav-scan:0.1@sha256:fa168cd63bdebfbefc8392fbf0f5226ff6d12a8692306261a9372ddacb5ccb2c
- name: kind
value: task
resolver: bundles
Expand All @@ -395,7 +395,7 @@ spec:
- name: name
value: sbom-json-check
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-sbom-json-check:0.1@sha256:f9cc253c3a07594bfb51e09c78b46598591cb353e19b16ef514f8312a8b0bada
value: quay.io/redhat-appstudio-tekton-catalog/task-sbom-json-check:0.1@sha256:1f7ae5f2660ddfd447727cdc4a8311ce4d991e5fd8f0a23f1b13d6968d8a97e1
- name: kind
value: task
resolver: bundles
Expand Down
16 changes: 8 additions & 8 deletions .tekton/rhtap-e2e-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ spec:
- name: name
value: git-clone
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-git-clone:0.1@sha256:ae1249aa49e82da5f99cc23b256172dce8f7c7951ece68ca0419240c4ecb52e2
value: quay.io/redhat-appstudio-tekton-catalog/task-git-clone:0.1@sha256:2be7c9c83159c5247f1f9aab8fa1a2cb29d0df66f6c5bb48a012320bdcb03c7d
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -230,7 +230,7 @@ spec:
- name: name
value: buildah
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah:0.1@sha256:102500165339bc08791775cf2c4dcae3dd4bde557a9009d44dc590ef66dde384
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah:0.1@sha256:021f7029d0d8a1834bc45a4cd3cc451c03d0f87a5793eb19e1902f8b00dd3d4c
- name: kind
value: task
resolver: bundles
Expand All @@ -255,7 +255,7 @@ spec:
- name: name
value: source-build
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-source-build:0.1@sha256:1a976a35adee9163e455d0c5aee5d9bf9cb3c6a770656ae347558f8c54977709
value: quay.io/redhat-appstudio-tekton-catalog/task-source-build:0.1@sha256:83ee909cb8f7d659fac380a2521fb60f30c309e5ecb91f3aad2433936e690d98
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -286,7 +286,7 @@ spec:
- name: name
value: deprecated-image-check
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-deprecated-image-check:0.4@sha256:3793fbf59e7dadff9d1f7e7ea4cc430c69a2de620b20c7fd69d71bdd5f6c4a60
value: quay.io/redhat-appstudio-tekton-catalog/task-deprecated-image-check:0.4@sha256:aaf998c36c66d2330cf45894f9cca52486fcdd73e030620e7107e28da247ed87
- name: kind
value: task
resolver: bundles
Expand All @@ -308,7 +308,7 @@ spec:
- name: name
value: clair-scan
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-clair-scan:0.1@sha256:44d0df70080e082e72d2694b14130ff512e5e7f2611190161a9b016b4df9fb22
value: quay.io/redhat-appstudio-tekton-catalog/task-clair-scan:0.1@sha256:de7d372d90939db203072a024f1b13869dd11fac9b196e2a485bdf2a20099902
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -345,7 +345,7 @@ spec:
- name: name
value: sast-snyk-check
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-sast-snyk-check:0.1@sha256:242acc527a06a11fac9dd6524467f62f3a086c186c5f885973e5780a04d4289c
value: quay.io/redhat-appstudio-tekton-catalog/task-sast-snyk-check:0.1@sha256:5aa816e7d7f5e03448d658edfeb26e086aa8a2102c4c3c1113651cf5ccfe55b1
- name: kind
value: task
resolver: bundles
Expand All @@ -370,7 +370,7 @@ spec:
- name: name
value: clamav-scan
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-clamav-scan:0.1@sha256:5dbe6c646c3502ddc7fbe6016b8584bed6ce3ab7028b0c405ebaabc7e6e9e64c
value: quay.io/redhat-appstudio-tekton-catalog/task-clamav-scan:0.1@sha256:fa168cd63bdebfbefc8392fbf0f5226ff6d12a8692306261a9372ddacb5ccb2c
- name: kind
value: task
resolver: bundles
Expand All @@ -392,7 +392,7 @@ spec:
- name: name
value: sbom-json-check
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-sbom-json-check:0.1@sha256:f9cc253c3a07594bfb51e09c78b46598591cb353e19b16ef514f8312a8b0bada
value: quay.io/redhat-appstudio-tekton-catalog/task-sbom-json-check:0.1@sha256:1f7ae5f2660ddfd447727cdc4a8311ce4d991e5fd8f0a23f1b13d6968d8a97e1
- name: kind
value: task
resolver: bundles
Expand Down
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> [!WARNING]
> This tests are in very beta state yet. Before running them you need to perform some steps
* Install Rhtap from https://github.com/redhat-appstudio/rhtap-installer
* Make sure that RHTAP templates[](https://github.com/redhat-appstudio/tssc-sample-templates) are imported to your RHDH instance
* Change backstageBaseUrl[](/src/tests/components.test.ts)
* Install Rhtap from https://github.com/redhat-appstudio/rhtap-installer in CI mode.
* You need to update private-values.yaml by running before installing rhtap `yq e -i '.debug.ci=true' private-values.yaml`
* Create the environments needed in the [default.env](./default.env) file. After you create them just run: `source default.env`
* Run `yarn && yarn test`
3 changes: 2 additions & 1 deletion tests/gpts/github/test-config/github_advanced_scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ export const githubSoftwareTemplatesAdvancedScenarios = (gptTemplate: string) =>
namespace: componentRootNamespace,
owner: "user:guest",
repoName: repositoryName,
repoOwner: githubOrganization
repoOwner: githubOrganization,
ciType: "tekton"
}
};

Expand Down
3 changes: 2 additions & 1 deletion tests/gpts/github/test-config/github_positive_suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ export const gitHubBasicGoldenPathTemplateTests = (gptTemplate: string) => {
namespace: componentRootNamespace,
owner: "user:guest",
repoName: repositoryName,
repoOwner: githubOrganization
repoOwner: githubOrganization,
ciType: "tekton"
}
};

Expand Down
3 changes: 2 additions & 1 deletion tests/gpts/gitlab/suites-config/gitlab_advanced_suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ export const gitLabSoftwareTemplatesAdvancedScenarios = (softwareTemplateName: s
namespace: componentRootNamespace,
owner: "user:guest",
repoName: repositoryName,
repoOwner: gitLabOrganization
repoOwner: gitLabOrganization,
ciType: "tekton"
}
};

Expand Down
3 changes: 2 additions & 1 deletion tests/gpts/gitlab/suites-config/gitlab_positive_suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ export const gitLabProviderBasicTests = (softwareTemplateName: string) => {
namespace: componentRootNamespace,
owner: "user:guest",
repoName: repositoryName,
repoOwner: gitLabOrganization
repoOwner: gitLabOrganization,
ciType: "tekton"
}
};

Expand Down

0 comments on commit c27347a

Please sign in to comment.