Skip to content

osde2e: initial commit - #284

Closed
jbpratt wants to merge 2 commits into
openshift:masterfrom
jbpratt:boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980
Closed

jbpratt wants to merge 2 commits into
openshift:masterfrom
jbpratt:boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980

Conversation

@jbpratt

@jbpratt jbpratt commented Jun 7, 2023 •

Copy link
Copy Markdown
Contributor
  • Boilerplate: Update to d3612328c972f49103b8fd1be49cd8b0a387c980
  • osde2e: initial commit

SDCICD-1022

jbpratt added a commit to jbpratt/configure-alertmanager-operator that referenced this pull request Jun 7, 2023
Conventions:
- openshift/golang-osd-operator: No change
- openshift/golang-osd-operator-osde2e: Subscribe
---
openshift/boilerplate@4bf1a59...d361232

commit: 56ec373e5d204115567d6a399e8cbfcdb71669cb
author: Ryan Williams
Replace addon with operator name for osde2e boilerplate

This commit modifies the following:
  * Rename the junit output filename to include operator name
  * Update readme to remove the word "addon"

commit: a000622561d57cefe749978b6505be030f3114bb
author: Ritu Mundhe
renamed test tags from "integration" to "osde2e" for specificity

commit: bbb667c6d0ad14399c2e572acab68dd01ffa3f18
author: Dustin Row
Exclude build/Dockerfile* from initial git status check

commit: 7a16980d213b68b1a982ae3a710a5cee4b983491
author: Ritu Mundhe
fix: escaped quote in template

commit: ba40cfc5f02b30b6f9c4d1f420c14da7edd8a6c3
author: Ritu Mundhe
osde2e dockerfile contains building ginkgo binary (openshift#284)

* osde2e dockerfile contains building ginkgo binary

* Update ubi version

Co-authored-by: Michael Shen <[email protected]>

* Update go base image version

Co-authored-by: Michael Shen <[email protected]>

---------

Co-authored-by: Michael Shen <[email protected]>

commit: 023d6fc8e9714428c149c7c1343e24b53449f4bd
author: Ritu Mundhe
reverting docker registry credentials for test-harness for app-interface

commit: 50a4abf7890faa6bdbda0faa03cde25b5ba64be0
author: Ritu Mundhe
updating docker registry credentials for test-harness for ci-operator

commit: b2e3e1b90c2e5a60020cba909d2112b76021f201
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

Remove project.mk

commit: 7adb0b88cea0e8527b4d32ddeb9c5425e83aa7a3
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

commit: 19ae2a423b085b1ae0b650374570da1784a8daa3
author: Diego Santamaria
Add acceptance Test convention

commit: f9e6c350556d9d5845babbb46686639a01945d03
author: Diego Santamaria
Initial Commit for PD boiletPlate
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 7, 2023
@openshift-ci

openshift-ci Bot commented Jun 7, 2023

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 7, 2023
@jbpratt

jbpratt commented Jun 7, 2023

Copy link
Copy Markdown
Contributor Author

depends on openshift/osde2e-common#3

jbpratt added a commit to jbpratt/configure-alertmanager-operator that referenced this pull request Jun 7, 2023
Conventions:
- openshift/golang-osd-operator: No change
- openshift/golang-osd-operator-osde2e: Subscribe
---
openshift/boilerplate@4bf1a59...d361232

commit: 56ec373e5d204115567d6a399e8cbfcdb71669cb
author: Ryan Williams
Replace addon with operator name for osde2e boilerplate

This commit modifies the following:
  * Rename the junit output filename to include operator name
  * Update readme to remove the word "addon"

commit: a000622561d57cefe749978b6505be030f3114bb
author: Ritu Mundhe
renamed test tags from "integration" to "osde2e" for specificity

commit: bbb667c6d0ad14399c2e572acab68dd01ffa3f18
author: Dustin Row
Exclude build/Dockerfile* from initial git status check

commit: 7a16980d213b68b1a982ae3a710a5cee4b983491
author: Ritu Mundhe
fix: escaped quote in template

commit: ba40cfc5f02b30b6f9c4d1f420c14da7edd8a6c3
author: Ritu Mundhe
osde2e dockerfile contains building ginkgo binary (openshift#284)

* osde2e dockerfile contains building ginkgo binary

* Update ubi version

Co-authored-by: Michael Shen <[email protected]>

* Update go base image version

Co-authored-by: Michael Shen <[email protected]>

---------

Co-authored-by: Michael Shen <[email protected]>

commit: 023d6fc8e9714428c149c7c1343e24b53449f4bd
author: Ritu Mundhe
reverting docker registry credentials for test-harness for app-interface

commit: 50a4abf7890faa6bdbda0faa03cde25b5ba64be0
author: Ritu Mundhe
updating docker registry credentials for test-harness for ci-operator

commit: b2e3e1b90c2e5a60020cba909d2112b76021f201
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

Remove project.mk

commit: 7adb0b88cea0e8527b4d32ddeb9c5425e83aa7a3
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

commit: 19ae2a423b085b1ae0b650374570da1784a8daa3
author: Diego Santamaria
Add acceptance Test convention

commit: f9e6c350556d9d5845babbb46686639a01945d03
author: Diego Santamaria
Initial Commit for PD boiletPlate
@jbpratt
jbpratt force-pushed the boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980 branch from 3b299e9 to c9b130d Compare June 7, 2023 11:12
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 7, 2023
@jbpratt
jbpratt marked this pull request as ready for review June 7, 2023 13:10
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 7, 2023
@openshift-ci
openshift-ci Bot requested review from NautiluX and fahlmant June 7, 2023 13:12
@jbpratt
jbpratt force-pushed the boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980 branch from c9b130d to 4d4ef00 Compare June 7, 2023 13:16
@codecov

codecov Bot commented Jun 7, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #284 (a6c1bad) into master (5057a74) will not change coverage.
Report is 8 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #284   +/-   ##
=======================================
  Coverage   65.89%   65.89%           
=======================================
  Files           7        7           
  Lines         912      912           
=======================================
  Hits          601      601           
  Misses        287      287           
  Partials       24       24           

@jbpratt

jbpratt commented Jun 20, 2023

Copy link
Copy Markdown
Contributor Author

This is ready to go

/cc @ryankwilliams @dustman9000

jbpratt added a commit to jbpratt/configure-alertmanager-operator that referenced this pull request Jun 28, 2023
Conventions:
- openshift/golang-osd-operator: Update
---
openshift/boilerplate@4bf1a59...92d91d4

commit: e54dfc24bf74099164f165a01c756f188224bc50
author: Ritu Mundhe
dockerfile template fix

commit: 6699b052ab9e59f909b8424b538d77be19ef100e
author: Michael Shen
Allow generation of embedded ObjectMeta in CRDs

This will allow for using metav1.ObjectMeta's in nested fields. Without
this option, the generated metadata field is non-functional as described
in kubernetes-sigs/controller-tools#557.

Signed-off-by: Michael Shen <[email protected]>

Co-authored-by: Alice Hubenko <[email protected]>

commit: cac1395fbae95d2dc43aeeec649dc46c04d065c4
author: Bo Meng
update owners

commit: 4c6d460e088fc7520d58cfeb2e5f457228b6ec13
author: Ritu Mundhe
fixed hardcoded operator namein osde2e convention template

commit: 56ec373e5d204115567d6a399e8cbfcdb71669cb
author: Ryan Williams
Replace addon with operator name for osde2e boilerplate

This commit modifies the following:
  * Rename the junit output filename to include operator name
  * Update readme to remove the word "addon"

commit: a000622561d57cefe749978b6505be030f3114bb
author: Ritu Mundhe
renamed test tags from "integration" to "osde2e" for specificity

commit: bbb667c6d0ad14399c2e572acab68dd01ffa3f18
author: Dustin Row
Exclude build/Dockerfile* from initial git status check

commit: 7a16980d213b68b1a982ae3a710a5cee4b983491
author: Ritu Mundhe
fix: escaped quote in template

commit: ba40cfc5f02b30b6f9c4d1f420c14da7edd8a6c3
author: Ritu Mundhe
osde2e dockerfile contains building ginkgo binary (openshift#284)

* osde2e dockerfile contains building ginkgo binary

* Update ubi version

Co-authored-by: Michael Shen <[email protected]>

* Update go base image version

Co-authored-by: Michael Shen <[email protected]>

---------

Co-authored-by: Michael Shen <[email protected]>

commit: 023d6fc8e9714428c149c7c1343e24b53449f4bd
author: Ritu Mundhe
reverting docker registry credentials for test-harness for app-interface

commit: 50a4abf7890faa6bdbda0faa03cde25b5ba64be0
author: Ritu Mundhe
updating docker registry credentials for test-harness for ci-operator

commit: b2e3e1b90c2e5a60020cba909d2112b76021f201
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

Remove project.mk

commit: 7adb0b88cea0e8527b4d32ddeb9c5425e83aa7a3
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

commit: 19ae2a423b085b1ae0b650374570da1784a8daa3
author: Diego Santamaria
Add acceptance Test convention

commit: f9e6c350556d9d5845babbb46686639a01945d03
author: Diego Santamaria
Initial Commit for PD boiletPlate
@jbpratt
jbpratt force-pushed the boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980 branch from 4d4ef00 to 1835268 Compare June 28, 2023 11:40
@openshift-ci

openshift-ci Bot commented Jun 28, 2023

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jbpratt, ryankwilliams
Once this PR has been reviewed and has the lgtm label, please assign nautilux for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

jbpratt added a commit to jbpratt/configure-alertmanager-operator that referenced this pull request Jun 28, 2023
Conventions:
- openshift/golang-osd-operator: Update
---
openshift/boilerplate@4bf1a59...92d91d4

commit: e54dfc24bf74099164f165a01c756f188224bc50
author: Ritu Mundhe
dockerfile template fix

commit: 6699b052ab9e59f909b8424b538d77be19ef100e
author: Michael Shen
Allow generation of embedded ObjectMeta in CRDs

This will allow for using metav1.ObjectMeta's in nested fields. Without
this option, the generated metadata field is non-functional as described
in kubernetes-sigs/controller-tools#557.

Signed-off-by: Michael Shen <[email protected]>

Co-authored-by: Alice Hubenko <[email protected]>

commit: cac1395fbae95d2dc43aeeec649dc46c04d065c4
author: Bo Meng
update owners

commit: 4c6d460e088fc7520d58cfeb2e5f457228b6ec13
author: Ritu Mundhe
fixed hardcoded operator namein osde2e convention template

commit: 56ec373e5d204115567d6a399e8cbfcdb71669cb
author: Ryan Williams
Replace addon with operator name for osde2e boilerplate

This commit modifies the following:
  * Rename the junit output filename to include operator name
  * Update readme to remove the word "addon"

commit: a000622561d57cefe749978b6505be030f3114bb
author: Ritu Mundhe
renamed test tags from "integration" to "osde2e" for specificity

commit: bbb667c6d0ad14399c2e572acab68dd01ffa3f18
author: Dustin Row
Exclude build/Dockerfile* from initial git status check

commit: 7a16980d213b68b1a982ae3a710a5cee4b983491
author: Ritu Mundhe
fix: escaped quote in template

commit: ba40cfc5f02b30b6f9c4d1f420c14da7edd8a6c3
author: Ritu Mundhe
osde2e dockerfile contains building ginkgo binary (openshift#284)

* osde2e dockerfile contains building ginkgo binary

* Update ubi version

Co-authored-by: Michael Shen <[email protected]>

* Update go base image version

Co-authored-by: Michael Shen <[email protected]>

---------

Co-authored-by: Michael Shen <[email protected]>

commit: 023d6fc8e9714428c149c7c1343e24b53449f4bd
author: Ritu Mundhe
reverting docker registry credentials for test-harness for app-interface

commit: 50a4abf7890faa6bdbda0faa03cde25b5ba64be0
author: Ritu Mundhe
updating docker registry credentials for test-harness for ci-operator

commit: b2e3e1b90c2e5a60020cba909d2112b76021f201
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

Remove project.mk

commit: 7adb0b88cea0e8527b4d32ddeb9c5425e83aa7a3
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

commit: 19ae2a423b085b1ae0b650374570da1784a8daa3
author: Diego Santamaria
Add acceptance Test convention

commit: f9e6c350556d9d5845babbb46686639a01945d03
author: Diego Santamaria
Initial Commit for PD boiletPlate
@jbpratt
jbpratt force-pushed the boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980 branch from 1835268 to adbe496 Compare June 28, 2023 11:42
jbpratt added a commit to jbpratt/configure-alertmanager-operator that referenced this pull request Jun 28, 2023
Conventions:
- openshift/golang-osd-operator: Update
---
openshift/boilerplate@4bf1a59...92d91d4

commit: e54dfc24bf74099164f165a01c756f188224bc50
author: Ritu Mundhe
dockerfile template fix

commit: 6699b052ab9e59f909b8424b538d77be19ef100e
author: Michael Shen
Allow generation of embedded ObjectMeta in CRDs

This will allow for using metav1.ObjectMeta's in nested fields. Without
this option, the generated metadata field is non-functional as described
in kubernetes-sigs/controller-tools#557.

Signed-off-by: Michael Shen <[email protected]>

Co-authored-by: Alice Hubenko <[email protected]>

commit: cac1395fbae95d2dc43aeeec649dc46c04d065c4
author: Bo Meng
update owners

commit: 4c6d460e088fc7520d58cfeb2e5f457228b6ec13
author: Ritu Mundhe
fixed hardcoded operator namein osde2e convention template

commit: 56ec373e5d204115567d6a399e8cbfcdb71669cb
author: Ryan Williams
Replace addon with operator name for osde2e boilerplate

This commit modifies the following:
  * Rename the junit output filename to include operator name
  * Update readme to remove the word "addon"

commit: a000622561d57cefe749978b6505be030f3114bb
author: Ritu Mundhe
renamed test tags from "integration" to "osde2e" for specificity

commit: bbb667c6d0ad14399c2e572acab68dd01ffa3f18
author: Dustin Row
Exclude build/Dockerfile* from initial git status check

commit: 7a16980d213b68b1a982ae3a710a5cee4b983491
author: Ritu Mundhe
fix: escaped quote in template

commit: ba40cfc5f02b30b6f9c4d1f420c14da7edd8a6c3
author: Ritu Mundhe
osde2e dockerfile contains building ginkgo binary (openshift#284)

* osde2e dockerfile contains building ginkgo binary

* Update ubi version

Co-authored-by: Michael Shen <[email protected]>

* Update go base image version

Co-authored-by: Michael Shen <[email protected]>

---------

Co-authored-by: Michael Shen <[email protected]>

commit: 023d6fc8e9714428c149c7c1343e24b53449f4bd
author: Ritu Mundhe
reverting docker registry credentials for test-harness for app-interface

commit: 50a4abf7890faa6bdbda0faa03cde25b5ba64be0
author: Ritu Mundhe
updating docker registry credentials for test-harness for ci-operator

commit: b2e3e1b90c2e5a60020cba909d2112b76021f201
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

Remove project.mk

commit: 7adb0b88cea0e8527b4d32ddeb9c5425e83aa7a3
author: Diego Santamaria
Swap sed command delimiter

I believe this will explode because $TEST_IMAGE contains /s. I would use some other delimiter for that sed command -- one that can't appear in a URI -- e.g.:

Co-authored-by: Eric Fried <[email protected]>

commit: 19ae2a423b085b1ae0b650374570da1784a8daa3
author: Diego Santamaria
Add acceptance Test convention

commit: f9e6c350556d9d5845babbb46686639a01945d03
author: Diego Santamaria
Initial Commit for PD boiletPlate
@jbpratt
jbpratt force-pushed the boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980 branch from adbe496 to 40985c9 Compare June 28, 2023 12:01
@cblecker

Copy link
Copy Markdown
Member

/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 27, 2023
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 27, 2023
jbpratt added 2 commits July 28, 2023 03:12
Conventions:
- openshift/golang-osd-operator: Update
- openshift/golang-osd-operator-osde2e: Subscribe
---
openshift/boilerplate@851cc4a...33b6a98

commit: b50f89b062d2803e22cb695bc276dbe751126e44
author: Michael Shen
CGO_ENABLED=1 for FIPS compliance

Enforce that any ubi images are using ubi8/ubi-minimal

This is our agreed upon way to ensure FIPS compliance for now
https://developers.redhat.com/articles/2022/05/31/your-go-application-fips-compliant

Signed-off-by: Michael Shen <[email protected]>

commit: ff00526298e00331b92697d83d11569d8a0519ed
author: Ritu Mundhe
sdcicd-926 harness image versioning

Signed-off-by: Brady Pratt <[email protected]>
migrate tests from osde2e as a part of the decentralization effort

Signed-off-by: Brady Pratt <[email protected]>
@jbpratt
jbpratt force-pushed the boilerplate-update-2-d3612328c972f49103b8fd1be49cd8b0a387c980 branch from 40985c9 to a6c1bad Compare July 28, 2023 08:14
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 28, 2023
@openshift-ci

openshift-ci Bot commented Jul 28, 2023

Copy link
Copy Markdown
Contributor

@jbpratt: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Comment thread go.mod
@@ -1,20 +1,23 @@
module github.com/openshift/configure-alertmanager-operator

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are we bumping the golang version and all these dependencies in this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This PR is adding the initial refactored suite of tests from osde2e. This is a requirement of using the framework we are writing.

Why are we staying on an end of life version of Go?

Comment thread go.mod
k8s.io/api v0.27.2
k8s.io/apimachinery v0.27.2
k8s.io/client-go v0.27.2
sigs.k8s.io/controller-runtime v0.15.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These aren't even going to have an effect because they are replaced at the bottom

@jbpratt jbpratt Jul 28, 2023 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

they are bumped when we run go mod tidy because of the dependencies , it does not matter if they are replaced. Things work as intended within the tests regardless of the pinning below.

nvm, the operator will need updating to move forward with these

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 2, 2023
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jbpratt

jbpratt commented Oct 3, 2023

Copy link
Copy Markdown
Contributor Author

/close

@openshift-ci openshift-ci Bot closed this Oct 3, 2023
@openshift-ci

openshift-ci Bot commented Oct 3, 2023

Copy link
Copy Markdown
Contributor

@jbpratt: Closed this PR.

Details

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants