Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLID-232,OCPBUGS-38339,OCPBUGS-38343,OCPBUGS-38233: Create release signature configmap #924

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

lmzuccarelli
Copy link
Contributor

@lmzuccarelli lmzuccarelli commented Sep 12, 2024

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
  platform:
    channels:
    - name: stable-4.16
      minVersion: 4.16.0
      maxVersion: 4.16.0

Execute oc-mirror mirror to disk workflow

bin/oc-mirror --config clid-232.yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config clid-232.yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a files with naming convention signature-configmap.json and signature-configmap.yaml

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the disk-to-mirror workflow has been executed , verify that here should be both json and yaml files (with configmap structure) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the disk-to-mirror workflow has been executed , verify that here should be both json and yaml files (with configmap structure) in the directory "working-dir/cluster-resources"

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 12, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 12, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 12, 2024
@lmzuccarelli
Copy link
Contributor Author

/retest

Copy link
Contributor

@sherine-k sherine-k left a comment

Choose a reason for hiding this comment

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

Hi @lmzuccarelli,
Thanks so much for the PR, I left a few comments, especially for go.work.sum.
Let' s discuss them together.

v2/internal/pkg/api/v2alpha1/type_configmap.go Outdated Show resolved Hide resolved
v2/internal/pkg/release/signature.go Outdated Show resolved Hide resolved
go.work.sum Outdated Show resolved Hide resolved
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 16, 2024
@lmzuccarelli lmzuccarelli changed the title CLID-232: Create release signature configmap CLID-232,OCPBUGS-38339,OCPBUGS-38343: Create release signature configmap Sep 16, 2024
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Sep 16, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 16, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-38343, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 16, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 16, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure) in the directory "working-dir/cluster-reousrces"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 16, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@lmzuccarelli lmzuccarelli changed the title CLID-232,OCPBUGS-38339,OCPBUGS-38343: Create release signature configmap CLID-232,OCPBUGS-38339,OCPBUGS-38343,OCPBUGS-38233: Create release signature configmap Sep 16, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 16, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-38233, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 16, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

This pull request references Jira Issue OCPBUGS-38233, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhouying7780

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

Comment on lines 178 to 184

cr := clusterresources.New(o.Log, o.Opts.Global.WorkingDir, o.Config, "")
err = cr.GenerateSignatureConfigMap(digest, id, data)
if err != nil {
o.Log.Error("%v", err)
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Currently all the clusterresources are being generated in the executor.go, the generation of the SignaturesConfigMap could follow the same standard.

Here is an example:

if !o.Opts.IsDryRun {

Having the generation of the SignatureConfigMap in the executor could bring some benefits:

  • The SignatureConfigMap will be generated only if the workflow finished successfully (in the collector it will be always generated)
  • If the customer is running a dry run, having it in the executor.go will avoid the generation of the SignatureConfigMap (in the collector it will be always generated)
  • Having the clusterresources being generated at only one place is easy to maintain the code in the long term
  • Since the executor already has the dependency on the clusterresources pkg it is possible to avoid an additional dependency of the clusterresources pkg in the collector pkg
  • Having the release collector calling the clusterresources (write results) pkg directly will break the architecture defined here: https://github.com/openshift/oc-mirror/blob/main/v2/assets/architecture.png where the executor should be the responsible to call the clusterresources (write results)

}
// read the signatures directory
sigDir := filepath.Join(o.WorkingDir, signatureDir)
signatures, err := os.ReadDir(sigDir)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @lmzuccarelli
Wouldn't we be creating configMaps for all the releases that were ever mirrored in this manner?
Another possibility here would be to use something similar to CatalogSourceGenerator: we could use the release image digests to track the signature files needed?
WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes - actually its simpler than that I''ll just add to the hashmap created for the BinaryData field . Good catch

Copy link
Contributor

@sherine-k sherine-k left a comment

Choose a reason for hiding this comment

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

Hi @lmzuccarelli
I like the separation of concerns much better this way!
Thanks

@lmzuccarelli
Copy link
Contributor Author

/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 Sep 18, 2024
@lmzuccarelli
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 19, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 20, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38233, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 20, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38233, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 20, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38233, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror mirror to disk workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a file with naming convention sha256-digest-id.json

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 20, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38233, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror mirror to disk workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a files with naming convention signature-configmap.json and signature-configmap.yaml

(in the above example I get)

sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1.json

Also ensure the contents of the configmap json has a binary data field with and index in the form of the file name (without the ".json")

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 20, 2024

@lmzuccarelli: This pull request references CLID-232 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-38339, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38343, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

This pull request references Jira Issue OCPBUGS-38233, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @kasturinarra

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror mirror to disk workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a files with naming convention signature-configmap.json and signature-configmap.yaml

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@kasturinarra
Copy link

kasturinarra commented Sep 20, 2024

Completed testing CLID-232 and found two issues, listing the same here:

  1. After d2m the folder path shown for signature configmap is missing a / see here 024/09/20 11:39:57 [INFO] : [CLID-232](https://issues.redhat.com//browse/CLID-232)/working-dir/cluster-resourcessignature-configmap.json file created, 2024/09/20 11:39:57 [INFO] : [CLID-232](https://issues.redhat.com//browse/CLID-232)/working-dir/cluster-resourcessignature-configmap.yaml file created -> this looks to me as bug
  2. Binary data contains sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3-1: only after that it contains the actual content when run cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64 and base64 also contains a = at the end
    cc: @lmzuccarelli

@lmzuccarelli
Copy link
Contributor Author

@kasturinarra - thanks for the feedback , I'll update and fix asap.

@lmzuccarelli
Copy link
Contributor Author

@kasturinarra - I have updated as requested and addressed the version-arch prefix problem

Copy link
Contributor

@sherine-k sherine-k left a comment

Choose a reason for hiding this comment

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

Thanks @lmzuccarelli

v2/internal/pkg/mirror/options.go Outdated Show resolved Hide resolved
v2/internal/pkg/release/signature.go Outdated Show resolved Hide resolved
Copy link

openshift-ci bot commented Sep 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lmzuccarelli, sherine-k

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [lmzuccarelli,sherine-k]

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

@aguidirh
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 23, 2024
Copy link

openshift-ci bot commented Sep 23, 2024

@lmzuccarelli: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit a5a32fa into openshift:main Sep 23, 2024
5 checks passed
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 23, 2024

@lmzuccarelli: Jira Issue OCPBUGS-38339: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-38339 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-38343: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-38343 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-38233: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-38233 has been moved to the MODIFIED state.

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror mirror to disk workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a files with naming convention signature-configmap.json and signature-configmap.yaml

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a json file (with configmap structure in json) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the tar file has been produced in the (mirror-to-disk) workflow, untar the contents and there should be a yaml file (with configmap structure in yaml format) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: oc-mirror-plugin
This PR has been included in build oc-mirror-plugin-container-v4.18.0-202409231040.p0.ga5a32fa.assembly.stream.el9.
All builds following this will include this PR.

sherine-k pushed a commit to sherine-k/oc-mirror that referenced this pull request Sep 27, 2024
…gnature configmap (openshift#924)

* Update to address issues from review

* Add yaml support

* Update to move logic to executor

* Update to tie release tag and digest for signature configmap

* Update form QE feedback
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 30, 2024

@lmzuccarelli: Jira Issue OCPBUGS-38339 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

Jira Issue OCPBUGS-38343: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-38343 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-38233 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

In response to this:

Description

Add the release signature configmap for oc-mirror v2 (json format compatible with v1) to the cluster-resources folder of oc-mirror

This fix also addresses the bug fixes for OCPBUGS-38339 and OCPBUGS-38343

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Use the following imagesetconfig

apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
 platform:
   channels:
   - name: stable-4.16
     minVersion: 4.16.0
     maxVersion: 4.16.0

Execute oc-mirror mirror to disk workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml file://clid-232 --v2

Now execute the disk to mirror workflow

bin/oc-mirror --config [clid-232](https://issues.redhat.com//browse/clid-232).yaml --from file://clid-232  docker://localhost:5000/clid-232 --v2 --tls-verify=false

Expected Outcome

Check the working-dir/cluster-resources folder there should be a files with naming convention signature-configmap.json and signature-configmap.yaml

To verify the contents of this field execute the following bash cli The working-dir/signatures/ folder has the same digest

cat working-dir/signatures/4.16.0-x86_64-sha256-3717338045df06e31effea46761b2c7e90f543cc4f00547af8158dd6aea868c3 | base64

The value output should match the contents of the config map (BinaryData section)

Verify the bug fixes

OCPBUGS-38339

In the jira ticket follow the steps to re-produce the bug, there should be no panic but an error with appropriate message

OCPBUGS-38343

Once the disk-to-mirror workflow has been executed , verify that here should be both json and yaml files (with configmap structure) in the directory "working-dir/cluster-resources"

OCPBUGS-38233

Once the disk-to-mirror workflow has been executed , verify that here should be both json and yaml files (with configmap structure) in the directory "working-dir/cluster-resources"

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 openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants