feat: Remove Nomad validation step in plan-and-apply workflow
This commit is contained in:
parent
8b7dc11327
commit
cd88bac77d
5 changed files with 35 additions and 29 deletions
|
@ -45,9 +45,6 @@ jobs:
|
|||
id: plan
|
||||
run: terraform plan -out=tfplan
|
||||
continue-on-error: true
|
||||
- uses: hashicorp/setup-nomad@main
|
||||
- name: Nomad Validate
|
||||
run: terraform show -json tfplan | jq -r '.planned_values.root_module.child_modules[].resources[].values.jobspec' | nomad job validate -json -
|
||||
- uses: actions/github-script@v7
|
||||
if: github.event_name == 'pull_request'
|
||||
env:
|
||||
|
|
|
@ -22,11 +22,13 @@
|
|||
],
|
||||
"logging": {
|
||||
"type": "elastic/elastic-logging-plugin:8.14.3",
|
||||
"config": {
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
"config": [
|
||||
{
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Env": {
|
||||
|
@ -61,11 +63,13 @@
|
|||
],
|
||||
"logging": {
|
||||
"type": "elastic/elastic-logging-plugin:8.14.3",
|
||||
"config": {
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
"config": [
|
||||
{
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Env": {
|
||||
|
|
|
@ -24,11 +24,13 @@
|
|||
],
|
||||
"logging": {
|
||||
"type": "elastic/elastic-logging-plugin:8.14.3",
|
||||
"config": {
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
"config": [
|
||||
{
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Templates": [
|
||||
|
|
|
@ -39,11 +39,13 @@
|
|||
],
|
||||
"logging": {
|
||||
"type": "elastic/elastic-logging-plugin:8.14.3",
|
||||
"config": {
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
"config": [
|
||||
{
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Env": {
|
||||
|
@ -74,7 +76,6 @@
|
|||
"traefik.http.routers.jellyfin.entrypoints=websecure",
|
||||
"traefik.http.routers.jellyfin.rule=Host(`jellyfin.brmartin.co.uk`)"
|
||||
]
|
||||
|
||||
}
|
||||
],
|
||||
"Networks": [
|
||||
|
|
|
@ -30,11 +30,13 @@
|
|||
],
|
||||
"logging": {
|
||||
"type": "elastic/elastic-logging-plugin:8.14.3",
|
||||
"config": {
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
"config": [
|
||||
{
|
||||
"hosts": "http://localhost:9200",
|
||||
"user": "docker_writer",
|
||||
"password": "oi*YWZSP_Ukd0y+pQ7EB"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Resources": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue