salt/.github/workflows/templates
Pedro Algarvio 54ae2e5e84 The setup-python-tools-scripts actions now takes care of all the caching
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-23 08:44:35 +00:00
..
build-ci-deps.yml.jinja The build CI deps jobs are now behind the build-deps-ci flag 2023-10-09 18:32:37 +01:00
build-deb-repo.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
build-macos-repo.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
build-onedir-repo.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
build-packages.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
build-repos.yml.jinja In that case, group under the Build Repository display name 2023-10-07 08:37:06 +01:00
build-rpm-repo.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
build-src-repo.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
build-windows-repo.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
ci.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
layout.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
nightly.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
README.md Add .github/workflows/templates/README.md 2023-02-04 14:11:36 +00:00
release.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
scheduled.yml.jinja Reformat run-name on workflows 2023-03-16 21:00:40 +00:00
staging.yml.jinja The setup-python-tools-scripts actions now takes care of all the caching 2023-11-23 08:44:35 +00:00
test-package-downloads-action.yml.jinja Download the correct nox artifact for arm64 download tests 2023-11-19 19:42:05 +00:00
test-salt-pkg-repo-downloads.yml.jinja Even the release workflow should be working now 2023-10-09 18:32:37 +01:00
test-salt-pkg.yml.jinja Don't use separate jobs, just use the matrix 2023-11-14 20:42:57 +00:00
test-salt.yml.jinja More explicit variable name 2023-11-14 20:42:57 +00:00
trigger-branch-workflows.yml.jinja Update .github/, cicd/, pkg/ and tools/ to latest 3006.x 2023-07-19 08:49:10 +01:00
workflow-requirements-check.yml.jinja Update .github/, cicd/, pkg/ and tools/ to latest 3006.x 2023-07-19 08:49:10 +01: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.