refs #8414 - Add dev environment
This commit is contained in:
parent
e95b64e96f
commit
813c404b19
|
@ -104,7 +104,8 @@
|
|||
- /mnt/local-backup
|
||||
Make sure they are correctly configured and accessible.
|
||||
|
||||
- when: testdb is true
|
||||
- when: testdb is true or dev is true
|
||||
|
||||
block:
|
||||
- name: Set MariaDB custom configuration Test-DB
|
||||
copy:
|
||||
|
@ -115,12 +116,12 @@
|
|||
mode: u=rw,g=r,o=r
|
||||
with_items:
|
||||
- "files/mariaconfigfiles/z90-vn.cnf"
|
||||
- "files/mariaconfigfiles/z92-testing.cnf"
|
||||
- "files/mariaconfigfiles/z92-testing_dev.cnf"
|
||||
notify: restart-mariadb
|
||||
|
||||
- name: Set MariaBackup custom template configuration Test-DB
|
||||
template:
|
||||
src: test-db/apply.config.sh
|
||||
src: test-db_dev/apply.config.sh
|
||||
dest: /root/mariabackup/
|
||||
owner: root
|
||||
group: root
|
||||
|
@ -128,7 +129,7 @@
|
|||
|
||||
- name: Set MariaDB local configuration file for Test-DB
|
||||
copy:
|
||||
src: files/mariabackuptest/apply.sql
|
||||
src: files/mariabackuptest_dev/apply.sql
|
||||
dest: /root/mariabackup/
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
baculaDir=/mnt/mysqldata/bacula-restore
|
||||
|
||||
# Database branch name
|
||||
dbBranch=test
|
||||
dbBranch={{ environment }}
|
||||
|
||||
# Database environment
|
||||
dbEnvironment=test
|
||||
dbEnvironment={{ environment }}
|
||||
|
||||
# MariaDB cluster sibling node hostnames
|
||||
dbClusterSiblings=()
|
||||
|
@ -16,5 +16,5 @@ dbClusterSiblings=()
|
|||
jenkinsAuth=jenkins:{{ lookup(passbolt, 'jenkinsAuth', folder_parent_id=passbolt_folder).password }}
|
||||
|
||||
# Jenkins job URL
|
||||
jenkinsUrl=https://jenkins.verdnatura.es/job/Scheduler/job/db-apply-changes-test
|
||||
jenkinsUrl=https://jenkins.verdnatura.es/job/Scheduler/job/db-apply-changes-{{ environment }}
|
||||
|
Loading…
Reference in New Issue