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

Consider Entrypoint Workflow Requirements #190

Open
CodeGat opened this issue Feb 14, 2025 · 0 comments
Open

Consider Entrypoint Workflow Requirements #190

CodeGat opened this issue Feb 14, 2025 · 0 comments
Assignees
Labels
CI 2.0 Relating to the second iteration of build-ci priority:high A high priority issue - has an impact on core functionality type:investigation look into options, do some research!

Comments

@CodeGat
Copy link
Member

CodeGat commented Feb 14, 2025

In a similar vein to build-cd, we need to decide how Model Component Repositories (MCRs?) will interface with an updated build-ci.

Usually, we do this via Entrypoint Workflows, which are on.workflow_call-triggered workflows stored in build-ci. Also consider using Custom Actions.

Considerations

  • An entrypoint workflow should contain a minimal amount of required arguments (preferably getting input via files stored on the Model Component Repository), defaults of which should be handled by the entrypoint workflow. This is so there are minimal major version updates to Model Component Repositories when the Entrypoint Workflows change.
  • An Entrypoint workflow should consider multiple types of invocation - on.pull_request, on.push, on.workflow_dispatch...even on.repository_dispatch or webhook event. Usually, we have enough information within the existing contexts to handle what must be done for different triggers. Consider a defaults job that sets the required inputs regardless of trigger event.
  • Output important information from these jobs. Don't discount the possibility that MCRs will have custom logic post-entrypoint workflow.
@CodeGat CodeGat added CI 2.0 Relating to the second iteration of build-ci priority:high A high priority issue - has an impact on core functionality type:investigation look into options, do some research! labels Feb 14, 2025
@CodeGat CodeGat self-assigned this Feb 14, 2025
@CodeGat CodeGat moved this to New Issues 🌅 in Build-ci 2.0 Feb 14, 2025
@CodeGat CodeGat changed the title Consider Entrypoint Workflows Consider Entrypoint Workflow Requirements Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 2.0 Relating to the second iteration of build-ci priority:high A high priority issue - has an impact on core functionality type:investigation look into options, do some research!
Projects
Status: New Issues 🌅
Development

No branches or pull requests

1 participant