-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Back merge of fixes from 0.6.0 to 0.3.1 (#1071)
- Loading branch information
Showing
16 changed files
with
338 additions
and
176 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
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,35 @@ | ||
FROM python:3.7 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
ARG USERNAME=vscode | ||
ARG USER_UID=1000 | ||
ARG USER_GID=$USER_UID | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \ | ||
|
||
&& apt-get -y install git procps lsb-release gcc make musl-dev libffi-dev tar unzip \ | ||
|
||
&& apt-get -y install ruby-full \ | ||
|
||
&& gem install serverspec rake rspec_junit_formatter \ | ||
|
||
&& pip --disable-pip-version-check --no-cache-dir install pylint \ | ||
|
||
&& pip --disable-pip-version-check --no-cache-dir install pipenv \ | ||
|
||
&& groupadd --gid $USER_GID $USERNAME \ | ||
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \ | ||
|
||
&& apt-get install -y sudo \ | ||
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \ | ||
&& chmod 0440 /etc/sudoers.d/$USERNAME \ | ||
|
||
&& apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV DEBIAN_FRONTEND= | ||
|
||
|
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,18 @@ | ||
{ | ||
"name": "epicli", | ||
"dockerFile": "Dockerfile", | ||
"extensions": [ | ||
"ms-python.python", | ||
"littlefoxteam.vscode-python-test-adapter", | ||
"vscoss.vscode-ansible", | ||
"wholroyd.jinja", | ||
"redhat.vscode-yaml", | ||
"mauve.terraform", | ||
"davidanson.vscode-markdownlint" | ||
], | ||
"settings": { | ||
"python.pythonPath": "/usr/local/bin/python" | ||
}, | ||
"postCreateCommand": "sudo --preserve-env=https_proxy pipenv install --system --dev", | ||
"runArgs": [ "-u", "vscode" ] | ||
} |
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,12 @@ | ||
{ | ||
"recommendations": [ | ||
"ms-vscode-remote.remote-containers", | ||
"ms-python.python", | ||
"littlefoxteam.vscode-python-test-adapter", | ||
"vscoss.vscode-ansible", | ||
"wholroyd.jinja", | ||
"redhat.vscode-yaml", | ||
"mauve.terraform", | ||
"davidanson.vscode-markdownlint" | ||
] | ||
} |
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,21 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "epicli", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/cli/epicli.py", | ||
"cwd": "${workspaceFolder}", | ||
"pythonPath": "${config:python.pythonPath}", | ||
"env": { "PYTHONPATH": "${workspaceFolder}" }, | ||
"console": "integratedTerminal", | ||
"args": ["apply", "-f", "${workspaceFolder}/clusters/YOUR_DATA_YAML.yml"] | ||
// "args": ["delete", "-b", "${workspaceFolder}/clusters/build/dir"] | ||
// "args": ["init", "-p", "PROVIDER", "-n", "NAME"] | ||
} | ||
] | ||
} |
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,6 @@ | ||
{ | ||
"python.linting.enabled": true, | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.nosetestsEnabled": false, | ||
"python.testing.pytestEnabled": true, | ||
} |
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
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
Oops, something went wrong.