Skip to content

Commit

Permalink
trying the start-process command#6
Browse files Browse the repository at this point in the history
  • Loading branch information
catelleempei-eaton committed Aug 22, 2024
1 parent d2c8fdb commit ed5ae19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion images/windows/scripts/build/Install-CoverityClient.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Define the source URL and destination path

$sourceUrl="https://stsmpdevopsimages.blob.core.windows.net/armimagelayeraddons/synopsys/coverity/cov-analysis-win64-2024.3.1.exe?sp=r&st=2024-08-21T12:29:31Z&se=2024-08-21T20:29:31Z&spr=https&sv=2022-11-02&sr=b&sig=wXDjreSkZys8eudfSx4wZ1ZiLxMBSRL5tly7w%2BqlAPI%3D"
$sourceUrl="https://stsmpdevopsimages.blob.core.windows.net/armimagelayeraddons/synopsys/coverity/cov-analysis-win64-2024.3.1.exe?sp=r&st=2024-08-22T01:29:51Z&se=2024-08-22T09:29:51Z&spr=https&sv=2022-11-02&sr=b&sig=ZDzc3%2B6yijklKlM1Bld2Z3j1kjyKUQcEFZRYTYYzgdI%3D"

$destinationPath = "C:\temp/cov-analysis-win64-2024.3.1.exe"
if (-not (Get-Command azcopy -ErrorAction SilentlyContinue)) {
Expand Down
18 changes: 8 additions & 10 deletions images/windows/templates/windows-2022-coverity-base.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ source "azure-arm" "image" {
resource_group = "ETN-ES-EAS-DEVSECOPS-PACKER" #"${var.managed_image_resource_group_name}"
gallery_name = "etn_packer_gallery" #"${var.managed_image_gallery_name}"
image_name = "etn_es_runner_image_infra" # "coverity-bare"
image_version = "1.0.8" #"2024.7.24"
image_version = "1.0.9" #"2024.7.24"
}

dynamic "azure_tag" {
Expand All @@ -238,15 +238,13 @@ build {
# inline = ["New-Item -Path ${var.image_folder} -ItemType Directory -Force"]
# }

# provisioner "file" {
# destination = "${var.image_folder}\\"
# sources = [
# # "${path.root}/../assets",
# "${path.root}/../scripts",
# "${path.root}/../license.dat",
# # "${path.root}/../toolsets"
# ]
# }
provisioner "file" {
destination = "${var.image_folder}\\"
sources = [

"${path.root}/../scripts",
]
}

# provisioner "file" {
# destination = "${var.image_folder}\\scripts\\docs-gen\\"
Expand Down

0 comments on commit ed5ae19

Please sign in to comment.