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

Use the latest mongooseim-docker #2926

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Use the latest mongooseim-docker #2926

merged 1 commit into from
Nov 2, 2020

Conversation

chrzaszcz
Copy link
Member

@chrzaszcz chrzaszcz commented Oct 30, 2020

  • Config file updated to 'mongooseim.toml'
  • Ubuntu version fixed at 18.04

This PR attempts to fix the issue of building MongooseIM on CircleCI with Ubuntu 16.04 and using the resulting tarball to build a docker image based on Ubuntu 20.04 - these two had incompatible library versions and recent MongooseIM docker images were not starting at all.

The two still don't align completely (16.04 and 18.04), but the image for this PR does not crash on startup.

Possibilities:

  1. Run CircleCI on Ubuntu 20.04, upgrade Docker image to 20.04 - needs fixing multiple issues, see Update CircleCI machine to ubuntu-20.04 #2925
  2. Run CircleCI on Ubuntu 18.04 in Docker (no machine for 18.04) - most likely even more difficult, but we could reduce the duplication between CI and Docker-related shell scripts and make them unified. Not sure about the performance.
  3. Downgrade Docker image to use Ubuntu 16.04 - it might require least work, but it's a very short-term solution and the image for 16.04 does not have a nice tag at phusion/baseimage.
  4. For now, make the circle-build-and-push-docker script build MongooseIM on the builder docker image. This would increase the duration of the CircleCI job by about 5 minutes (or more...)

- Config file updated to 'mongooseim.toml'
- Ubuntu version fixed at 18.04
@mongoose-im
Copy link
Collaborator

mongoose-im commented Oct 30, 2020

8692.1 / Erlang 23.0.3 / small_tests / a07542e
Reports root / small


8692.2 / Erlang 23.0.3 / internal_mnesia / a07542e
Reports root/ big
OK: 1494 / Failed: 0 / User-skipped: 165 / Auto-skipped: 0


8692.3 / Erlang 23.0.3 / odbc_mssql_mnesia / a07542e
Reports root/ big
OK: 2767 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


8692.5 / Erlang 23.0.3 / riak_mnesia / a07542e
Reports root/ big
OK: 1628 / Failed: 0 / User-skipped: 177 / Auto-skipped: 0


8692.7 / Erlang 23.0.3 / elasticsearch_and_cassandra_mnesia / a07542e
Reports root/ big
OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


8692.4 / Erlang 23.0.3 / mysql_redis / a07542e
Reports root/ big
OK: 2762 / Failed: 0 / User-skipped: 233 / Auto-skipped: 0


8692.6 / Erlang 23.0.3 / ldap_mnesia / a07542e
Reports root/ big
OK: 1406 / Failed: 0 / User-skipped: 253 / Auto-skipped: 0


8692.9 / Erlang 22.3 / pgsql_mnesia / a07542e
Reports root/ big / small
OK: 2780 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0

Copy link
Collaborator

@DenysGonchar DenysGonchar left a comment

Choose a reason for hiding this comment

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

looks good

@DenysGonchar DenysGonchar merged commit 3550cad into master Nov 2, 2020
@DenysGonchar DenysGonchar deleted the docker-update branch November 2, 2020 08:47
@NelsonVides NelsonVides added this to the 4.0.1 milestone Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants