1717
1818 - name : Set up Docker
1919 uses : docker/setup-docker-action@v4
20+ with :
21+ rootless : ' false'
22+
23+
24+ - name : Test root Docker
25+ run : sudo docker run hello-world
2026
2127# # ---------------------------------------
2228# # 1. Set up Docker (buildx) AS NON-ROOT
@@ -41,67 +47,65 @@ jobs:
4147# run: |
4248# sudo docker buildx ls
4349
44- - name : Download Kata Manager
45- run : |
46- sudo curl -fsSL https://raw.githubusercontent.com/kata-containers/kata-containers/refs/tags/3.23.0/utils/kata-manager.sh -o kata-manager.sh
47- sudo chmod +x kata-manager.sh
48- working-directory : /
49-
50- - name : Setup Kata
51- # installs kata alongside nerdctl
52- run : sudo ./kata-manager.sh -N
53- working-directory : /
50+ # - name: Download Kata Manager
51+ # run: |
52+ # sudo curl -fsSL https://raw.githubusercontent.com/kata-containers/kata-containers/refs/tags/3.23.0/utils/kata-manager.sh -o kata-manager.sh
53+ # sudo chmod +x kata-manager.sh
54+ # working-directory: /
55+ #
56+ # - name: Setup Kata
57+ # # installs kata alongside nerdctl
58+ # run: sudo ./kata-manager.sh -N
59+ # working-directory: /
5460
5561 # no clue why this fails within the orchestrator, but I don't have enough sanity to debug it
5662 # so build nyxd image outside of it
5763 - name : build nyxd image
58- run : docker build --platform linux/amd64 -f Dockerfile.dev https://github.com/nymtech/nyxd.git#v0.60.1 -t localnet-nyxd:v0.60.1
59-
60- - name : save nyxd image
61- run : |
62- TMP_DIR=$(mktemp -d)
63- echo "TMP_DIR=$TMP_DIR" >> $GITHUB_ENV
64- docker save -o $TMP_DIR/nyxd localnet-nyxd:v0.60.1
65-
66- - name : load nyxd image
67- run : sudo nerdctl image load --input $TMP_DIR/nyxd
68-
69- - name : Check out repository code
70- uses : actions/checkout@v6
71- with :
72- path : ' nym'
73- repository : nymtech/nym
74- ref : ${{ inputs.ref }}
75-
76- - name : Install rust toolchain
77- uses : actions-rs/toolchain@v1
78- with :
79- profile : minimal
80- toolchain : stable
81- override : true
82- components : rustfmt, clippy
83-
84-
85- - name : Build localnet orchestrator binary
86- working-directory : nym
87- # for current test don't waste time with release build
88- run : cargo build --bin localnet-orchestrator
89-
90- - name : Run basic prerequisites check
91- run : sudo ./nym/target/debug/localnet-orchestrator check-prerequisites
92-
93- - name : Test nyxd
94- run : sudo RUST_LOG=debug ./nym/target/debug/localnet-orchestrator up --monorepo-root nym
95- env :
96- RUST_LOG : debug
64+ run : sudo docker build --platform linux/amd64 -f Dockerfile.dev https://github.com/nymtech/nyxd.git#v0.60.1 -t localnet-nyxd:v0.60.1
9765
98-
99- - name : Test nyxd2
100- run : sudo nerdctl container ls
101-
102-
103- - name : Test nyxd3
104- run : sleep 20 && curl http://127.0.0.1:26657/abci_info
66+ # - name: save nyxd image
67+ # run: |
68+ # TMP_DIR=$(mktemp -d)
69+ # echo "TMP_DIR=$TMP_DIR" >> $GITHUB_ENV
70+ # docker save -o $TMP_DIR/nyxd localnet-nyxd:v0.60.1
71+ #
72+ # - name: load nyxd image
73+ # run: sudo nerdctl image load --input $TMP_DIR/nyxd
74+ #
75+ # - name: Check out repository code
76+ # uses: actions/checkout@v6
77+ # with:
78+ # path: 'nym'
79+ # repository: nymtech/nym
80+ # ref: ${{ inputs.ref }}
81+ #
82+ # - name: Install rust toolchain
83+ # uses: actions-rs/toolchain@v1
84+ # with:
85+ # profile: minimal
86+ # toolchain: stable
87+ # override: true
88+ # components: rustfmt, clippy
89+ #
90+ #
91+ # - name: Build localnet orchestrator binary
92+ # working-directory: nym
93+ # # for current test don't waste time with release build
94+ # run: cargo build --bin localnet-orchestrator
95+ #
96+ # - name: Run basic prerequisites check
97+ # run: sudo ./nym/target/debug/localnet-orchestrator check-prerequisites
98+ #
99+ # - name: Test nyxd
100+ # run: sudo ./nym/target/debug/localnet-orchestrator up --monorepo-root nym
101+ #
102+ #
103+ # - name: Test nyxd2
104+ # run: sudo nerdctl container ls
105+ #
106+ #
107+ # - name: Test nyxd3
108+ # run: sleep 20 && curl http://127.0.0.1:26657/abci_info
105109
106110
107111
0 commit comments