cleanup static-shim-deploy template
This MR removes the printf
calls and splits the script into a before_script
and script
.
The were a nice idea but they really don't look that good in the output. They also hide the output while it's being added which is annoying. Finally, it makes this YAML file almost unreadable, so just ditch the fancy stuff and stick with something more conventional.
And by moving the apt and SSH setup into a before_script
, we make it
more obvious where the actual business logic is. In this case, it is
now much more obvious that we do an rsync
and a ssh static-update-component
(more or less) while before it was not
obvious at all.
Edited by anarcat