updating ci pipelines with own images
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline was successful
ci/woodpecker/push/functional-tests/3 Pipeline was successful
ci/woodpecker/push/functional-tests/2 Pipeline was successful
ci/woodpecker/push/functional-tests/4 Pipeline was successful
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline was successful
ci/woodpecker/push/functional-tests/3 Pipeline was successful
ci/woodpecker/push/functional-tests/2 Pipeline was successful
ci/woodpecker/push/functional-tests/4 Pipeline was successful
This commit is contained in:
parent
baf5636bd3
commit
a68732c45f
2 changed files with 13 additions and 28 deletions
|
@ -1,10 +1,7 @@
|
||||||
steps:
|
steps:
|
||||||
code-style:
|
code-style:
|
||||||
image: composer
|
image: git.digital-competence.de/woodpecker-ci/plugin-phpcs
|
||||||
commands:
|
settings:
|
||||||
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
|
args: Classes/ Tests/
|
||||||
- composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
|
|
||||||
- composer global require digicomp/php-codesniffer:@dev
|
|
||||||
- composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Tests/
|
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request, manual]
|
- event: [push, pull_request, manual]
|
||||||
|
|
|
@ -15,28 +15,16 @@ matrix:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
functional-tests:
|
functional-tests:
|
||||||
image: "thecodingmachine/php:${PHP_VERSION}-v4-cli"
|
image: git.digital-competence.de/woodpecker-ci/plugin-phpunit-flow:${PHP_VERSION}
|
||||||
environment:
|
settings:
|
||||||
COMPOSER_HOME: /usr/src/app/.composer
|
flow_version: ${FLOW_VERSION}
|
||||||
HOSTKEY_DIGICOMP: digital-competence.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNSjVKJ+SO6wqmDSCgcJDk2ljWlD7qajsTxAuvZpTbJBg2++Zu0VxH0S1WzPVTD/D5UUbK6LVy6YSCnGlv6zmc0=
|
ssh_key:
|
||||||
REPOKEY:
|
|
||||||
from_secret: deploykey
|
from_secret: deploykey
|
||||||
PHP_EXTENSION_PDO_SQLITE: 1
|
hostkeys:
|
||||||
NEOS_BUILD_DIR: /woodpecker/Build-${FLOW_VERSION}
|
- digital-competence.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNSjVKJ+SO6wqmDSCgcJDk2ljWlD7qajsTxAuvZpTbJBg2++Zu0VxH0S1WzPVTD/D5UUbK6LVy6YSCnGlv6zmc0=
|
||||||
commands:
|
repositories:
|
||||||
- export HOME=/home/docker
|
- vcs ssh://git@digital-competence.de/Packages/DigiComp.FluidRenderFunctions
|
||||||
- echo "$REPOKEY" > ~/.ssh/id_rsa
|
require:
|
||||||
- echo "$HOSTKEY_DIGICOMP" > ~/.ssh/known_hosts
|
- digicomp/fluid-render-functions:@dev
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
|
||||||
- sudo mkdir $NEOS_BUILD_DIR
|
|
||||||
- sudo chown -R docker:docker $NEOS_BUILD_DIR
|
|
||||||
- cd $NEOS_BUILD_DIR
|
|
||||||
- composer create-project --no-install neos/flow-base-distribution:^$FLOW_VERSION .
|
|
||||||
- composer config repositories.repo-name path /woodpecker/package
|
|
||||||
- composer config repositories.fluid-render-functions vcs ssh://git@digital-competence.de/Packages/DigiComp.FluidRenderFunctions
|
|
||||||
- composer remove --dev --no-update neos/behat || composer remove --no-update neos/behat
|
|
||||||
- composer require digicomp/fluid-render-functions:@dev
|
|
||||||
- composer require digicomp/fluid-json-views:@dev
|
|
||||||
- bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.FluidJsonViews/Tests/Functional
|
|
||||||
when:
|
when:
|
||||||
- event: [ push, pull_request, manual ]
|
- event: [ push, pull_request, manual ]
|
||||||
|
|
Loading…
Reference in a new issue