codex-storage / cs-codex-dist-tests

Distributed System Tests for Nim-Codex
4 stars 4 forks source link

Prepare Docker images for geth and prometheus #34

Closed veaceslavdoina closed 1 year ago

veaceslavdoina commented 1 year ago

For Distributed Tests we are using now 4 components

For the first two we already prepared automated Docker builds for AMD/ARM64 and it is required to build images in a similar way for last two components.

We may use existing Ben's code as a reference

FYI: @benbierens and @emizzle

veaceslavdoina commented 1 year ago

We created 2 repositories on GutHub

And 2 repositories on DockerHub

Test Docker images

# Geth
docker run --rm codexstorage/dist-tests-geth:sha-b788a2d

# Prometheus
docker run --rm codexstorage/dist-tests-prometheus:sha-f97d7fd
veaceslavdoina commented 1 year ago

We also prepared an updated image for codex-contracts-eth, which works in a slightly different way and we store it in a separate DockerHub repository

Test Docker image

docker run --rm codexstorage/dist-tests-codex-contracts-eth:sha-b4e4897
veaceslavdoina commented 1 year ago

@benbierens, we recently switched to the new tagging approach for Docker images

# nim-codex
docker run --rm codexstorage/nim-codex:latest-dist-tests

# codex-contracts-eth
docker run --rm codexstorage/codex-contracts-eth:latest-dist-tests

# dist-tests-geth
docker run --rm codexstorage/dist-tests-geth:latest

# dist-tests-prometheus
docker run --rm codexstorage/dist-tests-prometheus:latest
  1. Can you please try to move to the new images.
  2. You've recently introduced support for images with a latest tag for nim-codex, but we will have latest-dist-tests. Will your approach work with that tag as well?
benbierens commented 1 year ago

This all checks out. The new images work. Useful version information makes it to the logs, (not just 'latest') and the master branch for the dist-test repo has been updated to use the new images. Thanks very much! :D

veaceslavdoina commented 1 year ago

Thank you for the confirmation. Repository dist-tests-codex-contracts-eth was deleted as we have images in the base repository(codex-contracts-eth) with a separate tag.