PHP + Composer + PHPUnit pipeline for Woodpecker
Go to file
Christopher Vagnetoft 75fdf4181e
All checks were successful
continuous-integration/woodpecker the build was successful
Cleanup dockerignore and readme
2021-12-03 21:22:52 +01:00
src Initial commit 2021-12-03 16:46:00 +01:00
tests Initial commit 2021-12-03 16:46:00 +01:00
.dockerignore Cleanup dockerignore and readme 2021-12-03 21:22:52 +01:00
.gitignore Initial commit 2021-12-03 16:46:00 +01:00
.woodpecker.yml Trying more tags 2021-12-03 19:26:11 +01:00
composer.json Initial commit 2021-12-03 16:46:00 +01:00
Dockerfile More tweaks 2021-12-03 17:19:28 +01:00
hello Initial commit 2021-12-03 16:46:00 +01:00
phpunit.xml Initial commit 2021-12-03 16:46:00 +01:00
README.md Cleanup dockerignore and readme 2021-12-03 21:22:52 +01:00

docker-pipeline-test

This is a repository with an example application to test a custom docker pipeline using Gitea, Woodpecker and a private registry.

Dockerfile:

  • Runs composer install in temporary container
  • Launches hello, calling on a mock class

Woodpecker:

  • Runs phpunit against the code, testing a mock function
  • Builds image from Dockerfile, tags the image and pushes to repo

Define your secrets as:

  • DOCKER_USERNAME
  • DOCKER_PASSWORD