Skip to content

Commit 9589fdb

Browse files
committed
remove docker and netsim tests
1 parent 8d3a62f commit 9589fdb

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

.github/workflows/ci.yml

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -287,71 +287,71 @@ jobs:
287287
command: check
288288
command-arguments: "-Dwarnings"
289289

290-
netsim-integration-tests:
291-
permissions: write-all
292-
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
293-
uses: './.github/workflows/netsim_runner.yaml'
294-
secrets: inherit
295-
with:
296-
branch: ${{ github.ref }}
297-
max_workers: 4
298-
netsim_branch: "main"
299-
sim_paths: "sims/iroh/iroh.json,sims/integration"
300-
pr_number: ${{ github.event.pull_request.number || '' }}
290+
# netsim-integration-tests:
291+
# permissions: write-all
292+
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
293+
# uses: './.github/workflows/netsim_runner.yaml'
294+
# secrets: inherit
295+
# with:
296+
# branch: ${{ github.ref }}
297+
# max_workers: 4
298+
# netsim_branch: "main"
299+
# sim_paths: "sims/iroh/iroh.json,sims/integration"
300+
# pr_number: ${{ github.event.pull_request.number || '' }}
301301

302-
docker_build_and_test:
303-
name: Docker Test
304-
if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
305-
timeout-minutes: 30
306-
runs-on: [self-hosted, linux, X64]
307-
steps:
308-
- name: Checkout
309-
uses: actions/checkout@v4
310-
311-
- name: Install rust
312-
uses: dtolnay/rust-toolchain@master
313-
with:
314-
toolchain: stable
315-
316-
- name: Install sccache
317-
uses: mozilla-actions/[email protected]
318-
319-
- name: Prep
320-
run: sudo apt-get install musl-tools -y
321-
322-
- name: Build iroh
323-
run: cargo build --profile=dev-ci --all-features --bin iroh --target x86_64-unknown-linux-musl
324-
325-
- name: Prep bins
326-
run: |
327-
mkdir -p bins/linux/amd64
328-
cp target/x86_64-unknown-linux-musl/dev-ci/iroh bins/linux/amd64/iroh
329-
330-
- name: Cleanup Docker
331-
continue-on-error: true
332-
run: |
333-
docker kill $(docker ps -q)
334-
335-
- name: Set up Docker Buildx
336-
uses: docker/setup-buildx-action@v3
302+
# docker_build_and_test:
303+
# name: Docker Test
304+
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
305+
# timeout-minutes: 30
306+
# runs-on: [self-hosted, linux, X64]
307+
# steps:
308+
# - name: Checkout
309+
# uses: actions/checkout@v4
337310

338-
- name: Build Docker image
339-
uses: docker/build-push-action@v6
340-
with:
341-
context: .
342-
push: false
343-
load: true
344-
tags: n0computer/iroh-test:latest
345-
target: iroh
346-
platforms: linux/amd64
347-
file: docker/Dockerfile.ci
348-
349-
- name: Run Docker image & stats test
350-
run: |
351-
docker run -p 9090:9090 -p 4919:4919/udp -Pd n0computer/iroh-test:latest --rpc-addr 0.0.0.0:4919 start
352-
# Give the server time to start
353-
sleep 3
354-
target/x86_64-unknown-linux-musl/dev-ci/iroh --rpc-addr 127.0.0.1:4919 stats
311+
# - name: Install rust
312+
# uses: dtolnay/rust-toolchain@master
313+
# with:
314+
# toolchain: stable
315+
316+
# - name: Install sccache
317+
# uses: mozilla-actions/[email protected]
318+
319+
# - name: Prep
320+
# run: sudo apt-get install musl-tools -y
321+
322+
# - name: Build iroh
323+
# run: cargo build --profile=dev-ci --all-features --bin iroh --target x86_64-unknown-linux-musl
324+
325+
# - name: Prep bins
326+
# run: |
327+
# mkdir -p bins/linux/amd64
328+
# cp target/x86_64-unknown-linux-musl/dev-ci/iroh bins/linux/amd64/iroh
329+
330+
# - name: Cleanup Docker
331+
# continue-on-error: true
332+
# run: |
333+
# docker kill $(docker ps -q)
334+
335+
# - name: Set up Docker Buildx
336+
# uses: docker/setup-buildx-action@v3
337+
338+
# - name: Build Docker image
339+
# uses: docker/build-push-action@v6
340+
# with:
341+
# context: .
342+
# push: false
343+
# load: true
344+
# tags: n0computer/iroh-test:latest
345+
# target: iroh
346+
# platforms: linux/amd64
347+
# file: docker/Dockerfile.ci
348+
349+
# - name: Run Docker image & stats test
350+
# run: |
351+
# docker run -p 9090:9090 -p 4919:4919/udp -Pd n0computer/iroh-test:latest --rpc-addr 0.0.0.0:4919 start
352+
# # Give the server time to start
353+
# sleep 3
354+
# target/x86_64-unknown-linux-musl/dev-ci/iroh --rpc-addr 127.0.0.1:4919 stats
355355

356356
codespell:
357357
timeout-minutes: 30

0 commit comments

Comments
 (0)