Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Upgrade Mongo, Cassandra and Influx docker images #1354

Merged
merged 6 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion consumers/writers/cassandra/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestMain(m *testing.M) {
logger.Error(fmt.Sprintf("Could not connect to docker: %s", err))
}

container, err := pool.Run("cassandra", "3.11.3", []string{})
container, err := pool.Run("cassandra", "4.0", []string{})
if err != nil {
logger.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down
2 changes: 1 addition & 1 deletion consumers/writers/influxdb/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestMain(m *testing.M) {
"INFLUXDB_USER_PASSWORD=test",
"INFLUXDB_DB=test",
}
container, err := pool.Run("influxdb", "1.6.4-alpine", cfg)
container, err := pool.Run("influxdb", "1.8.3", cfg)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we abandoning alpine? Goal is to keep all images as small as possible.

if err != nil {
testLog.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down
2 changes: 1 addition & 1 deletion consumers/writers/mongodb/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestMain(m *testing.M) {
"MONGO_INITDB_DATABASE=test",
}

container, err := pool.Run("mongo", "3.6-jessie", cfg)
container, err := pool.Run("mongo", "4.4.3-bionic", cfg)
if err != nil {
testLog.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down
2 changes: 1 addition & 1 deletion docker/addons/influxdb-writer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ volumes:

services:
influxdb:
image: influxdb:1.8.3-alpine
image: influxdb:1.8.3
container_name: mainflux-influxdb
restart: on-failure
environment:
Expand Down
2 changes: 1 addition & 1 deletion docker/addons/mongodb-writer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ volumes:

services:
mongodb:
image: mongo:3.6-jessie
image: mongo:4.4.3-bionic
container_name: mainflux-mongodb
restart: on-failure
environment:
Expand Down
2 changes: 1 addition & 1 deletion readers/cassandra/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestMain(m *testing.M) {
logger.Error(fmt.Sprintf("Could not connect to docker: %s", err))
}

container, err := pool.Run("cassandra", "3.11.3", []string{})
container, err := pool.Run("cassandra", "4.0", []string{})
if err != nil {
logger.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down
2 changes: 1 addition & 1 deletion readers/influxdb/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestMain(m *testing.M) {
"INFLUXDB_USER_PASSWORD=test",
"INFLUXDB_DB=test",
}
container, err := pool.Run("influxdb", "1.6.4-alpine", cfg)
container, err := pool.Run("influxdb", "1.8.3", cfg)
if err != nil {
testLog.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down
2 changes: 1 addition & 1 deletion readers/mongodb/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestMain(m *testing.M) {
"MONGO_INITDB_DATABASE=test",
}

container, err := pool.Run("mongo", "3.6-jessie", cfg)
container, err := pool.Run("mongo", "4.4.3-bionic", cfg)
if err != nil {
testLog.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down
2 changes: 1 addition & 1 deletion twins/mongodb/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestMain(m *testing.M) {
"MONGO_INITDB_DATABASE=test",
}

container, err := pool.Run("mongo", "3.6-jessie", cfg)
container, err := pool.Run("mongo", "4.4.3-bionic", cfg)
if err != nil {
testLog.Error(fmt.Sprintf("Could not start container: %s", err))
}
Expand Down