PHP + Composer + PHPUnit pipeline for Woodpecker
You cannot 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
continuous-integration/woodpecker the build was successful Details
Cleanup dockerignore and readme
1 year ago
src Initial commit 1 year ago
tests Initial commit 1 year ago
.dockerignore Cleanup dockerignore and readme 1 year ago
.gitignore Initial commit 1 year ago
.woodpecker.yml Trying more tags 1 year ago
Dockerfile More tweaks 1 year ago
README.md Cleanup dockerignore and readme 1 year ago
composer.json Initial commit 1 year ago
hello Initial commit 1 year ago
phpunit.xml Initial commit 1 year 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