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

GitHub Actions for mbed-os-env image #7

Merged
merged 33 commits into from
Mar 26, 2021
Merged

Conversation

saheerb
Copy link
Collaborator

@saheerb saheerb commented Mar 5, 2021

Changes:

  • GitHub Actions and first stab at versioning images
  • Build multiarch with cache
  • Merged cliv1 & cliv2 into one single image

Two workflows:

  • For PR
  • For Nightly manual workflow (aka workflow dispatch) and commit on master, and

There is a lot of code duplication as GitHub Action doesn't support template jobs yet.

Still TODO:

  • Workflow for deleting dangling Dev images
  • Tag this repository in "deploy job"

@saheerb saheerb requested a review from jamesbeyond March 5, 2021 01:03
@saheerb
Copy link
Collaborator Author

saheerb commented Mar 5, 2021

Comments from Jaeden:

  • Need to look into pruning strategy in dockerhub
  • Check if the workflow re-entrant / block parallel runs

@@ -33,23 +46,32 @@ RUN pip3 install -U \
mbed-tools

# Set up mbed environment
WORKDIR /root/
WORKDIR /tmp/
RUN wget https://github.com/ARMmbed/mbed-os/raw/master/requirements.txt && \
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This need to point to a version of mbed-os currently built for.

@saheerb saheerb marked this pull request as ready for review March 26, 2021 08:14
@saheerb saheerb merged commit ff8431e into ARMmbed:master Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant