diff --git a/.circleci/config.yml b/.circleci/config.yml index 147f44eb6..8e213df4e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -278,11 +278,11 @@ jobs: - install-deps - prepare - run: make calibnet - - run: mkdir linux-calibnet && mv lotus lotus-miner lotus-worker linux-calibnet + - run: mkdir linux-calibrationnet && mv lotus lotus-miner lotus-worker linux-calibrationnet - persist_to_workspace: root: "." paths: - - linux-calibnet + - linux-calibrationnet build-ntwk-butterfly: description: | Compile lotus binaries for the butterfly network @@ -619,7 +619,7 @@ jobs: docker push $<>/<>:${tag} done - publish-packer: + publish-packer-mainnet: description: build and push AWS IAM and DigitalOcean droplet. executor: name: packer/default @@ -631,12 +631,39 @@ jobs: - packer/build: template: tools/packer/lotus.pkr.hcl args: "-var ci_workspace_bins=./linux -var lotus_network=mainnet -var git_tag=$CIRCLE_TAG" + publish-packer-calibrationnet: + description: build and push AWS IAM and DigitalOcean droplet. + executor: + name: packer/default + packer-version: 1.6.6 + steps: + - checkout + - attach_workspace: + at: "." - packer/build: template: tools/packer/lotus.pkr.hcl - args: "-var ci_workspace_bins=./linux-calibnet -var lotus_network=calibrationnet -var git_tag=$CIRCLE_TAG" + args: "-var ci_workspace_bins=./linux-calibrationnet -var lotus_network=calibrationnet -var git_tag=$CIRCLE_TAG" + publish-packer-butterflynet: + description: build and push AWS IAM and DigitalOcean droplet. + executor: + name: packer/default + packer-version: 1.6.6 + steps: + - checkout + - attach_workspace: + at: "." - packer/build: template: tools/packer/lotus.pkr.hcl args: "-var ci_workspace_bins=./linux-butterflynet -var lotus_network=butterflynet -var git_tag=$CIRCLE_TAG" + publish-packer-nerpanet: + description: build and push AWS IAM and DigitalOcean droplet. + executor: + name: packer/default + packer-version: 1.6.6 + steps: + - checkout + - attach_workspace: + at: "." - packer/build: template: tools/packer/lotus.pkr.hcl args: "-var ci_workspace_bins=./linux-nerpanet -var lotus_network=nerpanet -var git_tag=$CIRCLE_TAG" @@ -744,11 +771,17 @@ workflows: path: . repo: lotus-dev tag: '${CIRCLE_SHA1:0:8}' - - publish-packer: + - publish-packer-mainnet: requires: - build-all + - publish-packer-calibrationnet: + requires: - build-ntwk-calibration + - publish-packer-butterflynet: + requires: - build-ntwk-butterfly + - publish-packer-nerpanet: + requires: - build-ntwk-nerpa # filters: # branches: