Skip to content

Commit

Permalink
Update volume naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kanshi committed Aug 12, 2024
1 parent 9d76e9a commit a4d88b6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions operations/deploy-stage.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,16 @@ external_control_port = {{ env `NOMAD_PORT_control_port` }}
value = "true"
}

volume "sbws-stage-group-2" {
volume "sbws-stage-2" {
type = "host"
read_only = false
source = "sbws-stage-group-2"
source = "sbws-stage-2"
}

volume "sbws-destination-stage-group-2" {
volume "sbws-destination-stage-2" {
type = "host"
read_only = true
source = "sbws-destination-stage-group-2"
source = "sbws-destination-stage-2"
}

network {
Expand All @@ -280,7 +280,7 @@ external_control_port = {{ env `NOMAD_PORT_control_port` }}
driver = "docker"

volume_mount {
volume = "sbws-stage-group-2"
volume = "sbws-stage-2"
destination = "/var/lib/anon"
read_only = false
}
Expand Down Expand Up @@ -343,7 +343,7 @@ ORPort {{ env `NOMAD_PORT_orport` }}
}

volume_mount {
volume = "sbws-stage-group-2"
volume = "sbws-stage-2"
destination = "/root/.sbws"
read_only = false
}
Expand Down Expand Up @@ -421,7 +421,7 @@ external_control_port = {{ env `NOMAD_PORT_control_port` }}
}

volume_mount {
volume = "sbws-destination-stage-group-2"
volume = "sbws-destination-stage-2"
destination = "/data"
read_only = true
}
Expand Down Expand Up @@ -474,16 +474,16 @@ external_control_port = {{ env `NOMAD_PORT_control_port` }}
value = "true"
}

volume "sbws-stage-group-3" {
volume "sbws-stage-3" {
type = "host"
read_only = false
source = "sbws-stage-group-3"
source = "sbws-stage-3"
}

volume "sbws-destination-stage-group-3" {
volume "sbws-destination-stage-3" {
type = "host"
read_only = true
source = "sbws-destination-stage-group-3"
source = "sbws-destination-stage-3"
}

network {
Expand All @@ -507,7 +507,7 @@ external_control_port = {{ env `NOMAD_PORT_control_port` }}
driver = "docker"

volume_mount {
volume = "sbws-stage-group-3"
volume = "sbws-stage-3"
destination = "/var/lib/anon"
read_only = false
}
Expand Down Expand Up @@ -570,7 +570,7 @@ ORPort {{ env `NOMAD_PORT_orport` }}
}

volume_mount {
volume = "sbws-stage-group-3"
volume = "sbws-stage-3"
destination = "/root/.sbws"
read_only = false
}
Expand Down Expand Up @@ -648,7 +648,7 @@ external_control_port = {{ env `NOMAD_PORT_control_port` }}
}

volume_mount {
volume = "sbws-destination-stage-group-3"
volume = "sbws-destination-stage-3"
destination = "/data"
read_only = true
}
Expand Down

0 comments on commit a4d88b6

Please sign in to comment.