Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

[KOGITO-2451] Migrate nightly pipelines to RHBA #386

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

radtriste
Copy link
Contributor

@radtriste radtriste commented Jun 15, 2020

https://issues.redhat.com/browse/KOGITO-2435

and added skip tests parameter

Many thanks for submiting your Pull Request ❤️!

Please make sure that your PR meets the following requirements:

  • You have read the contributors guide
  • Pull Request title is properly formatted: [KOGITO-XYZ] Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
  • Your feature/bug fix has a unit test that verifies it
  • You've tested the new feature/bug fix in an actual OpenShift cluster

@radtriste radtriste changed the title KOGITO-2435 Migrate nightly pipelines to RHBA [KOGITO-2435] Migrate nightly pipelines to RHBA Jun 15, 2020
@radtriste radtriste force-pushed the pipelines-rhba branch 3 times, most recently from bb501b3 to a8f4729 Compare June 16, 2020 16:06
@spolti spolti added this to the v0.12.0 milestone Jun 16, 2020
@radtriste radtriste force-pushed the pipelines-rhba branch 3 times, most recently from 36af599 to b836a00 Compare June 18, 2020 09:42
@spolti spolti added the WIP 👷‍♂️ Pull Request is on work in progress label Jun 19, 2020
Jenkinsfile.deploy Outdated Show resolved Hide resolved
Jenkinsfile.deploy Outdated Show resolved Hide resolved
@radtriste radtriste requested review from Kaitou786 and removed request for ricardozanini and spolti June 19, 2020 12:09
@radtriste radtriste changed the title [KOGITO-2435] Migrate nightly pipelines to RHBA [KOGITO-2451] Migrate nightly pipelines to RHBA Jun 19, 2020
@radtriste radtriste force-pushed the pipelines-rhba branch 3 times, most recently from f10b070 to 6dc3c86 Compare June 19, 2020 15:47
@radtriste radtriste force-pushed the pipelines-rhba branch 3 times, most recently from a86d759 to 7c910ee Compare June 19, 2020 17:36
@@ -80,7 +81,7 @@ if [[ -z ${CI} ]]; then
./hack/go-test.sh
BUILD_PARAMS=""
if [[ ! -z ${BUILDER} ]]; then BUILD_PARAMS="${BUILD_PARAMS} --image-builder ${BUILDER}"; fi
operator-sdk build ${REGISTRY}/${IMAGE}:${TAG} ${BUILD_PARAMS}
operator-sdk build ${REGISTRY}/${IMAGE}:${TAG} ${BUILD_PARAMS} --go-build-args -o=${BINARY_OUTPUT}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will force the output name to kogito-cloud-operator because default, operator-sdk is taking the folder name for the binary and it may not run in a kogito-cloud-operator named folder

@radtriste radtriste force-pushed the pipelines-rhba branch 2 times, most recently from 89371ce to bd1c209 Compare July 1, 2020 16:58
@radtriste radtriste force-pushed the pipelines-rhba branch 3 times, most recently from 7b4ec39 to 8943aac Compare July 2, 2020 13:37
@radtriste radtriste removed the on hold ✋ Pull Request is waiting for other dependencies label Jul 2, 2020
@radtriste
Copy link
Contributor Author

I changed a bit the pipeline to handle correctly the parameters. I find this way much more readable and prone to easier modification.

  • test parameters -> exported to single method that creates a map of params and then print as key=value string
  • The DEPLOY_ are no longer used in environment. Instead I used some methods that will calculate the correct value. It results in a more readable code IMO

@radtriste radtriste force-pushed the pipelines-rhba branch 2 times, most recently from 1d6dc4c to 4e9cab0 Compare July 3, 2020 09:28
@sutaakar
Copy link
Contributor

sutaakar commented Jul 3, 2020

@radtriste One more thing, can you add also image_cache_mode?

@spolti
Copy link
Member

spolti commented Jul 3, 2020

Is this PR ready to merge?

@radtriste
Copy link
Contributor Author

@sutaakar are you ok with the latest changes ?

@sutaakar
Copy link
Contributor

sutaakar commented Jul 3, 2020

yes, looks good

@spolti spolti merged commit a7d28c6 into apache:master Jul 3, 2020
@radtriste radtriste deleted the pipelines-rhba branch July 6, 2020 07:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs review 🔍 Pull Request that needs reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants