Skip to content

Commit 042c0ca

Browse files
authored
Merge pull request #187 from RS-PYTHON/improve-cicd
Improve deployment tests
2 parents 9713b6d + f4688bf commit 042c0ca

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Deploy the apps (for real)
8080
run: |
8181
sed -i 's!debug: false!debug: true!g' roles/app-installer/tasks/install_app.yaml
82-
sed -i 's!csi-cinder-high-speed-retain!standard!g' apps/01-cloudnative-pg/cluster.yaml
82+
sed -i 's!cinder.csi.openstack.org!k8s.io/minikube-hostpath!g' apps/00-storage-class/sc-retain.yaml
8383
sed -i -e 's!https://iam.{{ platform_domain_name }}!http://keycloak-service.iam.svc.cluster.local:8080!g' -e 's!insecure_oidc_skip_issuer_verification="false"!insecure_oidc_skip_issuer_verification="true"!g' apps/oauth2-proxy/values.yaml
8484
conda run -n rspy --no-capture-output env PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=1 ansible-playbook -v apps.yaml -i inventory/mycluster/hosts.yaml
8585
shell: bash

roles/app-installer/tasks/install_app.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
kubernetes.core.k8s_log:
218218
name: "{{ item.metadata.name }}"
219219
namespace: "{{ item.metadata.namespace }}"
220+
all_containers: true
220221
loop: "{{ jobs.resources }}"
221222
when: jobs.resources | length > 0
222223
ignore_errors: true
@@ -237,6 +238,7 @@
237238
kubernetes.core.k8s_log:
238239
name: "{{ item.metadata.name }}"
239240
namespace: "{{ item.metadata.namespace }}"
241+
all_containers: true
240242
loop: "{{ pods.resources }}"
241243
when: pods.resources | length > 0
242244
ignore_errors: true
@@ -257,6 +259,7 @@
257259
kubernetes.core.k8s_log:
258260
name: "{{ item.metadata.name }}"
259261
namespace: "{{ item.metadata.namespace }}"
262+
all_containers: true
260263
loop: "{{ deployments.resources }}"
261264
when: deployments.resources | length > 0
262265
ignore_errors: true

0 commit comments

Comments
 (0)