PHP + Composer + PHPUnit pipeline for Woodpecker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Noccy 75fdf4181e Cleanup dockerignore and readme 10 months ago
src Initial commit 10 months ago
tests Initial commit 10 months ago
.dockerignore Cleanup dockerignore and readme 10 months ago
.gitignore Initial commit 10 months ago
.woodpecker.yml Trying more tags 10 months ago
Dockerfile More tweaks 10 months ago
README.md Cleanup dockerignore and readme 10 months ago
composer.json Initial commit 10 months ago
hello Initial commit 10 months ago
phpunit.xml Initial commit 10 months ago

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