Skip to content

Commit

Permalink
Restructure docker directory
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Borovcanin <[email protected]>
  • Loading branch information
dborovcanin committed Jul 12, 2024
1 parent 0a55dfe commit 516f93f
Show file tree
Hide file tree
Showing 48 changed files with 2 additions and 1,471 deletions.
41 changes: 1 addition & 40 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ jobs:
workflow:
- ".github/workflows/tests.yml"
certs:
- "certs/**"
- "cmd/certs/**"
- "auth.pb.go"
- "auth_grpc.pb.go"
- "auth/**"
- "pkg/sdk/**"
consumers:
- "consumers/**"
- "cmd/cassandra-writer/**"
Expand All @@ -75,55 +67,29 @@ jobs:
- "cmd/timescale-writer/**"
- "cmd/smpp-notifier/**"
- "cmd/smtp-notifier/**"
- "auth.pb.go"
- "auth_grpc.pb.go"
- "auth/**"
- "pkg/ulid/**"
- "pkg/uuid/**"
- "pkg/messaging/**"
lora:
- "lora/**"
- "cmd/lora/**"
- "pkg/messaging/**"
opcua:
- "opcua/**"
- "cmd/opcua/**"
- "logger/**"
readers:
- "readers/**"
- "cmd/cassandra-reader/**"
- "cmd/influxdb-reader/**"
- "cmd/mongodb-reader/**"
- "cmd/postgres-reader/**"
- "cmd/timescale-reader/**"
- "auth.pb.go"
- "auth_grpc.pb.go"
- "things/**"
- "auth/**"
twins:
- "twins/**"
- "cmd/twins/**"
- "auth.pb.go"
- "auth_grpc.pb.go"
- "auth/**"
- "pkg/messaging/**"
- "pkg/ulid/**"
- "pkg/uuid/**"
- "logger/**"
- name: Create coverage directory
run: |
mkdir coverage
- name: Run certs tests
if: steps.changes.outputs.certs == 'true' || steps.changes.outputs.workflow == 'true'
run: |
go test --race -v -count=1 -coverprofile=coverage/certs.out ./certs/...
- name: Run consumers tests
if: steps.changes.outputs.consumers == 'true' || steps.changes.outputs.workflow == 'true'
run: |
Expand All @@ -139,11 +105,6 @@ jobs:
run: |
go test --race -v -count=1 -coverprofile=coverage/opcua.out ./opcua/...
- name: Run provision tests
if: steps.changes.outputs.provision == 'true' || steps.changes.outputs.workflow == 'true'
run: |
go test --race -v -count=1 -coverprofile=coverage/provision.out ./provision/...
- name: Run readers tests
if: steps.changes.outputs.readers == 'true' || steps.changes.outputs.workflow == 'true'
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG VERSION
ARG COMMIT
ARG TIME

WORKDIR /go/src/github.com/absmach/magistrala
WORKDIR /go/src/github.com/mg-contirb
COPY . .
RUN apk update \
&& apk add make\
Expand Down
83 changes: 0 additions & 83 deletions docker/addons/bootstrap/docker-compose.yml

This file was deleted.

90 changes: 0 additions & 90 deletions docker/addons/certs/docker-compose.yml

This file was deleted.

67 changes: 0 additions & 67 deletions docker/addons/journal/docker-compose.yml

This file was deleted.

Loading

0 comments on commit 516f93f

Please sign in to comment.