Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup CI #3

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
severity: error
details: |
Rustc beta tests failed
See https://github.com/n0-computer/iroh/actions/workflows/beta.yaml
Rustc beta tests failed in **${{ github.repository }}**
See https://github.com/n0-computer/${{ github.repository }}/actions/workflows/beta.yaml
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}

85 changes: 1 addition & 84 deletions .github/workflows/ci.yml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,23 +147,6 @@ jobs:
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG' }}


# wasm_build:
# name: Build wasm32
# runs-on: ubuntu-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4

# - name: Install stable toolchain
# uses: dtolnay/rust-toolchain@stable

# - name: Add wasm target
# run: rustup target add wasm32-unknown-unknown

# - name: wasm32 build
# run: cargo build --all-features --target wasm32-unknown-unknown

check_semver:
runs-on: ubuntu-latest
env:
Expand All @@ -190,7 +173,7 @@ jobs:
# uses: obi1kenobi/cargo-semver-checks-action@v2
uses: n0-computer/cargo-semver-checks-action@feat-baseline
with:
package: iroh, iroh-base, iroh-blobs, iroh-cli, iroh-dns-server, iroh-gossip, iroh-metrics, iroh-net, iroh-net-bench, iroh-docs
package: iroh-blobs
baseline-rev: ${{ env.HEAD_COMMIT_SHA }}
use-cache: false

Expand Down Expand Up @@ -287,72 +270,6 @@ jobs:
command: check
command-arguments: "-Dwarnings"

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

# docker_build_and_test:
# name: Docker Test
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
# timeout-minutes: 30
# runs-on: [self-hosted, linux, X64]
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - name: Install rust
# uses: dtolnay/rust-toolchain@master
# with:
# toolchain: stable

# - name: Install sccache
# uses: mozilla-actions/[email protected]

# - name: Prep
# run: sudo apt-get install musl-tools -y

# - name: Build iroh
# run: cargo build --profile=dev-ci --all-features --bin iroh --target x86_64-unknown-linux-musl

# - name: Prep bins
# run: |
# mkdir -p bins/linux/amd64
# cp target/x86_64-unknown-linux-musl/dev-ci/iroh bins/linux/amd64/iroh

# - name: Cleanup Docker
# continue-on-error: true
# run: |
# docker kill $(docker ps -q)

# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

# - name: Build Docker image
# uses: docker/build-push-action@v6
# with:
# context: .
# push: false
# load: true
# tags: n0computer/iroh-test:latest
# target: iroh
# platforms: linux/amd64
# file: docker/Dockerfile.ci

# - name: Run Docker image & stats test
# run: |
# docker run -p 9090:9090 -p 4919:4919/udp -Pd n0computer/iroh-test:latest --rpc-addr 0.0.0.0:4919 start
# # Give the server time to start
# sleep 3
# target/x86_64-unknown-linux-musl/dev-ci/iroh --rpc-addr 127.0.0.1:4919 stats

codespell:
timeout-minutes: 30
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
115 changes: 0 additions & 115 deletions .github/workflows/docker.yaml

This file was deleted.

Loading
Loading