salt/.github/workflows/templates
2024-02-01 09:00:02 +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 Be sure to raise the RuntimeError's in the CI context 2024-01-24 19:39:49 +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 Reduce the number of workflows referenced 2024-01-17 16:58:39 -07:00
build-repos.yml.jinja Reduce the number of workflows referenced 2024-01-17 16:58:39 -07: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 Merge 3006.x into 3007.x 2024-02-01 09:00:02 +00:00
layout.yml.jinja Merge 3006.x into 3007.x 2024-01-31 16:13:22 +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 Switch to actions/upload-artifact@v4 and actions/download-artifact@v4 2024-01-24 19:39:49 +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 Fix artifact downloads when testing package downloads 2024-01-25 15:34:33 +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 Rely on uploaded artifacts instead of the GH cache 2024-01-24 19:39:49 +00:00
test-salt.yml.jinja Rely on uploaded artifacts instead of the GH cache 2024-01-24 19:39:49 +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.