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

Add QMEU to goreleaser #2936

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Conversation

awgreene
Copy link
Member

No description provided.

@openshift-ci openshift-ci bot requested review from grokspawn and njhale March 13, 2023 19:17
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 13, 2023
@awgreene awgreene force-pushed the add-qemu branch 2 times, most recently from 432a179 to 69ba4c5 Compare March 13, 2023 22:28
@awgreene awgreene changed the title DRAFT: Adds QMEU to goreleaser Add QMEU to goreleaser Mar 13, 2023
@awgreene
Copy link
Member Author

awgreene commented Mar 13, 2023

I've tested it here, binaries were built successfully, job failed due to missing credentials. This PR should be good to go.

@awgreene
Copy link
Member Author

Left the experiment env var in, should have removed it.
/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 Mar 13, 2023
@awgreene
Copy link
Member Author

Works fine without the experimental env var.
/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 Mar 14, 2023
Comment on lines 40 to 43
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Copy link
Contributor

Choose a reason for hiding this comment

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

So, this is needed due to support different platforms, or??

Copy link
Contributor

Choose a reason for hiding this comment

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

(Or to make docker happy?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Both. Right now the release workflow is failing because docker isn't pulling the correct image architecture and QEMU will help that.

@m1kola
Copy link
Member

m1kola commented Mar 14, 2023

/lgtm

Probably out of scope for this PR - do we need this workflow to run on PRs at all? It looks like most of the steps are being skipped and only checkout, go setup and QEMU setup are being performed

Edit: updated the image with latest changes in the PR.

Screenshot 2023-03-14 at 14 24 03

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

tmshort commented Mar 14, 2023

I agree with @m1kola that this doesn't need to be run on PR.
Relatively simple (future) change:


/lgtm
/appove

@openshift-ci
Copy link

openshift-ci bot commented Mar 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, tmshort

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

This commit updates the goreleaser github action to install QMEU to
support emulation of multiple architectures.

Signed-off-by: Alexander Greene <greene.al1991@gmail.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 14, 2023
@tmshort
Copy link
Contributor

tmshort commented Mar 14, 2023

I'm assuming you did a rebase.
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 14, 2023
@awgreene awgreene merged commit dac8182 into operator-framework:master Mar 14, 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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants