Logo
Explore Help
Sign In
fluencelabs/rust-libp2p
1
0
Fork 0
You've already forked rust-libp2p
mirror of https://github.com/fluencelabs/rust-libp2p synced 2025-06-29 01:31:33 +00:00
Code Issues Projects Releases Wiki Activity
Files
14825c7ecb6371e8df3f1e99217d47d13a8409e5
rust-libp2p/interop-tests/Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
121 B
Docker
Raw Normal View History

ci: Interop tests fixes and updates pending from #3331 (#3360)
2023-01-24 22:28:57 +00:00
FROM ubuntu:22.04
feat(inter-op): make `Dockerfile` generic over test binary (#3382) We make the binary that should be copied into the container configurable via a build time `ARG`. This will allow us to reuse the same `Dockerfile` once we write more tests. Additionally, this allows us to remove some of the directory switching and creation code. In order to not send the entire repository over to the docker daemon as a build context, we introduce a `.dockerignore` file that only allows select binary to be sent over. The downside of this is that we need to extend this ignore file every time we add a new test. This shouldn't happen very often though and is easily discovered because the building of the docker container will fail.
2023-01-26 14:46:51 +11:00
ARG TEST_BINARY
COPY $TEST_BINARY /usr/local/bin/testplan
ci: update interop workflow (#3331) Addresses https://github.com/libp2p/test-plans/pull/99
2023-01-19 20:20:37 +00:00
ENV RUST_BACKTRACE=1
ENTRYPOINT ["testplan"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 147ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API