Collection of reusable GitLab steps.
include:
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/.deploy-prepare.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/build-php.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/build-node.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-es-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-html-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-php-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-php-cs-fixer.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-php-stan.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-php-unit.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-php-functional.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-typoscript-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-xml-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/test-yaml-lint.yml'
.deploy-prepare.yml
build-php
build-php-v11
build-node
⚠️ needs configuration
test-es-lint
⚠️ needs configurationtest-html-lint
⚠️ needs configurationtest-php-lint
test-php-cs-fixer
test-php-stan
test-php-unit
test-php-functional
test-typoscript-lint
test-xml-lint
test-yaml-lint
You can set custom options for the composer install command via environment variable:
variables:
COMPOSER_INSTALL_OPTIONS: "--ignore-platform-req=ext-ldap"
include:
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/1.0.0/build-php.yml'
Add this to your .gitlab-ci.yml
to configure the node version and asset paths:
build-node:
image:
name: node:18.17.1-slim
artifacts:
paths:
- packages/xm_dkfz_net_site/Resources/Public/Css/dist
- packages/xm_dkfz_net_site/Resources/Public/JavaScript/dist
Add this to your .gitlab-ci.yml
to configure the node version:
test-es-lint:
image:
name: node:18.17.1-slim
Add this to your .gitlab-ci.yml
to configure the node version:
test-html-lint:
image:
name: node:18.17.1-slim