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