{"id":27044153,"url":"https://github.com/libre-devops/packer-azdo-pipeline-template","last_synced_at":"2026-02-03T17:31:23.222Z","repository":{"id":285250212,"uuid":"623104297","full_name":"libre-devops/packer-azdo-pipeline-template","owner":"libre-devops","description":"Packer Azure DevOps template","archived":false,"fork":false,"pushed_at":"2023-04-03T21:34:46.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-08T06:39:54.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libre-devops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-03T17:49:03.000Z","updated_at":"2023-04-03T17:49:03.000Z","dependencies_parsed_at":"2025-03-30T15:44:32.682Z","dependency_job_id":"714ce22e-c227-4fa6-a4d6-e40941b35766","html_url":"https://github.com/libre-devops/packer-azdo-pipeline-template","commit_stats":null,"previous_names":["libre-devops/packer-azdo-pipeline-template"],"tags_count":0,"template":false,"template_full_name":"libre-devops/terraform-azdo-pipeline-template","purl":"pkg:github/libre-devops/packer-azdo-pipeline-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fpacker-azdo-pipeline-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fpacker-azdo-pipeline-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fpacker-azdo-pipeline-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fpacker-azdo-pipeline-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libre-devops","download_url":"https://codeload.github.com/libre-devops/packer-azdo-pipeline-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fpacker-azdo-pipeline-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261170433,"owners_count":23119515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-05T05:19:32.234Z","updated_at":"2026-02-03T17:31:18.190Z","avatar_url":"https://github.com/libre-devops.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"```yam;\n---\nparameters:\n\n  - name: PACKER_PATH\n    type: string\n    default: \"\"\n    displayName: \"What is the path to your packer HCL file?\"\n\n  - name: AZURE_TARGET_CLIENT_ID\n    default: \"\"\n    type: string\n    displayName: \"What is the client id of the service principle you wish to use with Packer?\"\n\n  - name: AZURE_TARGET_CLIENT_SECRET\n    default: \"\"\n    type: string\n    displayName: \"What is the client of the service principle you wish to use with Packer?  Note, this value is a secret\"\n\n  - name: AZURE_TARGET_SUBSCRIPTION_ID\n    default: \"\"\n    type: string\n    displayName: \"What is the subscription ID of the target subscription you are trying to deploy to?\"\n\n  - name: AZURE_TARGET_TENANT_ID\n    default: \"\"\n    type: string\n    displayName: \"What is the tenant ID in which the target subscription resides?\"\n\n  - name: SHORTHAND_PROJECT_NAME\n    default: \"\"\n    type: string\n    displayName: \"What is the shorthand name for your project?\"\n\n  - name: SHORTHAND_ENVIRONMENT_NAME\n    default: \"\"\n    type: string\n    displayName: \"What is the shorthand (3 character) name for environment you are deploying to?\"\n\n  - name: SHORTHAND_LOCATION_NAME\n    default: \"\"\n    type: string\n    displayName: \"What is the shorthand location name? E.g. uks for UK South etc\"\n\n\nsteps:\n\n  - pwsh: |\n      if ($IsLinux)\n      {\n      brew install packer ; `\n      packer validate ${{ parameters.PACKER_PATH }} ; packer build ${{ parameters.PACKER_PATH }}\n      }\n      elseif ($IsMacOS)\n      {\n      brew install packer ; `\n      packer validate ${{ parameters.PACKER_PATH }} ; packer build ${{ parameters.PACKER_PATH }}\n      }\n      elseif ($IsWindows)\n      {\n        Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\n        choco install packer -y ; `\n        packer validate ${{ parameters.PACKER_PATH }} ; packer build ${{ parameters.PACKER_PATH }}\n      }\n    displayName: 'Packer install, validate and build'\n    workingDirectory: \"${{ parameters.PACKER_PATH }}\"\n    continueOnError: false\n    enabled: true\n    env:\n      PKR_VAR_short: ${{ parameters.SHORTHAND_PROJECT_NAME }}\n      PKR_VAR_env: ${{ parameters.SHORTHAND_ENVIRONMENT_NAME }}\n      PKR_VAR_loc: ${{ parameters.SHORTHAND_LOCATION_NAME }}\n\n      ARM_CLIENT_ID: ${{ parameters.AZURE_TARGET_CLIENT_ID }}\n      ARM_CLIENT_SECRET: ${{ parameters.AZURE_TARGET_CLIENT_SECRET }}\n      ARM_SUBSCRIPTION_ID: ${{ parameters.AZURE_TARGET_SUBSCRIPTION_ID }}\n      ARM_TENANT_ID: ${{ parameters.AZURE_TARGET_TENANT_ID }}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fpacker-azdo-pipeline-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fpacker-azdo-pipeline-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fpacker-azdo-pipeline-template/lists"}