Compare commits
1 commit
main
...
renovate/h
Author | SHA1 | Date | |
---|---|---|---|
dba8ce7f71 |
4 changed files with 6 additions and 25 deletions
|
@ -1,12 +0,0 @@
|
||||||
skip_clone: true
|
|
||||||
steps:
|
|
||||||
- name: awx
|
|
||||||
image: curlimages/curl
|
|
||||||
environment:
|
|
||||||
TOKEN:
|
|
||||||
from_secret: AWX_TOKEN
|
|
||||||
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
|
|
|
@ -1,10 +1,3 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"matchPackagePatterns": ["*"],
|
|
||||||
"automerge": true,
|
|
||||||
"automergeType": "branch"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
tabulate==0.9.0
|
tabulate==0.9.0
|
||||||
hcloud==2.3.0
|
hcloud==1.18.1
|
||||||
rich==13.9.4
|
rich==12.6.0
|
|
@ -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
|
||||||
|
@ -87,7 +87,7 @@ def select_servertype():
|
||||||
#if str(m.cpu_type) == "shared":
|
#if str(m.cpu_type) == "shared":
|
||||||
table.add_row(str(m.id), str(m.name), str(m.description), str(m.cores), str(int(m.memory)) + " GB", str(m.disk) + " GB", str(m.cpu_type) , format(float(m.prices[0]["price_hourly"]["gross"]), '.2f') + " €", format(float(m.prices[0]["price_monthly"]["gross"]), '.2f') + " €")
|
table.add_row(str(m.id), str(m.name), str(m.description), str(m.cores), str(int(m.memory)) + " GB", str(m.disk) + " GB", str(m.cpu_type) , format(float(m.prices[0]["price_hourly"]["gross"]), '.2f') + " €", format(float(m.prices[0]["price_monthly"]["gross"]), '.2f') + " €")
|
||||||
console.print(table)
|
console.print(table)
|
||||||
return(Prompt.ask("Selection: ", default="ccx23"))
|
return(Prompt.ask("Selection: ", default="ccx22"))
|
||||||
|
|
||||||
def track_progress(a_id, description):
|
def track_progress(a_id, description):
|
||||||
with Progress() as progress:
|
with Progress() as progress:
|
||||||
|
@ -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…
Reference in a new issue