Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsembwever committed Jul 22, 2024
1 parent a34c6ea commit 3bf4309
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ds-collector-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: Test ds-collector
working-directory: ds-collector-tests
run: |
sudo apt-get install -y qemu binfmt-support qemu-user-static
echo "Testing ds-collector"
make -f cluster-vanilla-ssh-docker.make
Expand Down Expand Up @@ -59,6 +60,7 @@ jobs:
- name: Test ds-collector
working-directory: ds-collector-tests
run: |
sudo apt-get install -y qemu binfmt-support qemu-user-static
echo "Testing ds-collector"
make -f cluster-vanilla-k8s.make
Expand All @@ -75,6 +77,7 @@ jobs:
- name: Test ds-collector
working-directory: ds-collector-tests
run: |
sudo apt-get install -y qemu binfmt-support qemu-user-static
echo "Testing ds-collector"
make -f cluster-dse-k8s.make
1 change: 0 additions & 1 deletion ds-collector-tests/cluster-dse-k8s.make
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ setup:
tar -xvf ../ds-collector.TEST-cluster-dse-k8s-*.tar.gz
rm collector/collector.conf
cp TEST-cluster-dse-k8s-*_secret.key collector/ || true
test -f collector/collect-info
# setup k8s cluster
cp k8s-manifests/01-kind-config.yaml /tmp/datastax/01-kind-config.yaml
kind create cluster --name ds-collector-cluster-dse-k8s --config /tmp/datastax/01-kind-config.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ setup:
tar -xvf ../ds-collector.TEST-cluster-one-node-vanilla-ssh-docker-*.tar.gz
rm collector/collector.conf
cp TEST-cluster-one-node-vanilla-ssh-docker-*_secret.key collector/ || true
test -f collector/collect-info
# setup single node docker cluster and bastion
docker-compose up --build -d cassandra-00 bastion
docker-compose ps
Expand Down
1 change: 0 additions & 1 deletion ds-collector-tests/cluster-vanilla-k8s.make
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ setup:
tar -xvf ../ds-collector.TEST-cluster-vanilla-k8s-*.tar.gz
rm collector/collector.conf
cp TEST-cluster-vanilla-k8s-*_secret.key collector/ || true
test -f collector/collect-info
# setup k8s cluster
cp k8s-manifests/01-kind-config.yaml /tmp/datastax/01-kind-config.yaml
kind create cluster --name ds-collector-cluster-vanilla-k8s --config /tmp/datastax/01-kind-config.yaml
Expand Down
1 change: 0 additions & 1 deletion ds-collector-tests/cluster-vanilla-ssh-docker.make
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ setup:
tar -xvf ../ds-collector.TEST-cluster-vanilla-ssh-docker-*.tar.gz
rm collector/collector.conf
cp TEST-cluster-vanilla-ssh-docker-*_secret.key collector/ || true
test -f collector/collect-info
# setup docker cluster and bastion
docker-compose up --build -d
docker-compose ps
Expand Down
2 changes: 1 addition & 1 deletion ds-collector-tests/integration-bastion.docker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:latest

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y openssh-server locales sshpass procps ethtool netcat-traditional net-tools sysstat pciutils ntp ntpstat numactl lvm2 curl xxd qemu binfmt-support qemu-user-static
RUN apt-get update && apt-get install -y openssh-server locales sshpass procps ethtool netcat-traditional net-tools sysstat pciutils ntp ntpstat numactl lvm2 curl xxd


RUN mkdir /var/run/sshd
Expand Down
2 changes: 0 additions & 2 deletions ds-collector/rust-commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ On Mac aarch:

On Linux:

docker run --rm --privileged multiarch/qemu-user-static:register

sudo apt-get install -y qemu binfmt-support qemu-user-static

docker run --platform linux/arm64 -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static -v $PWD:/volume -w /volume -t clux/muslrust rustc --target aarch64-unknown-linux-musl *.rs
Expand Down

0 comments on commit 3bf4309

Please sign in to comment.