This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e8a4cb
commit 52ba825
Showing
5 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
ARG VERSION="0.2.9" | ||
|
||
FROM jrasell/levant:${VERSION} as deploy | ||
FROM debian:10.6-slim as deploy | ||
LABEL name="deploy" | ||
|
||
ARG VERSION="0.2.9" | ||
ARG BINARY="linux-amd64-levant" | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
wget | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT [ "/entrypoint.sh" ] | ||
RUN wget https://github.com/hashicorp/levant/releases/download/${VERSION}/${BINARY} -O /usr/bin/levant &&\ | ||
chmod +x /usr/bin/levant | ||
ENTRYPOINT [ "/entrypoint.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ Searches all subdirectories accoring to `config`. All matched files will be rend | |
- name: deploy | ||
uses: pennsignals/[email protected] | ||
with: | ||
versiob: '0.2.6-rc.1' # required | ||
version: '0.2.6-rc.1' # required | ||
config: './deploy_config.yml' # required | ||
nomad_addr: 'http://10.146.0.5:4646' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters