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

Add pvs to crc #547

Merged
merged 38 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5309862
create pvs in crc
mgirgisf Nov 21, 2023
e69b087
add job in project-template
mgirgisf Nov 21, 2023
7e7fb10
remove abstract
mgirgisf Nov 21, 2023
1f07ec5
change the name
mgirgisf Nov 21, 2023
c37b87a
add builtin
mgirgisf Nov 21, 2023
c3d1ec8
update parent job
mgirgisf Nov 21, 2023
190e583
add correct path
mgirgisf Nov 21, 2023
0947f69
update playbook
mgirgisf Nov 22, 2023
10d468f
make update to install package
mgirgisf Nov 22, 2023
37f8c94
update the default storage_class
mgirgisf Nov 27, 2023
399387a
Merge branch 'master' into mgirgis_STF-1626_PVsToCrc
mgirgisf Nov 27, 2023
35e5cba
add storage_class
mgirgisf Nov 27, 2023
b65d166
missing quotes
mgirgisf Nov 27, 2023
220f339
change the storage name
mgirgisf Nov 27, 2023
678c6fa
increase storage capacity
mgirgisf Dec 1, 2023
fa75108
update the capacity
mgirgisf Dec 1, 2023
0890b9c
reduce the capacity
mgirgisf Dec 1, 2023
2e21bb6
remove get list
mgirgisf Dec 1, 2023
c06d4c6
test different capacity
mgirgisf Dec 4, 2023
24c3c31
update prepare.yml
mgirgisf Dec 4, 2023
c1d33ea
remove pvc job
mgirgisf Dec 4, 2023
4bdfb29
update prepare.yml
mgirgisf Dec 4, 2023
24f88fd
solve syntex error
mgirgisf Dec 4, 2023
8556cad
solve syntex error
mgirgisf Dec 4, 2023
c13f382
update include play
mgirgisf Dec 4, 2023
fdecb1b
test the whole project-template
mgirgisf Dec 4, 2023
f7bc6a3
add retries
mgirgisf Dec 4, 2023
76394b3
add retries
mgirgisf Dec 4, 2023
b0c41df
Merge branch 'master' into mgirgis_STF-1626_PVsToCrc
mgirgisf Dec 4, 2023
7d18a56
remove the vars from different files
mgirgisf Dec 6, 2023
8ec7e02
restore original set of jobs
mgirgisf Dec 6, 2023
02c815c
test crc-csi-hostpath-provisioner
mgirgisf Dec 11, 2023
47d9d87
remove install_yamls
mgirgisf Dec 11, 2023
6e8dc90
remove install_yamls
mgirgisf Dec 12, 2023
8e23c20
add more logs
mgirgisf Dec 18, 2023
d53a99f
Merge branch 'master' into mgirgis_STF-1626_PVsToCrc
elfiesmelfie Dec 18, 2023
5b4d1b0
Update ci/vars-zuul-common.yml
elfiesmelfie Jan 8, 2024
a4d436b
Merge branch 'master' into mgirgis_STF-1626_PVsToCrc
elfiesmelfie Jan 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions build/stf-collect-logs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,20 @@
ignore_errors: true
retries: 3
delay: 10

- name: "Get PV and PVC information details"
ansible.builtin.shell:
cmd: |
oc -n {{ namespace }} get pv >> {{ logfile_dir }}/post_pv.log 2>&1
oc -n {{ namespace }} get pvc >> {{ logfile_dir }}/post_pvc.log 2>&1
ignore_errors: true

- name: "Get SGO,STO and QDR logs"
ansible.builtin.shell:
cmd: |
oc -n {{ namespace }} logs $(oc -n {{ namespace }} get pod -l name=service-telemetry-operator -o jsonpath='{.items[].metadata.name}') >> {{ logfile_dir }}/logs_sto.log 2>&1
oc -n {{ namespace }} logs $(oc -n {{ namespace }} get pod -l app=smart-gateway-operator -o jsonpath='{.items[].metadata.name}') >> {{ logfile_dir }}/logs_sgo.log 2>&1
oc -n {{ namespace }} logs $(oc -n {{ namespace }} get pod -l qdr -o jsonpath='{.items[].metadata.name}') >> {{ logfile_dir }}/logs_qdr.log 2>&1
ignore_errors: true
retries: 3
delay: 10
3 changes: 1 addition & 2 deletions ci/vars-local_build-index_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
#ansible-playbook --extra-vars __local_build_enabled=true -e __deploy_from_index_enabled=true --extra-vars working_branch="$(git rev-parse --abbrev-ref HEAD)" --extra-vars __service_telemetry_storage_ephemeral_enabled=true --extra-vars __service_telemetry_observability_strategy=use_redhat ./run-ci.yaml
#ansible-playbook --extra-vars __local_build_enabled=true -e __deploy_from_index_enabled=true --extra-vars working_branch="$(git rev-parse --abbrev-ref HEAD)" --extra-vars __service_telemetry_observability_strategy=use_redhat ./run-ci.yaml
__local_build_enabled: true
__deploy_from_index_enabled: true
__service_telemetry_ephemeral_enabled: true
__service_telemetry_observability_strategy: use_redhat
1 change: 0 additions & 1 deletion ci/vars-local_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
__deploy_stf: true
__local_build_enabled: true
__service_telemetry_snmptraps_enabled: true
__service_telemetry_storage_ephemeral_enabled: true
1 change: 0 additions & 1 deletion ci/vars-nightly_bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@

__local_build_enabled: false
__deploy_from_bundles_enabled: true
__service_telemetry_storage_ephemeral_enabled: true
2 changes: 2 additions & 0 deletions ci/vars-zuul-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ sgo_dir: "{{ ansible_env.HOME }}/{{ zuul.projects['github.com/infrawatch/smart-g
sg_core_dir: "{{ ansible_env.HOME }}/{{ zuul.projects['github.com/infrawatch/sg-core'].src_dir }}"
sg_bridge_dir: "{{ ansible_env.HOME }}/{{ zuul.projects['github.com/infrawatch/sg-bridge'].src_dir }}"
prometheus_webhook_snmp_dir: "{{ ansible_env.HOME }}/{{ zuul.projects['github.com/infrawatch/prometheus-webhook-snmp'].src_dir }}"
__service_telemetry_storage_persistent_storage_class: "crc-csi-hostpath-provisioner"
elfiesmelfie marked this conversation as resolved.
Show resolved Hide resolved
__service_telemetry_storage_ephemeral_enabled: false
elfiesmelfie marked this conversation as resolved.
Show resolved Hide resolved
elfiesmelfie marked this conversation as resolved.
Show resolved Hide resolved