Page MenuHomeDevCentral

Avoid .sh extension for Jinja template
ClosedPublic

Authored by dereckson on Apr 20 2017, 10:26.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 12:53
Unknown Object (File)
Sat, Oct 26, 05:57
Unknown Object (File)
Mon, Oct 21, 19:42
Unknown Object (File)
Sun, Oct 20, 12:40
Unknown Object (File)
Oct 5 2024, 10:16
Unknown Object (File)
Oct 4 2024, 00:29
Unknown Object (File)
Oct 4 2024, 00:09
Unknown Object (File)
Oct 3 2024, 22:51
Subscribers
None

Details

Summary

Linter currently tests .sh files with shellcheck.

It then complains templates blocks starting with { are syntax error.

Templates should so use an extension to avoid to confuse linter,
and perhaps create a test task to render the template before to call shellcheck.

Test Plan

arc lint on D957

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
jinja-is-not-shell (branched from master)
Build Status
Buildable 1487
Build 1735: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 20 2017, 10:28
This revision was automatically updated to reflect the committed changes.