Skip to content

Commit 029bd00

Browse files
committed
doc/image-build.md: rephrase PKR_VAR_environment_root
because we don't show it anymore
1 parent 2e5ed3a commit 029bd00

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/image-build.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ In summary, Packer creates an OpenStack VM, runs Ansible on that, shuts it down,
150150

151151
Many of the Packer variables defined in `openstack.pkr.hcl` control the definition of the build VM and how to SSH to it to run Ansible. These are generic OpenStack builder options
152152
and are not specific to the Slurm Appliance. Packer variables can be set in a file at any convenient path; the build example above
153-
shows the use of the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable
154-
`environment_root`) to automatically select a variable file from the current environment, but for site-specific builds
155-
using a path in a "parent" environment is likely to be more appropriate (as builds should not be environment-specific to allow testing before deployment to a production environment).
153+
shows the use of a path in the **site** environment. This is the most appropriate as builds should be tested in **dev** or **staging** before deployment to a production environment.
154+
155+
During stackhpc CI image builds, the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable
156+
`environment_root`) is used to automatically select a variable file from the current environment; see `.github/workflows/fatimage.yml`.
156157

157158
What is Slurm Appliance-specific are the details of how Ansible is run:
158159

0 commit comments

Comments
 (0)