Skip to content

Commit

Permalink
testing new github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-besch committed Mar 4, 2024
1 parent de36e12 commit d8389cf
Showing 1 changed file with 2 additions and 34 deletions.
36 changes: 2 additions & 34 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Install Rust
- name: Run Docker-in-Docker End-to-End Test
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
rustup update
docker compose up --abort-on-container-exit --exit-code-from test_client
- name: Build and Test Plugin
run: |
if docker plugin ls | grep logdna:latest; then
docker plugin disable -f logdna:latest || true
docker plugin remove -f logdna:latest || true
fi
mkdir ./plugin/rootfs
docker build -t rootfsimage .
docker export $(docker create rootfsimage true) | tar -x -C ./plugin/rootfs
docker plugin create logdna ./plugin
rm -r ./plugin/rootfs
docker plugin enable logdna
- name: Build Mock Client
run: |
cd $GITHUB_WORKSPACE/mock/client
docker build -t mock_client -f Dockerfile ..
- name: Build Mock Server
run: |
source "$HOME/.cargo/env"
cd $GITHUB_WORKSPACE/mock/server
cargo build
- name: Build Dind Test Driver
run: |
source "$HOME/.cargo/env"
cd $GITHUB_WORKSPACE/dind_test_driver
cargo build

0 comments on commit d8389cf

Please sign in to comment.