-
Notifications
You must be signed in to change notification settings - Fork 66
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
7c4aedc
commit 67e25a7
Showing
10 changed files
with
79 additions
and
23 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
|
||
[*.py] | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_size = 4 | ||
indent_style = tab |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.PHONY: build test | ||
|
||
test: build | ||
docker run -it ansible_vault/py2 flake8 | ||
docker run -it ansible_vault/py2 ./tests/test.sh | ||
docker run -it ansible_vault/py3 flake8 | ||
docker run -it ansible_vault/py3 ./tests/test.sh | ||
|
||
build: | ||
docker build -t ansible_vault/py2 -f tests/Dockerfile.py2 . | ||
docker build -t ansible_vault/py3 -f tests/Dockerfile.py3 . |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM python:2.7-slim | ||
|
||
ENV VAULT_VERSION 0.9.3 | ||
|
||
RUN apt-get update && \ | ||
apt-get install unzip curl -y | ||
|
||
RUN curl -LO https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \ | ||
unzip vault_${VAULT_VERSION}_linux_amd64.zip -d /bin | ||
|
||
RUN pip install ansible flake8 | ||
COPY . ansible-vault | ||
WORKDIR ./ansible-vault | ||
|
||
CMD ["./tests/test.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM python:3.6-slim | ||
|
||
ENV VAULT_VERSION 0.9.3 | ||
|
||
RUN apt-get update && \ | ||
apt-get install unzip curl -y | ||
|
||
RUN curl -LO https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \ | ||
unzip vault_${VAULT_VERSION}_linux_amd64.zip -d /bin | ||
|
||
RUN pip install --upgrade setuptools | ||
RUN pip install ansible flake8 | ||
COPY . ansible-vault | ||
WORKDIR ./ansible-vault | ||
|
||
CMD ["./tests/test.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[defaults] | ||
lookup_plugins = ../ | ||
lookup_plugins = ../ |
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