Skip to content

Commit

Permalink
test image
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Streun committed Jun 6, 2024
1 parent 0417cd8 commit c3cbc9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci-docker-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,11 @@ concurrency:
cancel-in-progress: true

jobs:
docker-build:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- name: try to build the image
run: cd docker && make make build-dev-image

docker-test:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- name: pull the image
run: cd docker && make make pull-dev-image
- name: Start dev container
run: ./docker.sh image_create &&./docker.sh image_up
- name: Run tests in dev container
Expand Down
4 changes: 2 additions & 2 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cmd_help() {

cmd_image_create() {
cd docker
make pull-dev-image
docker pull streun/lightning-filter:dev-v0.1.0
cd ..
docker create --name lf-dev-container --privileged --net=host \
-v $PWD:/home/lf/lightning-filter/ \
Expand All @@ -112,7 +112,7 @@ COMMAND="$1"
shift

case "$COMMAND" in
help|build|image|create|up|down|shell|dev_image|dev_create|dev_up|dev_down|dev_exec)
help|build|image|create|up|down|shell|dev_image|dev_create|dev_up|dev_down|dev_exec|image_create|image_up|image_down|image_exec)
"cmd_$COMMAND" "$@" ;;
*) cmd_help; exit 1 ;;
esac

0 comments on commit c3cbc9e

Please sign in to comment.