Passes arvados git hash as a envvar to the packer script. Refs #21461
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 22:13:09 +0000 (19:13 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 22:13:09 +0000 (19:13 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

jenkins/packer-images/jenkins-image-arvados-tests.json

index cb41e12a8480166dbb8af913febb9be1a351147a..2dd1cae19adf3eef0fa84a8a34a9bc8bd85e17ba 100644 (file)
@@ -1,6 +1,7 @@
 {
   "variables": {
-        "key_file": "{{env `packerbuildkey`}}"
+        "key_file": "{{env `packerbuildkey`}}",
+        "git_hash": "{{env `git_hash`}}"
     },
   "builders": [
     {