Skip to content

add: Print out parameters used in CodeFlare release workflow #332

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

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

VanillaSpoon
Copy link
Contributor

Issue link

closes #331

What changes have been made

This pr adds an additional job to the project codeflare release workflow, which will log the parameters set for the workflow.

The parameters will now be visible form Actions, Project CodeFlare Release , and under the heading Jobs.

My reasoning to the separation of these logs into a Job, rather than in one of the logs of an already present job, is that this separation allows for the logs to be displayed even if any particular job is skipped.

ie) From Project CodeFlare Release 2, the parameters are visible in release-codeflare-operator due to the tag-and-build command:

Run gh workflow run tag-and-build.yml --repo project-codeflare/codeflare-operator --ref refs/heads/main --field is-stable=true --field version=v0.1.0 --field replaces=v0.0.6 --field mcad-version=v1.33.0 --field codeflare-sdk-version=v0.6.1 --field instascale-version=v0.0.6 --field quay-organization=project-codeflare --field community-operators-prod-fork-organization=project-codeflare --field community-operators-prod-organization=redhat-openshift-ecosystem

However, in Project Codeflare Release 6 where the release-codeflare-operator is skipped, one would be unable to gather these values.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

@VanillaSpoon VanillaSpoon requested review from sutaakar and removed request for anishasthana and tedhtchang October 12, 2023 11:35
@sutaakar
Copy link
Contributor

/lgtm
thanks

@sutaakar
Copy link
Contributor

/approve

@openshift-ci
Copy link

openshift-ci bot commented Oct 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sutaakar

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

@openshift-ci openshift-ci bot merged commit 04d4b43 into project-codeflare:main Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print out parameters used in CodeFlare release workflow to the log
2 participants