Skip to content

Release v0.4.1 (Patch) #301

Release v0.4.1 (Patch)

Release v0.4.1 (Patch) #301

Workflow file for this run

name: docker-example
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
name: Build and test docker-example
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build example-docker
uses: nick-invision/retry@v3
with:
timeout_minutes: 10
retry_wait_seconds: 15
max_attempts: 3
retry_on: error
command: |
cd examples/docker
docker build -t tte .
on_retry_command: cd ../..
- name: Run docker image
run: |
docker run --init -d -p 0.0.0.0:3000:4000 tte
- name: Test trace viewer appliance
run: |
yarn --ignore-scripts
yarn test:browser-app