feat: update Forgejo deployment
add DNS update step and complete forgejo deployment after build
This commit is contained in:
parent
8faa97a8bb
commit
8f19558826
7 changed files with 139 additions and 1 deletions
56
gcloud/tf/scripts/build-gcloud-k3s-pipeline-wait-dns.json
Normal file
56
gcloud/tf/scripts/build-gcloud-k3s-pipeline-wait-dns.json
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
[
|
||||
{
|
||||
"name": "run pre-flight checks",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./gcloud/tf/scripts/pre-flight-checks.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "list gcloud infrastructure",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./gcloud/tf/scripts/list_gloud_infra.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "create tfvars",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./gcloud/tf/scripts/create_tfvars.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "run tofu",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./gcloud/tf/scripts/run_tofu.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "wait for user input to continue",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./gcloud/tf/scripts/wait_for_user_input_dns.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "copy .env to k3s-vm-1",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"gcloud/tf/scripts/copy_env_to_first_node.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue