Adding directory examples/plugins/ to .gitignore #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |