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

ci(tools/docker): stop compiling Iroha as part of the all-in-one image build #2556

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

petermetz
Copy link
Contributor

  1. Upgraded the Iroha AIO image to use v1.4.0-patch-3
  2. The new Iroha version now supports configuraton via ENV variables
  3. Because of 2) we don't need to apply config file changes in the
    entrypoint script of the container anymore, yay.
  4. The new image uses the iroha release image as the base and it
    does NOT recompile the entire project which makes the build
    orders of magnitude faster, wasting much less CI time/resources.
  5. Exposed the healthcheck port for through the IrohaTestLedger class
    so the other improvement we'll be able to do after this is to phase out
    the hacky python script that does the healthcheck at the moment if
    the new built-in healthcheck endpoint does actually work fine.
  6. Migrated all the test cases to the new image version.

Fixes #2524

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

Copy link
Contributor

@izuru0 izuru0 left a comment

Choose a reason for hiding this comment

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

LGTM

…e build

1. Upgraded the Iroha AIO image to use v1.4.0-patch-3
2. The new Iroha version now supports configuraton via ENV variables
3. Because of 2) we don't need to apply config file changes in the
entrypoint script of the container anymore, yay.
4. The new image uses the iroha release image as the base and  it
does NOT recompile the entire project which makes the build
orders of magnitude faster, wasting much less CI time/resources.
5. Exposed the healthcheck port for through the IrohaTestLedger class
so the other improvement we'll be able to do after this is to phase out
the hacky python script that does the healthcheck at the moment if
the new built-in healthcheck endpoint does actually work fine.
6. Migrated all the test cases to the new image version.

Fixes hyperledger-cacti#2524

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
auto-merge was automatically disabled July 21, 2023 21:25

Rebase failed

@petermetz petermetz merged commit 4bb0493 into hyperledger-cacti:main Jul 22, 2023
106 of 117 checks passed
@petermetz petermetz deleted the petermetz/issue2524 branch July 22, 2023 06:51
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.

ci(tools/docker): stop compiling Iroha as part of the all-in-one image build
3 participants