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

Dockerfile for Debian sid, and ability to test a packaged cyrus-imapd instead of building it from source #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sdelafond
Copy link

By default, and in order to be backward-compatible (so upstream doesn't
have to modify any of its existing CI calls), functions.sh and
testscript.sh will continue building cyrus from source and testing that.

If the BUILD_CYRUS_FROM_SOURCE variable is set to something else than
"yes", however, the Debian package will be used instead; this is what
the maintainers of cyrus-imapd in Debian use for autopkgtest.

A second extra environment variable, CASSANDANEOPTS, is also added: it
is set to "Cyrus::ImapTest" in Debian, in order to limit the range of
tests being run. Its default value is "", once again to keep the
behavior backward-compatible with the previous implementation.

FTR:

  commit 76bfc82
  Author: ellie timoney <ellie@fastmail.com>
  Date:   Wed Sep 25 11:09:08 2019 +1000

      functions.sh: don't ignore cassandane 'make' failures

      (why was this ever a thing??)
…s. "testing distribution package" (Debian)

By default, and in order to be backward-compatible (so upstream doesn't
have to modify any of its existing CI calls), functions.sh and
testscript.sh will continue building cyrus from source and testing that.

If the BUILD_CYRUS_FROM_SOURCE variable is set to something else than
"yes", however, the Debian package will be used instead; this is what
the maintainers of cyrus-imapd in Debian use for autopkgtest.

A second extra environment variable, CASSANDANEOPTS, is also added: it
is set to "Cyrus::ImapTest" in Debian, in order to limit the range of
tests being run. Its default value is "", once again to keep the
behavior backward-compatible with the previous implementation.
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.

1 participant