Skip to content

Commit

Permalink
feat(launchpad): remove separate ai launcher bin references
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed May 7, 2024
1 parent a96ee61 commit 62cd849
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ jobs:
just package-release-assets "faucet"
just package-release-assets "safenode_rpc_client"
just package-release-assets "node-launchpad"
just package-release-assets "autonomi-launcher"
- uses: actions/upload-artifact@main
with:
name: packaged_binaries
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ jobs:
just package-release-assets "safenode-manager"
just package-release-assets "safenodemand"
just package-release-assets "node-launchpad"
just package-release-assets "autonomi-launcher"
just upload-release-assets-to-s3 "safe"
just upload-release-assets-to-s3 "safenode"
just upload-release-assets-to-s3 "safenode-manager"
Expand Down Expand Up @@ -194,15 +193,13 @@ jobs:
just package-release-assets "safenode-manager" "latest"
just package-release-assets "safenodemand" "latest"
just package-release-assets "node-launchpad"
just package-release-assets "autonomi-launcher"
just upload-release-assets-to-s3 "safe"
just upload-release-assets-to-s3 "safenode"
just upload-release-assets-to-s3 "safenode-manager"
just upload-release-assets-to-s3 "safenodemand"
just upload-release-assets-to-s3 "faucet"
just upload-release-assets-to-s3 "safenode_rpc_client"
just upload-release-assets-to-s3 "node-launchpad"
just upload-release-assets-to-s3 "autonomi-launcher"
- name: post notification to slack on failure
if: ${{ failure() }}
Expand Down
17 changes: 4 additions & 13 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ build-release-artifacts arch:
cross build --release --target $arch --bin faucet --features=distribution
cross build --release --target $arch --bin safenode_rpc_client
cross build --release --target $arch --bin node-launchpad
cross build --release --target $arch --bin autonomi-launcher
else
cargo build --release --features="network-contacts,distribution" --target $arch --bin safe
cargo build --release --features=network-contacts --target $arch --bin safenode
Expand All @@ -129,7 +128,6 @@ build-release-artifacts arch:
cargo build --release --target $arch --bin faucet --features=distribution
cargo build --release --target $arch --bin safenode_rpc_client
cargo build --release --target $arch --bin node-launchpad
cargo build --release --target $arch --bin autonomi-launcher
fi

find target/$arch/release -maxdepth 1 -type f -exec cp '{}' artifacts \;
Expand Down Expand Up @@ -180,8 +178,7 @@ package-release-assets bin version="":
"safenodemand" \
"faucet" \
"safenode_rpc_client" \
"node-launchpad" \
"autonomi-launcher")
"node-launchpad")
crate_dir_name=""

# In the case of the node manager, the actual name of the crate is `sn-node-manager`, but the
Expand All @@ -207,11 +204,9 @@ package-release-assets bin version="":
crate_dir_name="sn_node_rpc_client"
;;
node-launchpad)
crate_dir_name="node-launchpad"
;;
autonomi-launcher)
crate_dir_name="node-launchpad"
crate_dir_name="node_launchpad"
;;

*)
echo "The $bin binary is not supported"
exit 1
Expand Down Expand Up @@ -341,12 +336,8 @@ upload-release-assets-to-s3 bin_name:
bucket="sn-node-rpc-client"
;;
node-launchpad)
bucket="sn-node-launchpad"
;;
autonomi-launcher-launchpad)
bucket="sn-node-launchpad"
bucket="node-launchpad"
;;
*)
echo "The {{bin_name}} binary is not supported"
exit 1
;;
Expand Down
1 change: 0 additions & 1 deletion node-launchpad/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ build = "build.rs"
name = "node-launchpad"
path = "src/bin/tui/main.rs"


[dependencies]
better-panic = "0.3.0"
clap = { version = "4.4.5", features = [
Expand Down

0 comments on commit 62cd849

Please sign in to comment.