meta: glob action tweaks

Sets two environment variables, LANDSCAPE_STREAM and
LANDSCAPE_SHORTHASH, to be employed by landscape builds.  Also reverts
the janeway version used to v0.13.1 as the --dev flag is unnecessary.
This commit is contained in:
Jared Tobin 2021-01-06 03:40:46 +04:00
parent af03292f48
commit 17f3431b43
No known key found for this signature in database
GPG Key ID: B77DC7C964AAD99A
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM jaredtobin/janeway:v0.13.2
FROM jaredtobin/janeway:v0.13.1
COPY entrypoint.sh /entrypoint.sh
EXPOSE 22/tcp
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -10,7 +10,13 @@ chmod 600 service-account
chmod 600 id_ssh
chmod 600 id_ssh.pub
janeway release glob --dev --no-pill \
LANDSCAPE_STREAM="development"
export LANDSCAPE_STREAM
LANDSCAPE_SHORTHASH="${GITHUB_SHA:0:7}"
export LANDSCAPE_SHORTHASH
janeway release glob --no-pill \
--credentials service-account \
--ssh-key id_ssh \
--do-it-live \