Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into master #602

Merged
merged 81 commits into from
Oct 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
95aab45
Updated documentation
seriva Jul 31, 2019
601c62a
Fixed links.
seriva Jul 31, 2019
a4c9065
Fixed changelog.
seriva Jul 31, 2019
044bcf9
Merge branch 'develop' into develop
seriva Jul 31, 2019
1a1365c
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 1, 2019
e94b678
Added node_exporter port known issue.
seriva Aug 1, 2019
b914eef
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 2, 2019
d350a76
Added new terraform-bin plugin and updated templates to 0.12.6 (#418)
seriva Aug 5, 2019
aed56ba
Fix/ports security groups aws for defaults (#417)
erzetpe Aug 5, 2019
18c2af2
Documentation - users and groups created directly by Epiphany (#420)
erzetpe Aug 5, 2019
8528f8d
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 5, 2019
7b529b3
Removing the test environment destruction function (#421)
przemyslavic Aug 6, 2019
9e8a4ed
Opened ports documentation (#423)
erzetpe Aug 6, 2019
c87c3f9
Item: #422 Desc: Add missing ports for prometheus and grafana (#425)
erzetpe Aug 6, 2019
19c3d7d
Feature/skip terraform if any (#426)
erzetpe Aug 7, 2019
7625cfc
Changing latest tag to build id in Dockerfiles (#428)
przemyslavic Aug 7, 2019
3501e73
Setup Diffie-Hellman settings in haproxy. (#430)
erzetpe Aug 8, 2019
ef96749
AzureCLI integration (#427)
seriva Aug 8, 2019
60d2f96
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 8, 2019
6c2671b
VSCode remote Remote Python Development (#431)
seriva Aug 9, 2019
d790b86
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 9, 2019
cc95462
Azure complete run through (#432)
seriva Aug 9, 2019
ed3c8e1
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 9, 2019
52ef5c2
Feature/cluster delete (#436)
seriva Aug 12, 2019
0f7b6f4
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 12, 2019
a2bb7ff
Feature/az resource group (#437)
seriva Aug 13, 2019
d816883
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 14, 2019
96e7a7a
Debug improvements (#438)
seriva Aug 14, 2019
a47abd0
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 14, 2019
7e67c74
HAProxy and Prometheus test fixes (#435)
przemyslavic Aug 16, 2019
6c919a7
Feature/development-docs (#439)
seriva Aug 26, 2019
81a8411
Merge remote-tracking branch 'upstream/develop' into develop
seriva Aug 26, 2019
d5b20ee
Feature/azure-subnets (#440)
seriva Aug 27, 2019
3015241
Changing epicli output directory (#441)
przemyslavic Aug 28, 2019
604a237
always apt update before apt install (#442)
lukurde Aug 29, 2019
f24ff2e
Workaround for RspecJUnitFormatter encoding issue (#445)
przemyslavic Aug 29, 2019
1a6ef4e
Added docs on how to upgrade Kubernetes cluster from 1.13.1 to 1.13.1…
przemyslavic Sep 2, 2019
c905bce
Fix rabbit bad exporter and ports (#446)
erzetpe Sep 2, 2019
e46a10b
Added docs on how to upgrade Kubernetes cluster on Ubuntu (#457)
przemyslavic Sep 3, 2019
28b5364
Allow outgoing connections on rabbitmq vms (#456)
przemyslavic Sep 3, 2019
b50ca37
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 3, 2019
be7c12d
Wait for the cluster to be available before running deployments/appli…
przemyslavic Sep 4, 2019
c4b1199
Changed ansible default 10s ping timeout to 60s; added junit xml repo…
przemyslavic Sep 4, 2019
ebbeb93
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 9, 2019
631891f
Feature/skopeo (#475)
seriva Sep 10, 2019
de8fae2
subnets, network interfaces, security rules, ansible inventory (#469)
seriva Sep 10, 2019
8210ba9
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 10, 2019
03f3054
File generating hashes for directory (#477)
erzetpe Sep 10, 2019
4555ba9
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 12, 2019
76d55a1
Testruns (#506)
seriva Sep 13, 2019
3cf4197
Release prep part 1 (#501)
seriva Sep 13, 2019
df65902
Feature/azure-k8n-storage (#487)
seriva Sep 13, 2019
c3589f9
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 17, 2019
017f5cf
Azure rehat fixes (#511)
seriva Sep 19, 2019
60c6949
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 20, 2019
761ebc0
Fix typo rabbitmq (#518)
Sep 24, 2019
c2df9f6
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 24, 2019
99914c4
Fix/rabbitmq error (#523)
seriva Sep 25, 2019
9db25b7
Fixed link to container-selinux package (legacy) (#525)
przemyslavic Sep 25, 2019
61fc6bc
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 26, 2019
4fca543
Feature/document updates (#524)
seriva Sep 27, 2019
531866c
Merge remote-tracking branch 'upstream/develop' into develop
seriva Sep 30, 2019
d678990
Fixes for SP login.
seriva Sep 30, 2019
8dbdfb3
Fixed exit code issue with Ansible.
seriva Sep 30, 2019
11bb14d
Fixed break.
seriva Sep 30, 2019
0ed57be
Preview fixes (#541)
seriva Sep 30, 2019
7a466d4
Commit forgotten file.
seriva Oct 1, 2019
0108c73
Merge remote-tracking branch 'upstream/develop' into develop
seriva Oct 1, 2019
dd0bc03
Bumped wait time to fix timeout issue.
seriva Oct 1, 2019
5591157
Added unccommited file. (#542)
seriva Oct 1, 2019
f3812a2
Bumped skopeo and fixed issue with empty prefix string.
seriva Oct 2, 2019
73ffd2d
Merge remote-tracking branch 'upstream/develop' into develop
seriva Oct 2, 2019
148eb01
Merge branch 'develop' into fix/skopeo-and-prefix
seriva Oct 2, 2019
a5f136e
Added rabbitmq and postgresql tests to epicli (#543)
przemyslavic Oct 2, 2019
2034777
Merge pull request #545 from seriva/fix/skopeo-and-prefix
toszo Oct 3, 2019
93aa4df
Fixed naming issues and added conventions (#553)
seriva Oct 4, 2019
7b984fe
Fix/aws ports and naming (#576)
seriva Oct 8, 2019
f551be1
RabbitMQ test fix for AWS hostnames (#578)
przemyslavic Oct 9, 2019
c5b2743
Test fix - added regexp to eliminate false negatives in particular ca…
przemyslavic Oct 10, 2019
ab173f8
Feature/doc updates (#584)
seriva Oct 11, 2019
43a1e50
Merge offline into develop. (#603)
seriva Oct 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions CHANGELOG-0.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Changelog 0.4

## [0.4.0] 2019-10-11

### Added

- Offline installation
- Azure cluster deployments with Epicli
- Delete commands to remove clusters from cloud providers (AWS, Azure)
- Devcontainer for Epicli development using VSCode
- Debug flag for Epicli

### Changed

- Various improvements in Epicli
- Documentation cleanup and updates

### Fixed

- [#407](https://github.com/epiphany-platform/epiphany/issues/407) - Deployment/Application role fails because Kubernetes cluster is not ready after reboot.
- [#410](https://github.com/epiphany-platform/epiphany/issues/410) - Node_exporter ports are not present in defaults resulting in Prometheus not beeing able to scrape data with minimal cluster data.yaml.
- [#548](https://github.com/epiphany-platform/epiphany/issues/548) - Epicli fails on AWS when clustering RabbitMQ nodes.
- [#549](https://github.com/epiphany-platform/epiphany/issues/549) - Need to allow traffic on port 5432 to enable PostgreSQL replication on AWS.

### Known issues

-
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ Reference for actual cluster component versions can be found [here](docs/home/CO

## Current release

### 0.3.x
### 0.4.x

- [CHANGELOG-0.3.0](./CHANGELOG-0.3.md#030-2019-07-31)
- [CHANGELOG-0.4.0](./CHANGELOG-0.4.md#040-2019-09-30)

## Older releases

### 0.3.x

- [CHANGELOG-0.3.0](./CHANGELOG-0.3.md#030-2019-07-31)

### 0.2.x

- [CHANGELOG-0.2.3](./CHANGELOG-0.2.md#023-2019-05-20)
Expand Down
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ Epiphany can run on as few as one node (laptop, desktop, server) but the real va

We currently use Terraform and Ansible for our automation orchestration. All automation is idempotent so you can run it as many times as you wish and it will maintain the same state unless you change the data. If someone makes a "snow flake" change to the environment (you should never do this) then simply running the automation again will put the environment back to the desired state.

## Legacy note
## Note about legacy Epiphany

In Epiphany 0.3 a new CLI tool was introduced (epicli) for deploying and managing clusters and currently supports AWS and bare metal deployment. Azure support will be added soon in a subsequent release but for now if you are in need for deploying a cluster on Azure use the older Legacy engine.
Epicli 0.4.0 adds support for Azure deployments so using legacy Epiphany is no longer needed. We advice new projects to start straight with Epicli and older projects which still use legacy Epiphany to move over to Epicli 0.4.0. A tool to migrate legacy data files to the new format is in the works and will be released shortly.

The Epicli 0.5.0 release later this year will drop the inclusion of the legacy path entirely.

## Note about documentation

- The documentation is a moving target. Always check the latest documentation on the develop branch. There is a big chance that whatever you are looking for is already added/updated or improved there.
- We are currently in the process of documenting all features of Epicli and phasing out legacy Epiphany documentation. When documentation is specific for `Epicli` or `Legacy` it will be marked under a header with the these names. If its not under any of these headers then it applies to both.

## Quickstart

Expand All @@ -41,7 +48,7 @@ This minimum file definition is fine to start with, if you need more control ove
epicli init -p aws -n demo --full
```

You will need to modify a few values (like you AWS secrets, directory path for ssh keys). Once you are done done with `demo.yaml` you can start cluster deployment by executing with:
You will need to modify a few values (like your AWS secrets, directory path for SSH keys). Once you are done with `demo.yaml` you can start cluster deployment by executing:

```shell
epicli apply -f demo.yaml
Expand Down Expand Up @@ -73,16 +80,17 @@ Find more information using table of contents below - especially the [How-to gui
- Platform
- [Resources](docs/home/RESOURCES.md)
- [How-to guides](docs/home/HOWTO.md)
- [Troubleshooting](docs/home/TROUBLESHOOTING.md)
- [Components](docs/home/COMPONENTS.md)
- [Security](docs/home/SECURITY.md)
- [Troubleshooting](docs/home/TROUBLESHOOTING.md)
- [Changelog](CHANGELOG.md)
- Architecture
- [Logical View](docs/architecture/logical-view.md)
- [Process View](docs/architecture/process-view.md)
- [Physical View](docs/architecture/physical-view.md)
- Project
- [How-to contribute](docs/home/CONTRIBUTING.md)
- [Workflow to follow](docs/home/GITWORKFLOW.md)
- Contributing
- [Governance model](docs/home/GOVERNANCE.md)
- [Components](docs/home/COMPONENTS.md)
- [Changelog](CHANGELOG.md)

- [Development environment](docs/home/DEVELOPMENT.md)
- [GIT Workflow](docs/home/GITWORKFLOW.md)
<!-- TOC -->
7 changes: 7 additions & 0 deletions core/core/src/ansible/roles/deployments/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
- name: Wait until the cluster is available
shell: kubectl --kubeconfig=/home/{{ admin_user.name }}/.kube/config cluster-info
retries: 10
delay: 5
register: output
until: output is succeeded

- name: Include deployments
include_tasks: "applications/{{ item.name }}/main.yml"
vars:
Expand Down
2 changes: 1 addition & 1 deletion core/core/src/ansible/roles/docker/tasks/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Todo: Investigate problems with container selinux on Azure.
- name: Install container packages
yum:
name: http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.95-2.el7_6.noarch.rpm
name: http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm
state: present
update_cache: yes

Expand Down
4 changes: 3 additions & 1 deletion core/core/src/docker/test-CI/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM epiphanyregistry.azurecr.io/epiphany-deploy:latest
ARG BUILD_ID

FROM epiphanyregistry.azurecr.io/epiphany-deploy:$BUILD_ID

RUN mkdir /tmp/keys

Expand Down
2 changes: 1 addition & 1 deletion core/core/src/templates/common/ansible.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ $REPO_ROOT/bin/template_engine -d $EPIPHANY_DATA_DIR/data/manifest.yaml -i $REPO

echo_yellow '====> Verifying Ansible access to nodes...'

ansible all -i $EPIPHANY_DATA_DIR/inventory/$ANSIBLE_ENV -m ping
ansible all -i $EPIPHANY_DATA_DIR/inventory/$ANSIBLE_ENV -m ping --timeout=60

if [[ $? -ne 0 ]]; then
echo_red "ERROR: Unable to reach all of the hosts in the cluster. Verify 'manifest.yaml' is correct and run this again."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

haproxy_host = 'localhost'
haproxy_front_port = 443
haproxy_stats_port = 9000

describe 'Checking if HAProxy service is running' do
describe service('haproxy') do
Expand Down Expand Up @@ -32,8 +33,11 @@
end

describe 'Checking if the ports are open' do
let(:disable_sudo) { false }
describe port(haproxy_front_port) do
let(:disable_sudo) { false }
it { should be_listening }
end
describe port(haproxy_stats_port) do
it { should be_listening }
end
end
Expand Down Expand Up @@ -71,14 +75,14 @@
end

describe 'Checking HAProxy HTTP status code for stats page' do
describe command("curl -k --user $(cat /etc/haproxy/haproxy.cfg | grep 'stats auth' | awk '{print $3}') -o /dev/null -s -w '%{http_code}' \
https://#{haproxy_host}:#{haproxy_front_port}$(cat /etc/haproxy/haproxy.cfg | grep 'stats uri' | awk '{print $3}')") do
describe command("curl -k --user $(awk '/stats auth/ {print $3}' /etc/haproxy/haproxy.cfg) -o /dev/null -s -w '%{http_code}' \
http://#{haproxy_host}:#{haproxy_stats_port}$(awk '/stats uri/ {print $3}' /etc/haproxy/haproxy.cfg)") do
it "is expected to be equal" do
expect(subject.stdout.to_i).to eq 200
end
end
describe command("curl -k --user $(cat /etc/haproxy/haproxy.cfg | grep 'stats auth' | awk '{print $3}') \
https://#{haproxy_host}:#{haproxy_front_port}$(cat /etc/haproxy/haproxy.cfg | grep 'stats uri' | awk '{print $3}')") do
describe command("curl -k --user $(awk '/stats auth/ {print $3}' /etc/haproxy/haproxy.cfg) \
http://#{haproxy_host}:#{haproxy_stats_port}$(awk '/stats uri/ {print $3}' /etc/haproxy/haproxy.cfg)") do
its(:stdout) { should match /Statistics Report for HAProxy/ }
end
end
Expand Down
2 changes: 1 addition & 1 deletion core/data/azure/infrastructure/epiphany-bld-apps/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
title: Epiphany Apps Infrastructure...

kind: datafile
version: 0.3.0
version: 0.4.0

# NOTE: Any data values that are empty put "" or the value None will be used in the templates for those attributes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Simplified datafile that you can use together with template (see README.md in this folder).
# Change values according to your needs, start with generating ssh keys and placing them in the directory "keys_directory". Do not forget to update "keys_directory" as well.
kind: simplified-datafile
version: 0.3.0
version: 0.4.0
environment_name: Playground
azure:
subscription_name: YOUR-SUBSCRIPTION-NAME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Simplified datafile that you can use together with QA template.
kind: simplified-datafile
version: 0.3.0
version: 0.4.0
environment_name: {{ resource_group }}
azure:
subscription_name: {{ sp_subscription_name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
title: Epiphany ({{ azure.image_offer }}) {{ environment_name }}

kind: datafile
version: 0.3.0
version: 0.4.0

# NOTE: Any data values that are empty put "" or the value None will be used in the templates for those attributes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
title: Epiphany Single Machine Infrastructure...

kind: datafile
version: 0.3.0
version: 0.4.0

# NOTE: Any data values that are empty put "" or the value None will be used in the templates for those attributes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
title: Epiphany ({{ azure.image_offer }}) {{ environment_name }}

kind: datafile
version: 0.3.0
version: 0.4.0

# NOTE: Any data values that are empty put "" or the value None will be used in the templates for those attributes.

Expand Down
2 changes: 1 addition & 1 deletion core/data/metal/epiphany-lab/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


kind: datafile
version: 0.3.0
version: 0.4.0

# This will apply to a VPN like environment or an air-gapped like environment
bastian:
Expand Down
2 changes: 1 addition & 1 deletion core/data/metal/epiphany-single-machine/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


kind: datafile
version: 0.3.0
version: 0.4.0

# This will apply to a VPN like environment or an air-gapped like environment
bastian:
Expand Down
2 changes: 1 addition & 1 deletion core/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This data is for the core of Epiphany and not the data for a given environment.

name: Epiphany
version: 0.3.0
version: 0.4.0

# Set the proxy info up if your environment requires it. This is sometimes the case for on-premise builds/installs
proxy:
Expand Down
35 changes: 35 additions & 0 deletions core/src/epicli/.devcontainer/Dockerfile
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=


18 changes: 18 additions & 0 deletions core/src/epicli/.devcontainer/devcontainer.json
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 pipenv install --system --dev",
"runArgs": [ "-u", "vscode" ]
}
13 changes: 8 additions & 5 deletions core/src/epicli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ share/python-wheels/
*.egg
MANIFEST

requirements.txt
/requirements.txt

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down Expand Up @@ -121,8 +121,11 @@ dmypy.json
# pycharm settings
.idea/

# external packages for BDS scan
# epicli specific
external/

# test results
tests_result/
tests/serverspec-cli/results/
tests/cli/results/
.terraform
clusters
.vscode
.devcontainer
12 changes: 12 additions & 0 deletions core/src/epicli/.vscode/extensions.json
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"
]
}
41 changes: 41 additions & 0 deletions core/src/epicli/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
// 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}/PATH_TO_YOUR_DATA_YAML"]
},
{
"name": "python unit tests",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/run-tests.py",
"cwd": "${workspaceFolder}",
"pythonPath": "${config:python.pythonPath}",
"env": { "PYTHONPATH": "${workspaceFolder}" },
"console": "integratedTerminal",
"args": ["python"]
},
{
"name": "server spec tests",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/run-tests.py",
"cwd": "${workspaceFolder}",
"pythonPath": "${config:python.pythonPath}",
"env": { "PYTHONPATH": "${workspaceFolder}" },
"console": "integratedTerminal",
"args": ["spec", "-i", "${workspaceFolder}/PATH_TO_CLUSTER_INVENTORY", "-u", "ADMIN_USER", "-k", "${workspaceFolder}/PATH_TO_SSH_KEY"]
}
]
}
Loading