Skip to content

Merge pull request #216 from gardenlinux/changelog-volume #65

Merge pull request #216 from gardenlinux/changelog-volume

Merge pull request #216 from gardenlinux/changelog-volume #65

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: '24'
- name: Install Bruno CLI
run: npm install -g @usebruno/cli
- name: Compose Up
run: |
docker compose --file deployment/compose/compose.yaml up --detach
- name: Wait for GLVD to be up
run: |
# Wait for HTTP 200 and status: UP in response body
until [ "$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/actuator/health)" = "200" ] && \
[ "$(curl -s http://localhost:8080/actuator/health | jq -r .status)" = "UP" ]; do
sleep 1
done
- run: docker ps
- name: Run API Tests
run: bru run --env ci --reporter-html results.html
working-directory: api-tests
- name: Upload Test Results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: test-results
path: api-tests/results.html