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 workflow for Just / Make #57

Open
spwoodcock opened this issue Oct 15, 2024 · 0 comments
Open

Add workflow for Just / Make #57

spwoodcock opened this issue Oct 15, 2024 · 0 comments

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Oct 15, 2024

Instead of writing a Github specific workflow for each task, why not:

  • Write all logic in Just / Make.
  • Have a simple GH workflow to run any arbitrary Just / Make command.
  • Replace most workflows with the same workflow, but different commands.

This way we are more platform agnostic, plus it's easier to test CI locally.

Workflow Steps

  1. Checkout code
  2. Copy all secrets to env like this https://github.com/oNaiPs/secrets-to-env-action then also write env to a .env file.
  3. Install Just.
  4. Run just xxx allowing any command to be used.

Note

We should probably have the docker build workflows as an exception as they have caching and multi arch support built in (hard to replicate).

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

No branches or pull requests

1 participant