Fixed failing test
This commit is contained in:
parent
e659cffbc4
commit
0d634156bd
2 changed files with 5 additions and 1 deletions
|
@ -11,6 +11,8 @@ function main() {
|
||||||
file_env POSTGRES_PASSWORD
|
file_env POSTGRES_PASSWORD
|
||||||
file_env POSTGRES_USER
|
file_env POSTGRES_USER
|
||||||
|
|
||||||
|
# Im Jira pod: /opt/atlassian-jira-software-standalone/bin/stop-jira.sh
|
||||||
|
|
||||||
# Restore latest snapshot into /var/backups/restic-restore
|
# Restore latest snapshot into /var/backups/restic-restore
|
||||||
rm -rf /var/backups/restic-restore
|
rm -rf /var/backups/restic-restore
|
||||||
restore-directory '/var/backups/restic-restore'
|
restore-directory '/var/backups/restic-restore'
|
||||||
|
@ -23,6 +25,8 @@ function main() {
|
||||||
drop-create-db
|
drop-create-db
|
||||||
restore-roles
|
restore-roles
|
||||||
restore-db
|
restore-db
|
||||||
|
|
||||||
|
# /opt/atlassian-jira-software-standalone/bin/start-jira.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
source /usr/local/lib/functions.sh
|
source /usr/local/lib/functions.sh
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
:metadata {:name "backup-config"
|
:metadata {:name "backup-config"
|
||||||
:labels {:app.kubernetes.io/name "backup"
|
:labels {:app.kubernetes.io/name "backup"
|
||||||
:app.kubernetes.io/part-of "jira"}}
|
:app.kubernetes.io/part-of "jira"}}
|
||||||
:stringData
|
:data
|
||||||
{:restic-repository "s3:restic-repository"}}
|
{:restic-repository "s3:restic-repository"}}
|
||||||
(cut/generate-config {:restic-repository "s3:restic-repository"}))))
|
(cut/generate-config {:restic-repository "s3:restic-repository"}))))
|
||||||
|
|
||||||
|
|
Reference in a new issue