parent
65267f21f7
commit
05d7a87306
2 changed files with 8 additions and 7 deletions
|
@ -46,8 +46,6 @@ jobs:
|
||||||
run: terraform plan -out=tfplan
|
run: terraform plan -out=tfplan
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- uses: hashicorp/setup-nomad@main
|
- uses: hashicorp/setup-nomad@main
|
||||||
- name: Install jq
|
|
||||||
run: sudo apt-get update && sudo apt-get install -y jq
|
|
||||||
- name: Nomad Validate
|
- name: Nomad Validate
|
||||||
run: terraform show -json tfplan | jq -r '.planned_values.root_module.child_modules[].resources[].values.jobspec' | nomad job validate -json -
|
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
|
- uses: actions/github-script@v7
|
||||||
|
|
|
@ -19,11 +19,14 @@
|
||||||
"target": "/media",
|
"target": "/media",
|
||||||
"volume_options": {
|
"volume_options": {
|
||||||
"driver_config": {
|
"driver_config": {
|
||||||
"name": "nfs",
|
"name": "local",
|
||||||
"options": {
|
"options": [
|
||||||
"o": "addr=martinibar.lan,nolock,soft,rw",
|
{
|
||||||
"device": ":/volume1/docker"
|
"type": "nfs",
|
||||||
}
|
"o": "addr=martinibar.lan,nolock,soft,rw",
|
||||||
|
"device": ":/volume1/docker"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue