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

Create pre warmed test docker image #59

Open
jfowl opened this issue Jul 19, 2021 · 0 comments
Open

Create pre warmed test docker image #59

jfowl opened this issue Jul 19, 2021 · 0 comments

Comments

@jfowl
Copy link

jfowl commented Jul 19, 2021

As discussed with @deepbluev7, I woul like to run the mtxclient tests against the Conduit Matrix Homeserver in Conduit's CI.

mtxclient's test job currently needs to compile the project first, which takes some time. To avoid that during Conduit's CI runs, I envision the following:

  • mtxclients CI outputs a docker image (maybe just stored in the GitLab Container registry)
  • In the image the source code sits at /mtxclient and has already built binaries (and maybe ccache artifacts?), so that tests can be started immediately.

Rough suggestion for how that could look like:

FROM ubuntu:18.04
RUN mkdir /mtxclient
COPY . /mtxclient/
WORKDIR /mtxclient/
RUN ... # Basically all these lines: https://nheko.im/nheko-reborn/mtxclient/-/blob/master/.gitlab-ci.yml#L54-80
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

No branches or pull requests

1 participant