Page MenuHomeDevCentral

Avoid .sh extension for Jinja template
ClosedPublic

Authored by dereckson on Apr 20 2017, 10:26.
Tags
None
Referenced Files
F7120464: D958.id2443.diff
Mon, Apr 21, 01:16
Unknown Object (File)
Sat, Apr 19, 14:43
Unknown Object (File)
Sat, Apr 19, 12:07
Unknown Object (File)
Thu, Apr 17, 23:13
Unknown Object (File)
Fri, Apr 11, 04:52
Unknown Object (File)
Wed, Apr 9, 19:38
Unknown Object (File)
Wed, Apr 9, 14:43
Unknown Object (File)
Wed, Apr 9, 09:23
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.