Skip to content

Add multi-platform builds - #175

Merged
Stuart Leeks (stuartleeks) merged 26 commits into
devcontainers:mainfrom
natescherer:feature/multiple-architectures
Nov 16, 2022
Merged

Stuart Leeks (stuartleeks) merged 26 commits into
devcontainers:mainfrom
natescherer:feature/multiple-architectures

Conversation

@natescherer

Copy link
Copy Markdown
Contributor

Hello!
This PR adds a platform input to both the GitHub Action and AzDO Task to allow mutli-platform builds. I've tested each successfully. I've also done my best to minimally modify the structure of the action/task.

Fixes part of #151.

Please let me know if you have any questions/changes!

@natescherer Nate Scherer (natescherer) changed the title Add mutli-platform builds Oct 20, 2022
@natescherer

Nate Scherer (natescherer) commented Oct 25, 2022 •

Copy link
Copy Markdown
Contributor Author

Not sure why that test is failing? I've run build-local.sh multiple times and it doesn't show any changes, but the CI build test shows uncommitted changes to azdo-task/DevcontainersCi/dist/index.js.

@stuartleeks

Copy link
Copy Markdown
Collaborator

That's odd! I just grabbed the code and ran build-local.sh on my machine and pushed a commit with the change.

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 74be82

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

⚠️ When specifying a commit SHA it must be at least 7 characters (received 74be82)

(in response to this comment from Stuart Leeks (@stuartleeks))

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 74be822

@github-actions

Copy link
Copy Markdown
@stuartleeks

Copy link
Copy Markdown
Collaborator

Thanks Nate Scherer (@natescherer) - this looks really interesting.

Based on the discussion in #150, it looks as though the platform input can be used alongside runCmd, is that correct?

It would be great to have a test that includes platform and runCmd to ensure that combination is validated going forwards.

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 07ef2d2

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown

🤖 pr-bot 🤖

⚠️ Cannot run tests as PR is not mergeable. Ensure that the PR is open and doesn't have any conflicts.

(in response to this comment from Stuart Leeks (@stuartleeks))

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 07ef2d2

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown

🤖 pr-bot 🤖

⚠️ The specified SHA 07ef2d2 is not the latest commit on the PR. Please validate the latest commit and re-run /test

(in response to this comment from Stuart Leeks (@stuartleeks))

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 003715a

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the PR! Didn't do a detailed review, but left a comment.

Comment thread github-action/src/main.ts Resolved
@natescherer

Copy link
Copy Markdown
Contributor Author

Looks like that latest merge from main meant build-local.sh needed ran again, which was blocking tests.

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 8e5e453

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown
@stuartleeks

Copy link
Copy Markdown
Collaborator

/test 1227e56

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown
@natescherer

Copy link
Copy Markdown
Contributor Author

Oops, it looks like I forgot to revert my AzDO task version bump from when I was testing out the extension, sorry about that. This should get past that build bug.

@stuartleeks

Copy link
Copy Markdown
Collaborator

/test c2ec738

@github-actions

github-actions Bot commented Nov 5, 2022

Copy link
Copy Markdown

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good - thanks for the contribution!

@stuartleeks
Stuart Leeks (stuartleeks) merged commit 4c62d3f into devcontainers:main Nov 16, 2022
@Chuxel

Chuck Lantz (Chuxel) commented Nov 16, 2022 •

Copy link
Copy Markdown
Member

Thanks for this! Really appreciate the multi-repo PRs and thought you put into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants