Skip to content

Commit

Permalink
Merge pull request #9751 from filecoin-project/id/remove-packer
Browse files Browse the repository at this point in the history
_build_: Remove support for AMIs and DO Droplets
  • Loading branch information
ianconsolata authored Dec 19, 2022
2 parents 6388eca + 76baeb3 commit 62f126d
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 611 deletions.
48 changes: 0 additions & 48 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ executors:
ubuntu:
docker:
- image: ubuntu:20.04
packer:
description: |
The HashiCorp provided Packer container
parameters:
packer-version:
type: string
default: "1.8"
docker:
- image: hashicorp/packer:<< parameters.packer-version >>


commands:
prepare:
Expand Down Expand Up @@ -109,25 +99,6 @@ commands:
name: fetch all tags
command: |
git fetch --all
packer_build:
description: "Run a packer build"
parameters:
template:
description: |
The name of the packer template file
type: string
default: packer.json
args:
description: |
Arguments to pass to the packer build command
type: string
default: ""

steps:
- run:
name: "Run a packer build"
command: packer build << parameters.args >> << parameters.template >>
no_output_timeout: 1h
jobs:
mod-tidy-check:
Expand Down Expand Up @@ -640,15 +611,6 @@ jobs:
image: filecoin/<<parameters.image>>
extra_build_args: --target <<parameters.image>> --build-arg GOFLAGS=-tags=<<parameters.network>>

publish-packer-snap:
description: build packer image with snap. mainnet only.
executor:
name: packer
steps:
- checkout
- packer_build:
template: tools/packer/lotus-snap.pkr.hcl

workflows:
version: 2.1
ci:
Expand Down Expand Up @@ -1389,13 +1351,3 @@ workflows:
channel: nightly
network: debug
push: true
biweekly:
triggers:
- schedule:
cron: "0 0 1,15 * *"
filters:
branches:
only:
- master
jobs:
- publish-packer-snap
48 changes: 0 additions & 48 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ executors:
ubuntu:
docker:
- image: ubuntu:20.04
packer:
description: |
The HashiCorp provided Packer container
parameters:
packer-version:
type: string
default: "1.8"
docker:
- image: hashicorp/packer:<< parameters.packer-version >>


commands:
prepare:
Expand Down Expand Up @@ -109,25 +99,6 @@ commands:
name: fetch all tags
command: |
git fetch --all
packer_build:
description: "Run a packer build"
parameters:
template:
description: |
The name of the packer template file
type: string
default: packer.json
args:
description: |
Arguments to pass to the packer build command
type: string
default: ""

steps:
- run:
name: "Run a packer build"
command: packer build << parameters.args >> << parameters.template >>
no_output_timeout: 1h
jobs:
mod-tidy-check:
Expand Down Expand Up @@ -640,15 +611,6 @@ jobs:
image: filecoin/<<parameters.image>>
extra_build_args: --target <<parameters.image>> --build-arg GOFLAGS=-tags=<<parameters.network>>

publish-packer-snap:
description: build packer image with snap. mainnet only.
executor:
name: packer
steps:
- checkout
- packer_build:
template: tools/packer/lotus-snap.pkr.hcl

workflows:
version: 2.1
ci:
Expand Down Expand Up @@ -903,13 +865,3 @@ workflows:
network: [[.]]
push: true
[[- end]]
biweekly:
triggers:
- schedule:
cron: "0 0 1,15 * *"
filters:
branches:
only:
- master
jobs:
- publish-packer-snap
64 changes: 0 additions & 64 deletions tools/packer/etc/motd

This file was deleted.

12 changes: 0 additions & 12 deletions tools/packer/homedir/bashrc

This file was deleted.

90 changes: 0 additions & 90 deletions tools/packer/lotus-snap.pkr.hcl

This file was deleted.

Loading

0 comments on commit 62f126d

Please sign in to comment.