Issue #1, Issue #2: Move more content into collection, fix tests.

This commit is contained in:
Jeff Geerling
2020-01-30 13:51:43 -06:00
parent 2e807f946a
commit d94dd72ae6
53 changed files with 15728 additions and 12 deletions

View File

@@ -1,2 +0,0 @@
dependencies:
- setup_remote_tmp_dir

View File

@@ -11,13 +11,9 @@ If kubectl is already using the right config file and context, you can
just do
```
cd test/integration/targets/k8s
cd tests/integration/targets/k8s
./runme.sh -vv
```
otherwise set one or both of `K8S_AUTH_KUBECONFIG` and `K8S_AUTH_CONTEXT`
and use the same command

View File

@@ -0,0 +1,5 @@
- name: delete temporary directory
file:
path: "{{ remote_tmp_dir }}"
state: absent
no_log: yes

View File

@@ -0,0 +1 @@
dependencies: []

View File

@@ -1,3 +1,5 @@
- include_tasks: setup_remote_tmp_dir.yml
- set_fact:
virtualenv: "{{ remote_tmp_dir }}/virtualenv"
virtualenv_command: "{{ ansible_python_interpreter }} -m virtualenv"

View File

@@ -0,0 +1,11 @@
- name: create temporary directory
tempfile:
state: directory
suffix: .test
register: remote_tmp_dir
notify:
- delete temporary directory
- name: record temporary directory
set_fact:
remote_tmp_dir: "{{ remote_tmp_dir.path }}"

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 63,
"targets": [
"k8s.k8s"
]
}
}
}

View File

@@ -0,0 +1,3 @@
{
"targets": {}
}

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 19,
"targets": [
"k8s.k8s"
]
}
}
}

View File

@@ -0,0 +1,3 @@
{
"targets": {}
}

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 19,
"targets": [
"k8s.k8s"
]
}
}
}

View File

@@ -0,0 +1,3 @@
{
"targets": {}
}

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 20,
"targets": [
"kubernetes"
]
}
}
}

View File

@@ -0,0 +1,3 @@
{
"targets": {}
}

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 19,
"targets": [
"kubernetes"
]
}
}
}

View File

@@ -0,0 +1,3 @@
{
"targets": {}
}

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 19,
"targets": [
"kubernetes"
]
}
}
}

View File

@@ -0,0 +1,3 @@
{
"targets": {}
}

View File

@@ -0,0 +1,11 @@
{
"clouds": {
"openshift": {
"platform": "openshift",
"setup_seconds": 19,
"targets": [
"kubernetes"
]
}
}
}

View File

@@ -0,0 +1,39 @@
{
"targets": {
"kubernetes": {
"aliases": [
"cloud/",
"cloud/kubernetes",
"cloud/openshift/",
"cloud/openshift/kubernetes",
"kubernetes",
"module/",
"module/kubernetes/",
"module/kubernetes/kubernetes",
"non_destructive/",
"non_destructive/kubernetes",
"posix/",
"role/",
"role/kubernetes",
"shippable/",
"shippable/cloud/",
"shippable/cloud/group1/",
"shippable/cloud/group1/kubernetes",
"shippable/cloud/kubernetes",
"shippable/kubernetes"
],
"coverage": false,
"coverage_label": "",
"modules": [
"kubernetes"
],
"name": "kubernetes",
"python_version": "3.6",
"run_time_seconds": 455,
"setup_always": [],
"setup_once": [],
"type": "role",
"validation_seconds": 1
}
}
}

File diff suppressed because one or more lines are too long

6620
tests/sanity/ignore.txt Normal file

File diff suppressed because it is too large Load Diff