Skip to content

Commit f321662

Browse files
authored
Merge pull request #1218 from threefoldtech/development_support_testing_using_mycelium
Development support testing using mycelium
2 parents 3b1db17 + 49ebb53 commit f321662

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/grid-client-integration.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,15 @@ jobs:
3131
run: |
3232
go mod download
3333
34-
- name: install curl, wg and yggdrasil and add peers
34+
- name: install curl, wg and mycelium and add peers
3535
run: |
3636
sudo apt-get update
3737
sudo apt-get install -y wireguard
3838
sudo apt-get install dirmngr
3939
sudo apt-get install curl
40-
gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt
41-
gpg --export 569130E8CA20FBC4CB3FDE555898470A764B32C9 | sudo apt-key add -
42-
echo 'deb http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' | sudo tee /etc/apt/sources.list.d/yggdrasil.list
43-
sudo apt-get update
44-
sudo apt-get install yggdrasil
45-
sudo systemctl enable yggdrasil
46-
PEERS=$(curl https://raw.githubusercontent.com/AhmedHanafy725/yggdrasil-config/main/config.json | jq '.yggdrasil.peers[]' -r | sed 's/\//\\\//g' | sed -z 's/\n/\\n/g')
47-
sudo sed -i -- 's/Peers\: \[\]/Peers: [\n'"$PEERS"']/g' /etc/yggdrasil/yggdrasil.conf
48-
sudo systemctl stop yggdrasil
49-
sudo systemctl start yggdrasil
40+
wget https://github.com/threefoldtech/mycelium/releases/download/v0.5.4/mycelium-x86_64-unknown-linux-musl.tar.gz
41+
tar xzf mycelium-x86_64-unknown-linux-musl.tar.gz
42+
sudo ./mycelium --peers tcp://188.40.132.242:9651 quic://185.69.166.8:9651 --tun-name utun9 -k /tmp/mycelium_priv_key.bin &
5043
5144
- name: Test
5245
env:

0 commit comments

Comments
 (0)