-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds service.Ports, service.Fqdn and container.State to metadata context * Adds support for running a check command against a staging file before overwriting the target * Fall back to file copy when renaming fails due to staging and destination files living in different mounts * Updates Godeps * Some smaller code changes
- Loading branch information
janeczku
committed
Sep 10, 2016
1 parent
f731b37
commit e80fcdf
Showing
105 changed files
with
15,336 additions
and
3,559 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 |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
/dist | ||
/artifacts | ||
/test | ||
rancher-template* | ||
rancher-gen | ||
secrets.txt | ||
.DS_Store |
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,12 +1,12 @@ | ||
FROM alpine:edge | ||
MAINTAINER Jan Broer <jan@festplatte.eu.org> | ||
MAINTAINER <jan@rancher.com> | ||
|
||
RUN apk add --no-cache ca-certificates | ||
|
||
ENV RANCHER_TEMPLATE_RELEASE v0.1.1 | ||
ENV RANCHER_GEN_RELEASE v0.2.0 | ||
|
||
ADD https://github.com/janeczku/rancher-template/releases/download/${RANCHER_TEMPLATE_RELEASE}/rancher-template-linux-amd64.tar.gz /tmp/rancher-template.tar.gz | ||
RUN tar -zxvf /tmp/rancher-template.tar.gz -C /usr/local/bin \ | ||
&& chmod +x /usr/local/bin/rancher-template | ||
ADD https://github.com/janeczku/go-rancher-gen/releases/download/${RANCHER_GEN_RELEASE}/rancher-gen-linux-amd64.tar.gz /tmp/rancher-gen.tar.gz | ||
RUN tar -zxvf /tmp/rancher-gen.tar.gz -C /usr/local/bin \ | ||
&& chmod +x /usr/local/bin/rancher-gen | ||
|
||
ENTRYPOINT ["/usr/local/bin/rancher-template"] | ||
ENTRYPOINT ["/usr/local/bin/rancher-gen"] |
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 |
---|---|---|
|
@@ -3,10 +3,10 @@ MAINTAINER Jan Broer <[email protected]> | |
|
||
RUN apk add --no-cache ca-certificates | ||
|
||
ADD build/rancher-template-linux-amd64 /usr/local/bin/rancher-template | ||
RUN chmod +x /usr/local/bin/rancher-template | ||
ADD build/rancher-gen-linux-amd64 /usr/local/bin/rancher-gen | ||
RUN chmod +x /usr/local/bin/rancher-gen | ||
|
||
COPY ./test /etc/rancher-template/ | ||
COPY ./test /etc/rancher-gen/ | ||
|
||
ENTRYPOINT ["/usr/local/bin/rancher-template"] | ||
CMD ["--config", "/etc/rancher-template/config.toml"] | ||
ENTRYPOINT ["/usr/local/bin/rancher-gen"] | ||
CMD ["--config", "/etc/rancher-gen/config.toml"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
Godeps/_workspace/src/github.com/BurntSushi/toml/.travis.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 26 additions & 22 deletions
48
Godeps/_workspace/src/github.com/BurntSushi/toml/decode.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
Godeps/_workspace/src/github.com/BurntSushi/toml/decode_meta.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
79 changes: 49 additions & 30 deletions
79
Godeps/_workspace/src/github.com/BurntSushi/toml/encode.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.