File tree Expand file tree Collapse file tree 15 files changed +16
-21
lines changed
build_openstack_packages/defaults
ci_gen_kustomize_values/defaults
ci_local_storage/defaults Expand file tree Collapse file tree 15 files changed +16
-21
lines changed Original file line number Diff line number Diff line change 151151
152152 - name : Set permissions on ci-framework-data folder on controller-0
153153 ansible.builtin.file :
154- path : " {{ cifmw_basedir | default(ansible_user_dir + '/ci-framework-data') }}"
154+ path : " {{ cifmw_basedir }}"
155155 state : directory
156156 recurse : true
157157 owner : " {{ ansible_user_id }}"
Original file line number Diff line number Diff line change 11---
22# This file contains all repeating variables, that can be set
3- # globaly instead of parse Zuul inventory file to get proper value.
3+ # globally instead of parse Zuul inventory file to get proper value.
44# ### GLOBAL VARS ####
55ansible_user_dir : " {{ lookup('env', 'HOME') }}"
66cifmw_project_dir : src/github.com/openstack-k8s-operators/ci-framework
@@ -10,6 +10,6 @@ cifmw_installyamls_repos_relative: src/github.com/openstack-k8s-operators/instal
1010cifmw_installyamls_repos : " {{ ansible_user_dir }}/{{ cifmw_installyamls_repos_relative }}"
1111cifmw_architecture_repo_relative : src/github.com/openstack-k8s-operators/architecture
1212cifmw_architecture_repo : " {{ ansible_user_dir }}/{{ cifmw_architecture_repo_relative }}"
13-
1413cifmw_openstack_namespace : " {{ cifmw_install_yamls_defaults['NAMESPACE'] | default('openstack') }}"
1514operator_namespace : " {{ cifmw_install_yamls_defaults['OPERATOR_NAMESPACE'] | default('openstack-operators') }}"
15+ cifmw_basedir : " {{ ansible_user_dir }}/ci-framework-data"
Original file line number Diff line number Diff line change 7171 - always
7272 ansible.builtin.copy :
7373 mode : " 0644"
74- dest : " {{ cifmw_basedir|default(ansible_user_dir ~ '/ci-framework-data') }}/artifacts/parameters/custom-params.yml"
74+ dest : " {{ cifmw_basedir }}/artifacts/parameters/custom-params.yml"
7575 content : " {{ ci_framework_params | to_nice_yaml }}"
Original file line number Diff line number Diff line change 4444 logfiles_dest_dir : >-
4545 {{
4646 (
47- cifmw_basedir | default(ansible_user_dir ~ '/ci-framework-data') ,
47+ cifmw_basedir,
4848 'logs/',
4949 now(fmt='%Y-%m-%d_%H-%M')
5050 ) | path_join
104104 dest : >-
105105 {{
106106 (
107- cifmw_basedir|default(ansible_user_dir ~ '/ci-framework-data') ,
107+ cifmw_basedir,
108108 "artifacts/ansible_facts." + now(fmt='%Y-%m-%d_%H-%M')
109109 ) | path_join
110110 }}
Original file line number Diff line number Diff line change 7474 until: "{{ make_%(target)s_until | default(true) }}"
7575 register: "make_%(target)s_status"
7676 cifmw.general.ci_script:
77- output_dir: "{{ cifmw_basedir|default(ansible_user_dir ~ '/ci-framework-data') }}/artifacts"
77+ output_dir: "{{ cifmw_basedir }}/artifacts"
7878 chdir: "%(chdir)s"
7979 script: "make %(target)s"
8080 dry_run: "{{ make_%(target)s_dryrun|default(false)|bool }}"
Original file line number Diff line number Diff line change 1717
1818# All variables intended for modification should be placed in this file.
1919# All variables within this role should have a prefix of "cifmw_artifacts"
20- cifmw_artifacts_basedir : " {{ cifmw_basedir | default(ansible_user_dir ~ '/ci-framework-data') }}"
20+ cifmw_artifacts_basedir : " {{ cifmw_basedir }}"
2121cifmw_artifacts_crc_host : " api.crc.testing"
2222cifmw_artifacts_crc_user : " core"
2323cifmw_artifacts_crc_sshkey : " ~/.crc/machines/crc/id_ecdsa"
Original file line number Diff line number Diff line change 1818# All variables intended for modification should be placed in this file.
1919# All variables within this role should have a prefix of "cifmw_build_containers"
2020cifmw_build_containers_tcib_src : " https://github.com/openstack-k8s-operators/tcib"
21- cifmw_build_containers_basedir : " {{ cifmw_basedir | default(ansible_user_dir ~ '/ci-framework-data') }}"
21+ cifmw_build_containers_basedir : " {{ cifmw_basedir }}"
2222cifmw_build_containers_authfile_path : ${XDG_RUNTIME_DIR}/containers/auth.json
2323cifmw_build_containers_push_containers : false
2424cifmw_build_containers_timestamper_cmd : >-
Original file line number Diff line number Diff line change 1717
1818- name : Prepare
1919 hosts : all
20- vars :
21- cifmw_basedir : " {{ ansible_user_dir }}/ci-framework-data/"
2220 roles :
2321 - role : test_deps
2422 - role : repo_setup
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ cifmw_bop_dlrn_deps:
3131 - sqlite
3232 - python3-libselinux
3333
34- cifmw_bop_build_repo_dir : " {{ cifmw_basedir | default(ansible_user_dir ~ '/ci-framework-data') }}/logs"
34+ cifmw_bop_build_repo_dir : " {{ cifmw_basedir }}/logs"
3535cifmw_bop_artifacts_basedir : " {{ ansible_user_dir ~ '/ci-framework-data' }}"
3636cifmw_bop_dlrn_repo_url : " https://github.com/openstack-packages/DLRN.git"
3737cifmw_bop_dlrn_from_source : false
Original file line number Diff line number Diff line change 1818# All variables intended for modification should be placed in this file.
1919# All variables within this role should have a prefix of "cifmw_cert_manager"
2020
21- cifmw_cert_manager_basedir : " {{ cifmw_basedir | default(ansible_user_dir ~ '/ci-framework-data') }}"
21+ cifmw_cert_manager_basedir : " {{ cifmw_basedir }}"
2222cifmw_cert_manager_manifests_dir : " {{ cifmw_manifests | default(cifmw_cert_manager_basedir ~ '/artifacts/manifests') }}/cert-manager"
2323cifmw_cert_manager_operator_namespace : cert-manager-operator
2424cifmw_cert_manager_openshift_version : stable-v1
You can’t perform that action at this time.
0 commit comments