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