Skip to content

Commit

Permalink
Add "ceph nvme-gw create" command and ceph logs artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Indenbaum <[email protected]>
  • Loading branch information
Alexander Indenbaum committed Mar 1, 2024
1 parent b01d7ee commit ee22d8d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,14 @@ jobs:
docker load < bdevperf.tar
- name: Start HA with two gateways
timeout-minutes: 3
run: |
set -ex
docker-compose up -d --scale nvmeof=2 nvmeof
for i in $(seq 2); do
GW_NAME=$(docker ps --format '{{.ID}}\t{{.Names}}' | awk '$2 ~ /nvmeof/ && $2 ~ /'$i'/ {print $1}')
docker run --rm ceph ceph nvme-gw create $GW_NAME rbd ''
done
- name: Wait for gateways to be listening
timeout-minutes: 3
Expand Down Expand Up @@ -636,6 +642,17 @@ jobs:
name: core_demo
path: /tmp/coredump/core.*

- name: Copy ceph logs
if: success() || failure()
run: docker cp ceph:/ceph/out /tmp/out

- name: Upload ceph logs
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ceph_out
path: /tmp/out/*

- name: Display logs
if: success() || failure()
run: make logs OPTS=''
Expand Down

0 comments on commit ee22d8d

Please sign in to comment.