diff --git a/.woodpecker.yml b/.woodpecker.yml index 853c403..75d4c4c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,10 @@ pipeline: - wait_db: + db-wait: image: gitnet.fr/deblan/timeout:latest commands: - /bin/timeout -t 30 -v -c 'while true; do nc -z -v db 3306 2>&1 | grep succeeded && exit 0; sleep 0.5; done' - create_db: + db-create: image: mariadb:10.3 secrets: [mysqldump] commands: @@ -13,7 +13,7 @@ pipeline: when: branch: [master, master-*, develop, develop-*] - config: + app-config: image: deblan/php:8.1 commands: - echo APP_ENV=prod >> .env.local @@ -22,13 +22,13 @@ pipeline: when: branch: [master, master-*, develop, develop-*] - composer: + php-composer: image: deblan/php:8.1 commands: - apt-get update && apt-get -y install git - composer install --no-scripts - migrate: + db-migrate: image: deblan/php:8.1 environment: - PHP=php @@ -37,14 +37,14 @@ pipeline: when: branch: [master, master-*, develop, develop-*, feature/*] - jsroutes: + app-jsroutes: image: deblan/php:8.1 commands: - php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json when: branch: [master, master-*, develop, develop-*, feature/*] - node: + node-build: image: node:16-slim commands: - npm install -g svg2ttf ttf2eot ttf2woff2 @@ -55,13 +55,13 @@ pipeline: - test -f public/js/fos_js_routes.json || echo "{}" > public/js/fos_js_routes.json - npm run build - osv_detector: + security-check: image: gitnet.fr/deblan/osv-detector:v0.9 commands: - osv-detector composer.lock yarn.lock failure: ignore - deploy: + app-deploy: image: deblan/php:8.1 secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory] commands: