-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build the docker example image Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
- Loading branch information
1 parent
5115472
commit 510e3bc
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: docker-example | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
|
||
build-and-test: | ||
name: Build image | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- 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:4000:4000 tte | ||
- name: Test trace viewer appliance | ||
run: | | ||
echo "TODO" |
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