Skip to content

Commit

Permalink
Try to build application containers
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Nov 29, 2023
1 parent 60171a4 commit 627acc0
Showing 1 changed file with 53 additions and 6 deletions.
59 changes: 53 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
ank run workload trailer_connected_provider --runtime podman --config $'image: sdvblueprint.azurecr.io/sdvblueprint/in-vehicle-stack/trailer_connected_provider:0.1.0\ncommandOptions: ["--network", "host", "--name", "trailer_connected_provider"]' --agent agent_A
- run: ank get workloads
- run: cat /tmp/logs/*.log
containers:
devcontainers:
runs-on: ubuntu-latest
services:
registry:
Expand All @@ -78,10 +78,6 @@ jobs:
key: ${{ runner.os }}-buildx
- name: Set up Git repository
uses: actions/checkout@v4
- name: Debug
run: |
ls -la eclipse-ankaios
ls -la eclipse-ankaios/.devcontainer
-
name: Build Ankaios DevContainer
uses: docker/build-push-action@v4
Expand All @@ -96,14 +92,65 @@ jobs:
context: in-vehicle-stack/python_provider
file: in-vehicle-stack/python_provider/.devcontainer/Dockerfile
push: false

-
name: Build Python Trailer Connected Provider DevContainer
uses: docker/build-push-action@v4
with:
context: in-vehicle-stack/sample_trailer_connected_provider
file: in-vehicle-stack/sample_trailer_connected_provider/.devcontainer/Dockerfile
push: false
-
name: Build Python DT Provider DevContainer
uses: docker/build-push-action@v4
with:
context: in-vehicle-stack/scenarios/smart_trailer_use_case/digital_twin_providers/python_provider
file: in-vehicle-stack/scenarios/smart_trailer_use_case/digital_twin_providers/python_provider/.devcontainer/devcontainer.json
push: false
containers:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: network=host
-
name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx
- name: Set up Git repository
uses: actions/checkout@v4
-
name: Build DT Python Provider
uses: docker/build-push-action@v4
with:
context: in-vehicle-stack/scenarios/smart_trailer_use_case/digital_twin_providers/python_provider
push: true
tags: localhost:5000/name/dtprovider:latest
-
name: Build Trailer Connected Provider
uses: docker/build-push-action@v4
with:
context: in-vehicle-stack/scenarios/smart_trailer_use_case/digital_twin_providers/trailer_connected_provider
push: true
tags: localhost:5000/name/tcprovider:latest
-
name: Build Trailer Properties Provider
uses: docker/build-push-action@v4
with:
context: in-vehicle-stack/scenarios/smart_trailer_use_case/digital_twin_providers/trailer_properties_provider
push: true
tags: localhost:5000/name/tpprovider:latest
# -
# name: lacheck
# working-directory: test
Expand Down

0 comments on commit 627acc0

Please sign in to comment.