Skip to content

Commit

Permalink
namespace and go mod update
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Bellwood committed Sep 7, 2021
1 parent dfff827 commit 8706a3d
Show file tree
Hide file tree
Showing 53 changed files with 15,703 additions and 1,215 deletions.
28 changes: 0 additions & 28 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Envplate
# Envplate - amazee.io fork

This version of Envplate has been forked from @ocean's update of the package to add a multi-arch Dockerfile build stage for ease of use.

[![Build Status](https://travis-ci.org/kreuzwerker/envplate.svg)](https://travis-ci.org/kreuzwerker/envplate)
The original version is still available at https://github.com/kreuzwerker/envplate

# Envplate

Trivial templating for configuration files using environment keys. References to such keys are declared in arbitrary config files either as:

Expand Down Expand Up @@ -31,7 +35,7 @@ This can be used to use `ep` to parse configs and execute the container process

In case the file you want to modify already uses the pattern envplate is searching for ( e.g. for reading environment variables ) you can escape the sequence by adding a leading backslash `\`. It's also possible to escape a leading backslash by adding an additional backslash. Basically a sequence with an even number of leading backslashes will be parsed, is the number of leading backslashes odd the sequence will be escaped.

See https://github.com/kreuzwerker/envplate#full-example
See https://github.com/amazeeio/envplate#full-example

## Why?

Expand All @@ -40,7 +44,7 @@ For apps running Docker which rely (fully or partially) on configuration files i
You can directly download envplate binaries into your Dockerfile using Github releases like this:

```
RUN curl -sLo /usr/local/bin/ep https://github.com/kreuzwerker/envplate/releases/download/v0.0.8/ep-linux && chmod +x /usr/local/bin/ep
RUN curl -sLo /usr/local/bin/ep https://github.com/amazeeio/envplate/releases/download/v0.0.8/ep-linux && chmod +x /usr/local/bin/ep
...
Expand Down
2 changes: 1 addition & 1 deletion bin/ep.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"syscall"

"github.com/kreuzwerker/envplate"
"github.com/amazeeio/envplate"
"github.com/spf13/cobra"
"github.com/yawn/doubledash"
)
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/kreuzwerker/envplate
module github.com/amazeeio/envplate

go 1.16

require (
github.com/joho/godotenv v0.0.0-20150907010228-4ed13390c0ac
github.com/spf13/cobra v1.1.3
github.com/stretchr/testify v1.3.0
github.com/joho/godotenv v1.3.0
github.com/spf13/cobra v1.2.1
github.com/stretchr/testify v1.7.0
github.com/yawn/doubledash v0.0.0-20151212175516-fd8a81db93af
github.com/yawn/envmap v0.0.0-20151212180552-45241142781e
github.com/yawn/envmap v0.0.0-20160813152305-a78254303070
)
452 changes: 368 additions & 84 deletions go.sum

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions vendor/github.com/joho/godotenv/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 39 additions & 3 deletions vendor/github.com/joho/godotenv/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8706a3d

Please sign in to comment.