This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Synapse: Add a step for running Complement tests in worker mode #122
Synapse: Add a step for running Complement tests in worker mode #122
Changes from 1 commit
36793d8
21f7305
1a8e54b
c6a4e8a
0092756
6998c3e
7500d68
80e7084
19ed5c6
8fa20b8
855e045
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matrix-org/complement#60
I'm planning to change that myself once these PRs are in :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to be optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly not, though existing images expecting to fill the
/ca
directory with their own files (for example, Synapse Monolith's) will need to be updated if this option is on by default.I've created an issue for discussion on the Complement repo here: matrix-org/complement#65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to make use of yaml entities so that the bits that are shared between the complement runs (the docker-plugin settings, and some of the
commands
) don't have to be C&Ped.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to reduce the
plugins
section quite significantly, but didn't see as clear a path withcommands:
as there's some differences and commonalities interspersed with one another.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks the same apart from the name of the dockerfile? so have two yaml entities, one which does the bits before that, and one which does the bits after?
or even: stick the name of a dockerfile in an env var and set it somewhere else in the step config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems as though environment variables specified in
environment
aren't used when launching commands specified incommands
. The environment variables that seem to work there are those found in docker-compose-env. But that doesn't really help us much.