blob: 6df7cf4e29c388c6ac24911417d0d777e1c75b36 [file] [log] [blame] [edit]
- job:
name: wikimedia-fundraising-civicrm-bookworm
node: Docker
triggers:
- zuul
builders:
- docker-castor-load
- docker-log-dir
- docker-src-dir
- docker-zuul-cloner:
projects: >
wikimedia/fundraising/crm
- docker-run-with-log-cache-src:
image: docker-registry.wikimedia.org/releng/civicrm:0.5
environment:
# $WORKSPACE is leaked from the host environment
WORKSPACE: "''"
publishers:
- xunit:
types:
- phpunit:
pattern: 'log/junit-phpunit.xml'
- archive-log-allow-empty
- teardown
- project:
name: donationinterface-fundraising-branches
branch:
- REL1_43:
phpflavor: php82
docker_image: docker-registry.wikimedia.org/releng/quibble-bullseye-php82:1.14.1-s2
entrypoint: quibble-with-supervisord
donation_interface_branch: master
jobs:
- quibble-donationinterface-{branch}-{phpflavor}
- job-template:
name: quibble-donationinterface-{branch}-{phpflavor}
node: Docker
triggers:
- zuul
builders:
- docker-castor-load
- docker-log-dir
- docker-src-dir
- docker-run-with-log-cache-src:
image: '{docker_image}'
options: '--tmpfs /workspace/db:size=320M'
entrypoint: '{entrypoint|}'
volumes:
/srv/git: /srv/git:ro
# With composer to get dependencies from DonationInterface. However we also clone mediawiki/vendor
args: >
--packages-source composer --db mysql --db-dir /workspace/db --run=phpunit
--branch "{branch}"
--project-branch mediawiki/extensions/DonationInterface={donation_interface_branch}
--project-branch "mediawiki/core=fundraising/{branch}"
--project-branch "mediawiki/vendor=fundraising/{branch}"
mediawiki/vendor
mediawiki/extensions/DonationInterface
mediawiki/extensions/FundraisingEmailUnsubscribe
mediawiki/extensions/cldr
logdir: '/workspace/log'
publishers:
- archive-log-allow-empty
- teardown
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
- credentials-binding:
- text:
credential-id: composer-github-oauthtoken
variable: COMPOSER_GITHUB_OAUTHTOKEN
- text:
credential-id: quibble-earlywarningbot-api-key
variable: QUIBBLE_API_KEY
# Special job for Fundraising-specific extensions where master must maintain
# compatibility with a release branch and a specific php version.
- project:
name: fundraising-branches
ext:
- FundraisingEmailUnsubscribe
- cldr
branch:
- REL1_43:
phpflavor: php82
docker_image: docker-registry.wikimedia.org/releng/quibble-bullseye-php82:1.14.1-s2
entrypoint: quibble-with-supervisord
jobs:
- quibble-fundraising-{ext}-{branch}-{phpflavor}
- job-template:
name: quibble-fundraising-{ext}-{branch}-{phpflavor}
node: Docker
triggers:
- zuul
builders:
- docker-castor-load
- docker-log-dir
- docker-src-dir
- docker-run-with-log-cache-src:
image: '{docker_image}'
options: '--tmpfs /workspace/db:size=320M'
entrypoint: '{entrypoint|}'
volumes:
/srv/git: /srv/git:ro
# With composer to get dependencies from DonationInterface. However we also clone mediawiki/vendor
args: >
--packages-source composer --db mysql --db-dir /workspace/db --run=phpunit
--branch "{branch}"
--project-branch mediawiki/extensions/{ext}=master
--project-branch "mediawiki/core=fundraising/{branch}"
--project-branch "mediawiki/vendor=fundraising/{branch}"
mediawiki/vendor
mediawiki/extensions/{ext}
logdir: '/workspace/log'
publishers:
- archive-log-allow-empty
- teardown
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
- credentials-binding:
- text:
credential-id: composer-github-oauthtoken
variable: COMPOSER_GITHUB_OAUTHTOKEN
- text:
credential-id: quibble-earlywarningbot-api-key
variable: QUIBBLE_API_KEY
- project:
name: fundraising-tools
jobs:
- '{name}-tox':
docker_image_var: docker-registry.wikimedia.org/releng/tox-mysqld:4.8.0-3-s3