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

Fix Arm Virtual Hardware CI workflow #2479

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MatthiasHertel80
Copy link
Contributor

@MatthiasHertel80 MatthiasHertel80 commented Feb 27, 2024

Description

The existing tests for Cortex-M and Arm Compiler 6 use Arm Virtual Hardware instances on AWS. Same function is now supplied in a docker image available on the Github Container Registry, allowing to execute tests directly on GH runners.
The image:
docker pull ghcr.io/arm-software/avh-mlops/arm-mlops-docker-licensed-community:latest

on:
schedule:
- cron: '0 4 * * *'
on: [push, pull_request]
Copy link
Collaborator

Choose a reason for hiding this comment

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

As written, this will run on every push to any branch and on every PR event. I'm going to revise this to a more narrow subset. I'm thinking ci:run_full and postmerge makes sense for this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Mans: this could probably be run pre-merge.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@MatthiasHertel80 - I can't modify your main branch, so I can't update this myself. I'm going to suggest this:

on:
  # Allow manually triggering of the workflow.
  workflow_dispatch: {}

  workflow_call:
    inputs:
      trigger-sha:
        required: true
        type: string
    secrets:
      tflm-bot-token:
        required: true

I want to test it out in CI first, then start requiring it for PRs.

@rascani rascani self-requested a review March 7, 2024 18:40
Copy link
Contributor

github-actions bot commented May 6, 2024

"This PR is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

@github-actions github-actions bot added the Stale label May 6, 2024
@rascani rascani removed the Stale label May 6, 2024
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.

None yet

2 participants