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 docker:generic runner, and run ldconfig at the end #16

Merged
merged 2 commits into from
Oct 27, 2020

Conversation

nonsense
Copy link

@nonsense nonsense commented Oct 27, 2020

This PR is adding 2 compositions that use the docker:generic builder - one for local:docker and one for cluster:k8s.

# SDK_DIR is the location containing the (optional) sdk source inside the container.
ENV SDK_DIR /sdk

# Install brotli
Copy link
Author

Choose a reason for hiding this comment

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

Installing brotli before any other code (such as COPY . /) that would invalidate the docker cache. We don't want to install this multiple times.


RUN mv ${PLAN_DIR}/testplan.bin /testplan

RUN ldconfig
Copy link
Author

Choose a reason for hiding this comment

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

ldconfig adds links and cache to the most recent shared libraries... not sure why the brotli libraries are not found without it, haven't really read the documentation for brotli...

push_registry=true
go_proxy_mode="remote"
go_proxy_url="http://localhost:8081"
registry_type="aws"
Copy link
Author

Choose a reason for hiding this comment

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

No need for the skip_runtime_image here anymore, as we are using the docker:generic builder, and we specify a concrete Dockerfile for our test plan.

[[groups]]
id = "nodes"
instances = { count = 6 }

Copy link
Author

Choose a reason for hiding this comment

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

I've removed the dependencies from the other composition file, since they don't compile - I guess they are outdated.

@adlrocha adlrocha merged commit b2fc929 into protocol:feat/compression Oct 27, 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.

2 participants