edge
This commit is contained in:
parent
a3458213f4
commit
1cd93e63fd
@ -1058,7 +1058,13 @@ workflows:
|
||||
tags:
|
||||
only:
|
||||
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
||||
- publish-packer-snap
|
||||
- publish-snapcaft:
|
||||
name: publish-snapcraft-temporary
|
||||
channel: edge
|
||||
- publish-packer-snap:
|
||||
name: publish-packer-snap-temporary
|
||||
requires:
|
||||
- publish-snapcraft-temporary
|
||||
|
||||
nightly:
|
||||
triggers:
|
||||
|
@ -10,7 +10,7 @@ variable "lotus_network" {
|
||||
|
||||
locals {
|
||||
timestamp = regex_replace(timestamp(), "[- TZ:]", "")
|
||||
}
|
||||
}
|
||||
|
||||
source "amazon-ebs" "lotus" {
|
||||
ami_name = "lotus-${var.lotus_network}-snap-${local.timestamp}"
|
||||
|
@ -26,13 +26,14 @@ MANAGED_FILES=(
|
||||
apt update
|
||||
apt reinstall snapd
|
||||
|
||||
snap install lotus-filecoin
|
||||
snap install lotus-filecoin --channel=edge
|
||||
|
||||
snap alias lotus-filecoin.lotus lotus
|
||||
snap alias lotus-file.con.lotus-daemon lotus-daemon
|
||||
snap alias lotus-filecoin.lotus-miner lotus-miner
|
||||
snap alias lotus-filecoin.lotus-miner lotus-worker
|
||||
snap alias lotus-filecoin.lotus-worker lotus-worker
|
||||
|
||||
#snap stop lotus-filecoin.lotus-daemon
|
||||
snap stop lotus-filecoin.lotus-daemon
|
||||
|
||||
# Setup firewall
|
||||
yes | ufw enable
|
||||
|
Loading…
Reference in New Issue
Block a user