NOISSUE - Update Docker and Compose versions (#2159)

Signed-off-by: Dusan Borovcanin <borovcanindusan1@gmail.com>
This commit is contained in:
Dušan Borovčanin
2024-04-10 12:02:36 +02:00
committed by GitHub
parent e803f36f78
commit 658003080e
78 changed files with 116 additions and 154 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ The service is configured using the environment variables presented in the follo
## Deployment
The service itself is distributed as Docker container. Check the [`boostrap`](https://github.com/absmach/magistrala/blob/master/docker/addons/bootstrap/docker-compose.yml) service section in docker-compose to see how service is deployed.
The service itself is distributed as Docker container. Check the [`bootstrap`](https://github.com/absmach/magistrala/blob/main/docker/addons/bootstrap/docker-compose.yml) service section in docker-compose file to see how service is deployed.
To start the service outside of the container, execute the following shell script:
@@ -77,7 +77,7 @@ git clone https://github.com/absmach/magistrala
cd magistrala
# compile the service
# compile the servic e
make bootstrap
# copy binary to bin
+2 -2
View File
@@ -76,10 +76,10 @@ func (lm *loggingMiddleware) Update(ctx context.Context, token string, cfg boots
}
if err != nil {
args = append(args, slog.Any("error", err))
lm.logger.Warn("Update boostrap config failed to complete successfully", args...)
lm.logger.Warn("Update bootstrap config failed to complete successfully", args...)
return
}
lm.logger.Info("Update boostrap config completed successfully", args...)
lm.logger.Info("Update bootstrap config completed successfully", args...)
}(time.Now())
return lm.svc.Update(ctx, token, cfg)
+1 -1
View File
@@ -30,7 +30,7 @@ func TestMain(m *testing.M) {
container, err := pool.RunWithOptions(&dockertest.RunOptions{
Repository: "postgres",
Tag: "16.1-alpine",
Tag: "16.2-alpine",
Env: []string{
"POSTGRES_USER=test",
"POSTGRES_PASSWORD=test",