{"id":18382337,"url":"https://github.com/centeredge/jenkins.buildagents","last_synced_at":"2025-08-24T12:32:55.224Z","repository":{"id":29872103,"uuid":"120036363","full_name":"CenterEdge/Jenkins.BuildAgents","owner":"CenterEdge","description":"Packer scripts for creating build agents","archived":false,"fork":false,"pushed_at":"2024-08-26T12:12:07.000Z","size":61,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-05T05:25:47.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CenterEdge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-02-02T22:05:19.000Z","updated_at":"2024-08-26T12:12:09.000Z","dependencies_parsed_at":"2024-08-26T06:24:23.561Z","dependency_job_id":"e658a48c-65b7-4d7e-a787-882fc2c9860b","html_url":"https://github.com/CenterEdge/Jenkins.BuildAgents","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CenterEdge/Jenkins.BuildAgents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterEdge%2FJenkins.BuildAgents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterEdge%2FJenkins.BuildAgents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterEdge%2FJenkins.BuildAgents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterEdge%2FJenkins.BuildAgents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CenterEdge","download_url":"https://codeload.github.com/CenterEdge/Jenkins.BuildAgents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterEdge%2FJenkins.BuildAgents/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259571643,"owners_count":22878183,"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":"2024-11-06T01:04:35.490Z","updated_at":"2025-06-13T03:04:04.087Z","avatar_url":"https://github.com/CenterEdge.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins.BuildAgents\n\nCollection of [Packer](https://www.packer.io/intro/index.html) scripts to create new AMIs for build agents.  This makes it easy to apply new versions of build tools or create agents from up-to-date base AMIs with the latest security patches.\n\n## Preparation\n\nInstall Packer using [Chocolatey](https://chocolatey.org/):\n\n```powershell\nchoco install packer\n```\n\nInstall [AWS Powershell Tools](https://www.powershellgallery.com/packages/AWSPowerShell):\n\n```\nInstall-Module -Name AWSPowerShell\n```\n\n## Building a New AMI\n\n1. Login to AWS using `Set-AWSCredential` or some other means of getting your credentials added to your PowerShell session.\n\n2. Run `Pack.ps1`, supplying the path to the Packer script your wish to run:\n\n```powershell\n.\\Pack.ps1 .\\amis\\windows\\windows-msbuild2017.json\n```\n\n3. Watch the magic happen!\n\n\n## Setup AWS Credentials (Courtesy of David Jackson)\n\n1. Login to AWS Console and Create an Access Key / Secret Key for your account\n\n2. Open Powershell for AWS\n\n3. Enter the following commands, replacing the Access Key and Secret Key combo from above:\n```powershell\nSet-AWSCredential -AccessKey YourAccessKeyFromStep1 -SecretKey YourSecretKeyFromStep1 -StoreAs myCredentials\n```\n```powershell\nSet-AWSCredential -SourceProfile myCredentials -RoleArn arn:aws:iam::097130181434:role/PowerUser -MfaSerial arn:aws:iam::yourmfaserialnumber -StoreAs myRoleProfile\n```\n```powershell\nSet-AWSCredential myRoleProfile\n```\n\n4. Verify Setup with:\n```powershell\nGet-EC2Instance -Region us-east-1\n```\n\n5. (Optional) Set Default Region\n```powershell\nSet-DefaultAWSRegion -Region us-east-1\n```\n\n## Packer Crashes!\n\nNOTE: If Packer crashes during the creation of an AMI, it may be necessary to log directly into AWS to cleanup any temporary artifacts created by Packer during the creation process.\n\nCheck the following in AWS:\n1. EC2\n2. Security Groups\n3. Access Keys\n\nFiltering on the keyword 'Packer' in the areas listed above should reveal any values that need to be manually cleaned up (deleted / unregistered / etc).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenteredge%2Fjenkins.buildagents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcenteredge%2Fjenkins.buildagents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenteredge%2Fjenkins.buildagents/lists"}