Skip to content

Commit

Permalink
Remove build-pipeline-selectore related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tisutisu committed Jun 10, 2024
1 parent 04c146b commit a5ce27b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 124 deletions.
11 changes: 11 additions & 0 deletions .tekton/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ spec:
type: string
- name: e2e_test_namespace
type: string
results:
- name: custom-docker-build-bundle
description: "custom bundle for docker-build pipeline"
- name: custom-fbc-builder-bundle
description: "custom bundle for fbc-builder pipeline"
steps:
- name: build-bundles
image: quay.io/konflux-ci/pull-request-builds:appstudio-utils-{{revision}}
Expand All @@ -152,6 +157,8 @@ spec:
INSTALL_BUNDLE_NS=$(params.e2e_test_namespace) \
ENABLE_SOURCE_BUILD=1 \
hack/build-and-push.sh
echo -n $CUSTOM_DOCKER_BUILD_PIPELINE_BUNDLE | tee $(results.custom-docker-build-bundle.path)
echo -n $CUSTOM_FBC_BUILDER_PIPELINE_BUNDLE | tee $(results.custom-fbc-builder-bundle.path)
workspaces:
- name: source
- name: e2e-tests
Expand All @@ -164,6 +171,10 @@ spec:
value: "{{ source_url }}"
- name: ec_pipelines_repo_revision
value: "{{ revision }}"
- name: docker-build-bundle
value: "$(tasks.build-bundles.results.custom-docker-build-bundle)"
- name: fbc-builder-bundle
value: "$(tasks.build-bundles.results.custom-fbc-builder-bundle)"
runAfter:
- build-bundles
taskRef:
Expand Down
12 changes: 10 additions & 2 deletions .tekton/tasks/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ spec:
type: string
- name: ec_pipelines_repo_revision
type: string
- name: docker-build-bundle
type: string
- name: fbc-builder-bundle
type: string
steps:
- name: e2e-test
image: quay.io/redhat-appstudio/e2e-tests:bf19763689bec49c3169fe1ca5e704789ea48f56
image: quay.io/susdas/e2e:next
# a la infra-deployment updates, when PRs merge in e2e-tests, PRs will be opened
# against build-definitions to update this tag
args: [
Expand All @@ -38,7 +42,7 @@ spec:
- name: APP_SUFFIX
value: "$(params.app_suffix)"
- name: COMPONENT_REPO_URLS
value: "https://github.com/redhat-appstudio-qe/devfile-sample-python-basic,https://github.com/redhat-appstudio-qe/retrodep,https://github.com/cachito-testing/pip-e2e-test,https://github.com/redhat-appstudio-qe/fbc-sample-repo,https://github.com/redhat-appstudio-qe/nodejs-no-dockerfile,https://github.com/redhat-appstudio-qe/maven-hello-world"
value: "https://github.com/redhat-appstudio-qe/devfile-sample-python-basic,https://github.com/redhat-appstudio-qe/retrodep,https://github.com/cachito-testing/pip-e2e-test,https://github.com/redhat-appstudio-qe/fbc-sample-repo"
- name: QUAY_E2E_ORGANIZATION
value: redhat-appstudio
- name: E2E_APPLICATIONS_NAMESPACE
Expand All @@ -59,3 +63,7 @@ spec:
value: $(params.ec_pipelines_repo_url)
- name: EC_PIPELINES_REPO_REVISION
value: $(params.ec_pipelines_repo_revision)
- name: CUSTOM_DOCKER_BUILD_PIPELINE_BUNDLE
value: "$(params.docker-build-bundle)"
- name: CUSTOM_FBC_BUILDER_PIPELINE_BUNDLE
value: "$(params.fbc-builder-bundle)"
3 changes: 2 additions & 1 deletion hack/build-and-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,6 @@ do
done

if [ "$SKIP_INSTALL" == "" ]; then
"$SCRIPTDIR/util-install-bundle.sh" "$docker_pipeline_bundle,$fbc_pipeline_bundle,$nodejs_pipeline_bundle,$java_pipeline_bundle" "$INSTALL_BUNDLE_NS"
CUSTOM_DOCKER_BUILD_PIPELINE_BUNDLE="$docker_pipeline_bundle"
CUSTOM_FBC_BUILDER_PIPELINE_BUNDLE="$fbc_pipeline_bundle"
fi
121 changes: 0 additions & 121 deletions hack/util-install-bundle.sh

This file was deleted.

0 comments on commit a5ce27b

Please sign in to comment.