salt/.github/workflows/templates
Pedro Algarvio 2a65c3e025 Pass along the relenv version that should be used.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
..
build-deb-repo.yml.jinja Start publishing the nightly builds to the release bucket under salt-dev/<branch> 2023-04-29 18:18:53 +01:00
build-macos-repo.yml.jinja Start publishing the nightly builds to the release bucket under salt-dev/<branch> 2023-04-29 18:18:53 +01:00
build-onedir-repo.yml.jinja Start publishing the nightly builds to the release bucket under salt-dev/<branch> 2023-04-29 18:18:53 +01:00
build-packages.yml.jinja Pass along the relenv version that should be used. 2023-06-16 07:32:35 +01:00
build-repos.yml.jinja Un-nest the build repositories steps too. 2023-02-28 19:22:57 +00:00
build-rpm-repo.yml.jinja Start publishing the nightly builds to the release bucket under salt-dev/<branch> 2023-04-29 18:18:53 +01:00
build-src-repo.yml.jinja Fix source repository paths 2023-04-29 18:18:53 +01:00
build-windows-repo.yml.jinja Start publishing the nightly builds to the release bucket under salt-dev/<branch> 2023-04-29 18:18:53 +01:00
ci.yml.jinja Try harder to detect what is the target release for changelog generation. 2023-05-22 19:53:17 -07:00
layout.yml.jinja Merge 3006.x into master 2023-05-30 12:59:16 +01:00
nightly.yml.jinja Fix Slack notifications on nightly builds and link 2023-06-13 07:53:26 +01:00
README.md Add .github/workflows/templates/README.md 2023-02-04 14:11:36 +00:00
release.yml.jinja Remove the release_branches check, other rules we have setup lock it up well enough 2023-05-06 07:52:59 +01:00
scheduled.yml.jinja Reformat run-name on workflows 2023-03-16 21:00:40 +00:00
staging.yml.jinja Remove the release_branches check, other rules we have setup lock it up well enough 2023-05-06 07:52:59 +01:00
test-pkg-repo-downloads.yml.jinja Change the job names to look nicer 2023-06-12 20:24:07 +00:00
test-salt-pkg.yml.jinja Drop Fedora 36 which has reached EOL 2023-05-23 13:33:30 +01:00
test-salt.yml.jinja Drop Fedora 36 which has reached EOL 2023-05-23 13:33:30 +01:00
trigger-branch-workflows.yml.jinja Don't trigger scheduled jobs if requirements were not met 2023-03-29 11:37:08 -07:00
workflow-requirements-check.yml.jinja Properly check the RUN_SCHEDULED_BUILDS variable 2023-04-13 09:35:03 +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.