mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 15:48:33 +02:00
Compare commits
62 Commits
6bd7d5dde6
...
edb3091b2a
Author | SHA1 | Date | |
---|---|---|---|
edb3091b2a | |||
10edb2b533 | |||
3bffbd872d | |||
af5d64200c | |||
95dd8fb52b | |||
45476954cc | |||
386e3ec75c | |||
854f0c828a | |||
06c776ee90 | |||
71d661dfb5 | |||
ca518405ff | |||
a1b4aff656 | |||
b40a7f795e | |||
50d9f18969 | |||
baa26b3a09 | |||
eff8120428 | |||
25151a5776 | |||
82b9f93e13 | |||
6fa3c016b2 | |||
23d32537c7 | |||
607f58ae0a | |||
dce4ccb711 | |||
b66a4598de | |||
3d2d8e5c3d | |||
b12359c373 | |||
cc698871f6 | |||
66867ae717 | |||
9554f194ac | |||
4ea82d55a8 | |||
d855defac0 | |||
a90c1d5589 | |||
5cae7332d5 | |||
e17d538c2b | |||
f9266b0bc9 | |||
7909eadad5 | |||
c5a71ef749 | |||
7a3da9ee7d | |||
ab5ba0e10d | |||
db3d4245d9 | |||
6b522f6cbc | |||
39d16f6f2c | |||
5ed0031208 | |||
fded5b677c | |||
67b73319e0 | |||
9daa539028 | |||
f22b99030b | |||
ac2d7d212e | |||
6a52d29803 | |||
fd99f4ef78 | |||
daeb2901f2 | |||
59f6d1669b | |||
ca9a2d0969 | |||
6ff4833e0b | |||
506e4cc7df | |||
ccf4d16c55 | |||
6acf13de4e | |||
e9b1c18bb7 | |||
6f70dbc83c | |||
2951d204a6 | |||
15e1275c5a | |||
c636e1f2e5 | |||
97ff1a3197 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.gitlab-ci.yml
|
@ -18,11 +18,13 @@
|
||||
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- build
|
||||
|
||||
|
||||
|
||||
build-job: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
script:
|
||||
- echo "Compiling the code..."
|
||||
- echo "Compile complete."
|
||||
- curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H 'Content-Type\: application/json'
|
||||
|
||||
- column=":"
|
||||
- echo "${flow_id}"
|
||||
- curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/${flow_id} -d '{"tag":["setup","omv_backup"],"target":["servers"]}' -H "Content-Type${column} application/json"
|
||||
rules:
|
||||
- if: '$CI_COMMIT_MESSAGE =~ /build/'
|
||||
|
@ -20,7 +20,7 @@ import numpy as np
|
||||
|
||||
file_path = os.path.realpath(__file__)
|
||||
dir_path = os.path.dirname(file_path)
|
||||
VERSION="1.0.4"
|
||||
VERSION="1.0.6"
|
||||
# print(file_path)
|
||||
# print(dir_path)
|
||||
os.chdir(dir_path)
|
||||
@ -217,7 +217,6 @@ if _STOP:
|
||||
continue
|
||||
cmnd = f"docker stop {c.split()[-1]}"
|
||||
status, running_containers = subprocess.getstatusoutput(cmnd)
|
||||
|
||||
if _RESTORE:
|
||||
logging.info("Starting Restore")
|
||||
print("Starting Restore")
|
||||
|
Reference in New Issue
Block a user