Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 97c4ee7

Browse files
feat: added the option to generate outputs from packer builds. (#3246)
* feat: add packer outputs to images. * fix: added jest vs code runner as extension.
1 parent cd6b5ab commit 97c4ee7

File tree

7 files changed

+27
-5
lines changed

7 files changed

+27
-5
lines changed

Diff for: .vscode/extensions.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
66
"editorconfig.editorconfig",
77
"yzhang.markdown-all-in-one",
8-
"hashicorp.terraform"
8+
"hashicorp.terraform",
9+
"firsttris.vscode-jest-runner"
910
]
10-
}
11+
}

Diff for: images/linux-amzn2/github_agent.linux.pkr.hcl

+4
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,8 @@ build {
182182
]
183183
}
184184

185+
post-processor "manifest" {
186+
output = "manifest.json"
187+
strip_path = true
188+
}
185189
}

Diff for: images/ubuntu-focal/github_agent.ubuntu.pkr.hcl

+4-1
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,8 @@ build {
193193
"sudo chmod +x /var/lib/cloud/scripts/per-boot/start-runner.sh",
194194
]
195195
}
196-
196+
post-processor "manifest" {
197+
output = "manifest.json"
198+
strip_path = true
199+
}
197200
}

Diff for: images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl

+4-1
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,8 @@ build {
193193
"sudo chmod +x /var/lib/cloud/scripts/per-boot/start-runner.sh",
194194
]
195195
}
196-
196+
post-processor "manifest" {
197+
output = "manifest.json"
198+
strip_path = true
199+
}
197200
}

Diff for: images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl

+4-1
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,8 @@ build {
193193
"sudo chmod +x /var/lib/cloud/scripts/per-boot/start-runner.sh",
194194
]
195195
}
196-
196+
post-processor "manifest" {
197+
output = "manifest.json"
198+
strip_path = true
199+
}
197200
}

Diff for: images/windows-core-2019/github_agent.windows.pkr.hcl

+4
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,8 @@ build {
107107
})
108108
], var.custom_shell_commands)
109109
}
110+
post-processor "manifest" {
111+
output = "manifest.json"
112+
strip_path = true
113+
}
110114
}

Diff for: images/windows-core-2022/github_agent.windows.pkr.hcl

+4
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,8 @@ build {
121121
})
122122
], var.custom_shell_commands)
123123
}
124+
post-processor "manifest" {
125+
output = "manifest.json"
126+
strip_path = true
127+
}
124128
}

0 commit comments

Comments
 (0)