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