Compare commits
No commits in common. "f9575da252b2c0cfc4b2fb4941142e24c7813e5b" and "9bc7295f2afa4cdb34d80023a7159703ab34290a" have entirely different histories.
f9575da252
...
9bc7295f2a
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: deploy
|
||||||
steps:
|
steps:
|
||||||
- name: awx
|
- name: awx
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
|
@ -7,5 +9,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/13/launch/"
|
- "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/13/launch/"
|
||||||
when:
|
when:
|
||||||
- event: push
|
event:
|
||||||
branch: main
|
- push
|
||||||
|
branch:
|
||||||
|
- main
|
|
@ -25,7 +25,7 @@ server_game = "sfserver"
|
||||||
#server_type = "cx11"
|
#server_type = "cx11"
|
||||||
server_type_id = None
|
server_type_id = None
|
||||||
server_key = 6513932
|
server_key = 6513932
|
||||||
server_image = 114690387
|
server_image = 45557056
|
||||||
server_ipv4 = 11737045
|
server_ipv4 = 11737045
|
||||||
server_ipv6 = 11737053
|
server_ipv6 = 11737053
|
||||||
volume_id = 11742041
|
volume_id = 11742041
|
||||||
|
@ -142,7 +142,7 @@ if sys.argv[1] == "create":
|
||||||
servers = client.servers.get_all()
|
servers = client.servers.get_all()
|
||||||
for s in servers:
|
for s in servers:
|
||||||
if s.name == server_name:
|
if s.name == server_name:
|
||||||
console.print("[red]server already there")
|
console.print("[red]server already there")
|
||||||
if Confirm.ask("Delete?"):
|
if Confirm.ask("Delete?"):
|
||||||
delete_server(s)
|
delete_server(s)
|
||||||
exit(0) # for now, until I have a way to wait
|
exit(0) # for now, until I have a way to wait
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue