Skip to content

Commit 810d48d

Browse files
authored
Remove fbossci account build-windows-ami (#7898)
This step is broken: https://github.com/pytorch/test-infra/actions/runs/23565280903/job/68615184715#step:5:305 We are changing AMI publishing workflow. Hence no longer will be building AMI on fbossci but using public AMI built by ``build-windows-ami`` step
1 parent 9fb95f6 commit 810d48d

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

.github/workflows/build-windows-ami.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,3 @@ jobs:
4545
cd aws/ami/windows
4646
packer init .
4747
PACKER_LOG=1 packer build -var 'skip_create_ami=${{ inputs.skip_create_ami }}' .
48-
49-
build-windows-ami-pytorch-account:
50-
runs-on: ubuntu-latest
51-
environment: packer-build-env
52-
steps:
53-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54-
with:
55-
repository: pytorch/test-infra
56-
ref: ${{ inputs.branch }}
57-
58-
- name: Configure AWS Credentials (PyTorch Account)
59-
uses: aws-actions/configure-aws-credentials@50ac8dd1e1b10d09dac7b8727528b91bed831ac0 # v3.0.2
60-
with:
61-
aws-region: us-east-1
62-
role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_build_packer_ami
63-
64-
- name: Setup Packer
65-
uses: hashicorp/setup-packer@76e3039aa951aa4e6efe7e6ee06bc9ceb072142d # main
66-
with:
67-
version: ${{ env.PACKER_VERSION }}
68-
69-
- name: Packer Build
70-
run: |
71-
cd aws/ami/windows
72-
packer init .
73-
PACKER_LOG=1 packer build -var 'skip_create_ami=${{ inputs.skip_create_ami }}' .

0 commit comments

Comments
 (0)