PHP + Composer + PHPUnit pipeline for Woodpecker
Go to file
Chris 75fdf4181e
continuous-integration/woodpecker the build was successful Details
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
Dockerfile More tweaks 2021-12-03 17:19:28 +01:00
README.md Cleanup dockerignore and readme 2021-12-03 21:22:52 +01:00
composer.json Initial commit 2021-12-03 16:46:00 +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

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