-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added additional image build for acceptance testing (#9)
* Added additional image build for acceptance testing * fix: run DESIGN_PLONE_POLICY_ACCEPTANCE_TESTING by default * branch name as docker label * use dockerfile.acceptance * fix: dockerfile * extract branch name --------- Co-authored-by: Mauro Amico <[email protected]>
- Loading branch information
Showing
4 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ pyvenv.cfg | |
/var | ||
/src/* | ||
Pipfile* | ||
.python-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM plone/server-acceptance:6.0.4 | ||
COPY docker/create-constraints.py docker/*.cfg docker/*.txt /app/ | ||
COPY versions.cfg / | ||
RUN pip install -r https://dist.plone.org/release/6.0.4/requirements.txt ${PIP_PARAMS} && \ | ||
python create-constraints.py constraints.cfg constraints.txt && \ | ||
./bin/pip install --ignore-requires-python -r requirements-acceptance.txt -c constraints.txt ${PIP_PARAMS} && \ | ||
find /app/lib -name LC_MESSAGES -exec chown -R plone:plone {} \; | ||
|
||
# Run DESIGN_PLONE_POLICY_ACCEPTANCE_TESTING by default | ||
CMD ["design.plone.policy.testing.DESIGN_PLONE_POLICY_ACCEPTANCE_TESTING"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Plone | ||
design.plone.policy[test] | ||
collective.MockMailHost |