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

OCPBUGS-22854: The microshift-release-info RPM is no longer required and it contains sample blueprints #2634

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

ggiguash
Copy link
Contributor

Also added code to the spec file to declare all the directories under /usr/share/microshift to make sure they are cleaned up on uninstall.

$ ls -Rl /usr/share/microshift/
/usr/share/microshift/:
total 0
drwxr-xr-x. 2 root root 65 Nov 21 14:04 blueprint
drwxr-xr-x. 2 root root 26 Nov 21 14:04 functions
drwxr-xr-x. 2 root root 61 Nov 21 14:04 release
drwxr-xr-x. 2 root root 38 Nov 21 14:04 spec

/usr/share/microshift/blueprint:
total 8
-rw-r--r--. 1 root root 3443 Nov 21 14:00 blueprint-aarch64.toml
-rw-r--r--. 1 root root 3441 Nov 21 14:00 blueprint-x86_64.toml

/usr/share/microshift/functions:
total 12
-rw-r--r--. 1 root root 8855 Nov 21 11:33 greenboot.sh

/usr/share/microshift/release:
total 8
-rw-r--r--. 1 root root 2469 Nov 21 11:19 release-aarch64.json
-rw-r--r--. 1 root root 2463 Nov 21 11:19 release-x86_64.json

/usr/share/microshift/spec:
total 8
-rw-r--r--. 1 root root 5002 Nov 21 11:54 config-openapi-spec.json

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Nov 21, 2023
@openshift-ci-robot
Copy link

@ggiguash: This pull request references Jira Issue OCPBUGS-22854, 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.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jogeo

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

In response to this:

Also added code to the spec file to declare all the directories under /usr/share/microshift to make sure they are cleaned up on uninstall.

$ ls -Rl /usr/share/microshift/
/usr/share/microshift/:
total 0
drwxr-xr-x. 2 root root 65 Nov 21 14:04 blueprint
drwxr-xr-x. 2 root root 26 Nov 21 14:04 functions
drwxr-xr-x. 2 root root 61 Nov 21 14:04 release
drwxr-xr-x. 2 root root 38 Nov 21 14:04 spec

/usr/share/microshift/blueprint:
total 8
-rw-r--r--. 1 root root 3443 Nov 21 14:00 blueprint-aarch64.toml
-rw-r--r--. 1 root root 3441 Nov 21 14:00 blueprint-x86_64.toml

/usr/share/microshift/functions:
total 12
-rw-r--r--. 1 root root 8855 Nov 21 11:33 greenboot.sh

/usr/share/microshift/release:
total 8
-rw-r--r--. 1 root root 2469 Nov 21 11:19 release-aarch64.json
-rw-r--r--. 1 root root 2463 Nov 21 11:19 release-x86_64.json

/usr/share/microshift/spec:
total 8
-rw-r--r--. 1 root root 5002 Nov 21 11:54 config-openapi-spec.json

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.

@openshift-ci openshift-ci bot requested a review from jogeo November 21, 2023 14:06
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 21, 2023
@ggiguash
Copy link
Contributor Author

/retest-required

packaging/rpm/microshift.spec Outdated Show resolved Hide resolved
packaging/rpm/microshift.spec Show resolved Hide resolved
packaging/rpm/microshift.spec Outdated Show resolved Hide resolved
@ggiguash
Copy link
Contributor Author

/retest-required

@ggiguash
Copy link
Contributor Author

/test microshift-metal-tests

@ggiguash
Copy link
Contributor Author

ggiguash commented Dec 1, 2023

/retest-required

@ggiguash
Copy link
Contributor Author

ggiguash commented Dec 1, 2023

/test ocp-conformance-rhel-eus

@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Dec 5, 2023
@ggiguash
Copy link
Contributor Author

ggiguash commented Dec 6, 2023

/test metal-periodic-test-arm microshift-metal-tests-arm ocp-conformance-rhel-eus-arm

@pmtk
Copy link
Member

pmtk commented Dec 6, 2023

/test metal-periodic-test-arm
/lgtm

@@ -336,12 +357,19 @@ systemctl enable --now --quiet openvswitch || true
%config(noreplace) %{_sysconfdir}/microshift/lvmd.yaml.default
%config(noreplace) %{_sysconfdir}/microshift/ovn.yaml.default

%dir %{_datadir}/microshift
%dir %{_datadir}/microshift/spec
Copy link
Contributor

Choose a reason for hiding this comment

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

What goes into the spec dir?

Copy link
Member

Choose a reason for hiding this comment

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

From PR desc:

/usr/share/microshift/spec:
total 8
-rw-r--r--. 1 root root 5002 Nov 21 11:54 config-openapi-spec.json

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing from this PR. I was making sure that all directories are declared.
Otherwise, they're not cleaned on uninstall.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you're asking a general question.

$ ls -l /usr/share/microshift/spec/
total 8
-rw-r--r--. 1 root root 5002 Nov 21 14:41 config-openapi-spec.json

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 6, 2023
Copy link
Contributor

openshift-ci bot commented Dec 6, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ggiguash, pmtk

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:

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

@ggiguash
Copy link
Contributor Author

ggiguash commented Dec 6, 2023

/override ci/prow/metal-periodic-test-arm
The failure has nothing to do with the current change

Copy link
Contributor

openshift-ci bot commented Dec 6, 2023

@ggiguash: Overrode contexts on behalf of ggiguash: ci/prow/metal-periodic-test-arm

In response to this:

/override ci/prow/metal-periodic-test-arm
The failure has nothing to do with the current change

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.

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD cac4d98 and 2 for PR HEAD 94103c5 in total

Copy link
Contributor

openshift-ci bot commented Dec 6, 2023

@ggiguash: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/metal-periodic-test 6c9eadf link true /test metal-periodic-test

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

@ggiguash
Copy link
Contributor Author

ggiguash commented Dec 7, 2023

The failures are not related to the current changes.

/override ci/prow/microshift-metal-tests
/override ci/prow/microshift-metal-tests-arm

Copy link
Contributor

openshift-ci bot commented Dec 7, 2023

@ggiguash: Overrode contexts on behalf of ggiguash: ci/prow/microshift-metal-tests, ci/prow/microshift-metal-tests-arm

In response to this:

The failures are not related to the current changes.

/override ci/prow/microshift-metal-tests
/override ci/prow/microshift-metal-tests-arm

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.

@openshift-merge-bot openshift-merge-bot bot merged commit a1cf930 into openshift:main Dec 7, 2023
10 checks passed
@openshift-ci-robot
Copy link

@ggiguash: Jira Issue OCPBUGS-22854: All pull requests linked via external trackers have merged:

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

In response to this:

Also added code to the spec file to declare all the directories under /usr/share/microshift to make sure they are cleaned up on uninstall.

$ ls -Rl /usr/share/microshift/
/usr/share/microshift/:
total 0
drwxr-xr-x. 2 root root 65 Nov 21 14:04 blueprint
drwxr-xr-x. 2 root root 26 Nov 21 14:04 functions
drwxr-xr-x. 2 root root 61 Nov 21 14:04 release
drwxr-xr-x. 2 root root 38 Nov 21 14:04 spec

/usr/share/microshift/blueprint:
total 8
-rw-r--r--. 1 root root 3443 Nov 21 14:00 blueprint-aarch64.toml
-rw-r--r--. 1 root root 3441 Nov 21 14:00 blueprint-x86_64.toml

/usr/share/microshift/functions:
total 12
-rw-r--r--. 1 root root 8855 Nov 21 11:33 greenboot.sh

/usr/share/microshift/release:
total 8
-rw-r--r--. 1 root root 2469 Nov 21 11:19 release-aarch64.json
-rw-r--r--. 1 root root 2463 Nov 21 11:19 release-x86_64.json

/usr/share/microshift/spec:
total 8
-rw-r--r--. 1 root root 5002 Nov 21 11:54 config-openapi-spec.json

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.

@ggiguash ggiguash deleted the dynamic_bprint_rpm branch December 7, 2023 16:43
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/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.

None yet

5 participants