salt/.github/workflows/templates
2024-03-28 13:41:54 +00:00
..
build-ci-deps.yml.jinja Now the hashes will match, no more windows line breaks to mess it up 2024-01-17 16:58:39 -07:00
build-deb-repo.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
build-deps-ci-action.yml.jinja Use `attrs` to simplify OS definitions 2024-03-28 13:41:54 +00:00
build-macos-repo.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
build-onedir-repo.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
build-packages.yml.jinja Make jinja rendering strict. Undefined variable use throws error. 2024-03-28 13:41:54 +00:00
build-repos.yml.jinja Initial commit of s3 caching 2024-03-19 19:09:56 +00:00
build-rpm-repo.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
build-src-repo.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
build-windows-repo.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
ci.yml.jinja Make jinja rendering strict. Undefined variable use throws error. 2024-03-28 13:41:54 +00:00
layout.yml.jinja Always print the collected runners 2024-03-28 13:41:54 +00:00
nightly.yml.jinja Fix some more places where we need to use `actions/{upload,download}-artifact@v3` 2024-01-24 19:39:49 +00:00
README.md Add .github/workflows/templates/README.md 2023-02-04 14:11:36 +00:00
release.yml.jinja Initial commit of s3 caching 2024-03-19 19:09:56 +00:00
scheduled.yml.jinja Reduce the amount of annotations on workflows. Suggested by GitHub. 2024-01-17 16:58:39 -07:00
staging.yml.jinja Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +00:00
test-package-downloads-action.yml.jinja Use `attrs` to simplify OS definitions 2024-03-28 13:41:54 +00:00
test-salt-pkg-repo-downloads.yml.jinja Rely on uploaded artifacts instead of the GH cache 2024-01-24 19:39:49 +00:00
test-salt-pkg.yml.jinja Check against an array, not a string 2024-03-28 13:41:54 +00:00
test-salt.yml.jinja Check against an array, not a string 2024-03-28 13:41:54 +00:00
trigger-branch-workflows.yml.jinja Prefer GitHub hosted actions runners 2024-01-17 16:58:39 -07:00
workflow-requirements-check.yml.jinja Prefer GitHub hosted actions runners 2024-01-17 16:58:39 -07:00

Workflow Templates

The templates are used to generate the actual workflows that run on GitHub Actions. They use Jinja2 as the template engine.

To Note

Let's try to keep the Jinja usage to the bare minimum because, as time passes, the complexity just piles up making it harder to read and interpret the templates.

Changes To Default Jinja Syntax

By default Jinja uses {% ... %}, {{ ... }}, {# ... #}, etc to do it's magic. In order not to clash with the GitHub Actions syntax, and to also avoid having to add bunch of {% raw %} ... {% endraw %} blocks, we changed some things:

  • Instead of {% and %} use <% and %>
  • Instead of {{ and }} use <{ and }>

The rest of Jinja2 defaults apply.