Skip to content

USHIFT-1085: feat: support prerun with minimal services#1978

Merged
openshift-merge-robot merged 1 commit intoopenshift:mainfrom
eggfoobar:minimal_microshift_run
Jun 30, 2023
Merged

USHIFT-1085: feat: support prerun with minimal services#1978
openshift-merge-robot merged 1 commit intoopenshift:mainfrom
eggfoobar:minimal_microshift_run

Conversation

@eggfoobar
Copy link
Copy Markdown
Contributor

Added function to launch minimal MicroShift services when needed. For now the idea is to keep it as a local function for prerun until we need to expose it. I tried to keep it simple at the call site by not sending the channels back to the caller to handle.

This PR supports #1956

/assign @pmtk

added function to launch minimal microshift services when needed

Signed-off-by: ehila <ehila@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 30, 2023
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Jun 30, 2023

@eggfoobar: This pull request references USHIFT-1085 which is a valid jira issue.

Details

In response to this:

Added function to launch minimal MicroShift services when needed. For now the idea is to keep it as a local function for prerun until we need to expose it. I tried to keep it simple at the call site by not sending the channels back to the caller to handle.

This PR supports #1956

/assign @pmtk

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 review from dhellmann and pmtk June 30, 2023 04:20
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 30, 2023
Comment on lines +192 to +196
stop, err := runMinimalMicroshift(pr.config)
if err != nil {
return fmt.Errorf("minimal MicroShift run failed to be ready: %w", err)
}
defer stop()
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.

We can put these lines and L220-L224 to a separate function, like a migrateStorage that would call runMinimalMicroshift() and run the migrator

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.

Sounds like a plan, do you want me to put that in a separate function in this PR, or do it in #1956 ?

@pmtk
Copy link
Copy Markdown
Member

pmtk commented Jun 30, 2023

/test ?

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 30, 2023

@pmtk: The following commands are available to trigger required jobs:

  • /test e2e-openshift-conformance-reduced
  • /test images
  • /test microshift-e2e
  • /test test-srpm
  • /test test-unit
  • /test verify

The following commands are available to trigger optional jobs:

  • /test e2e-openshift-conformance-reduced-arm
  • /test microshift-e2e-arm
  • /test microshift-metal-tests
  • /test microshift-metal-tests-arm
  • /test test-rebase

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-microshift-main-e2e-openshift-conformance-reduced
  • pull-ci-openshift-microshift-main-e2e-openshift-conformance-reduced-arm
  • pull-ci-openshift-microshift-main-images
  • pull-ci-openshift-microshift-main-microshift-e2e
  • pull-ci-openshift-microshift-main-microshift-e2e-arm
  • pull-ci-openshift-microshift-main-test-unit
  • pull-ci-openshift-microshift-main-verify
Details

In response to this:

/test ?

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.

@pmtk
Copy link
Copy Markdown
Member

pmtk commented Jun 30, 2023

/test microshift-metal-tests

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 30, 2023

@eggfoobar: The following tests 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/microshift-metal-tests ac7f7a9 link false /test microshift-metal-tests
ci/prow/e2e-openshift-conformance-reduced-arm ac7f7a9 link false /test e2e-openshift-conformance-reduced-arm

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.

@pmtk
Copy link
Copy Markdown
Member

pmtk commented Jun 30, 2023

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 30, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described 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

@openshift-merge-robot openshift-merge-robot merged commit 7469f5e into openshift:main Jun 30, 2023
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-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.

4 participants