All Projects → OsLab → gitlab-ci-pipeline-php

OsLab / gitlab-ci-pipeline-php

Licence: MIT license
Gitlab CI pipeline for PHP applications

Programming Languages

shell
77523 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to gitlab-ci-pipeline-php

Awesome Php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
Stars: ✭ 26,032 (+108366.67%)
Mutual labels:  php-applications
GitLabCLI
Cross platform GitLab CLI tool
Stars: ✭ 28 (+16.67%)
Mutual labels:  gitlab-ci
Easy-HotSpot
Easy HotSpot is a super easy WiFi hotspot user management utility for Mikrotik RouterOS based Router devices. Voucher printing in 6 ready made templates are available. Can be installed in any PHP/MySql enabled servers locally or in Internet web servers. Uses the PHP PEAR2 API Client by boenrobot.
Stars: ✭ 45 (+87.5%)
Mutual labels:  php-applications
gitlab-runner
Gitlab Runner on Alpine Linux [Docker]
Stars: ✭ 17 (-29.17%)
Mutual labels:  gitlab-ci
gitlabci-ue4
No description or website provided.
Stars: ✭ 32 (+33.33%)
Mutual labels:  gitlab-ci
gitlabby-dockerish-laravel
What happens when you Dockerize your Laravel testing environment and throw it at Gitlab CI?
Stars: ✭ 33 (+37.5%)
Mutual labels:  gitlab-ci
LiteOTP
Multi OTP Spam Amp/Paralell threads
Stars: ✭ 50 (+108.33%)
Mutual labels:  php-applications
dohq-ai-best-practices
Внедрение и эксплуатация PT Application Inspector. Подробнее: https://habr.com/ru/company/pt/blog/557142/
Stars: ✭ 22 (-8.33%)
Mutual labels:  gitlab-ci
cikit
Continuous Integration Kit (CIKit)
Stars: ✭ 21 (-12.5%)
Mutual labels:  gitlab-ci
labhub
GitHub bot for using GitLab CI in OSS projects
Stars: ✭ 31 (+29.17%)
Mutual labels:  gitlab-ci
podman-gitlab-runner
Use Podman as a custom executor for your Gitlab CI
Stars: ✭ 87 (+262.5%)
Mutual labels:  gitlab-ci
gitlab-release-note-generator
A Gitlab release note generator
Stars: ✭ 88 (+266.67%)
Mutual labels:  gitlab-ci
gitlab-ci-variables-cli
CLI tool to allow setting bulk project variables on Gitlab CI
Stars: ✭ 38 (+58.33%)
Mutual labels:  gitlab-ci
Php Static Analysis Tools
A reviewed list of useful PHP static analysis tools
Stars: ✭ 2,551 (+10529.17%)
Mutual labels:  php-applications
mysqlclient
the mysqlclient Docker image (based on python:3.8.5-alpine3.12) https://github.com/PyMySQL/mysqlclient-python
Stars: ✭ 20 (-16.67%)
Mutual labels:  gitlab-ci
pugdebug
pugdebug is a standalone debugging client for PHP applications that uses XDebug as the debugging engine.
Stars: ✭ 72 (+200%)
Mutual labels:  php-applications
docker-ionic-android-sdk
Docker image include android sdk for building ionic framework application
Stars: ✭ 40 (+66.67%)
Mutual labels:  gitlab-ci
gitlab-ci-runner-marathon
A customized Docker image for running scalable GitLab CI runners on Marathon
Stars: ✭ 14 (-41.67%)
Mutual labels:  gitlab-ci
aws-autoscaling-gitlab-runner
CloudFormation template to deploy a GitLab Runner with auto-scaling on AWS.
Stars: ✭ 44 (+83.33%)
Mutual labels:  gitlab-ci
travis-ci-latex-pdf
Overview of different methods to build LaTeX with GitHub Actions or Travis-CI (idea by @jackolney but completely rewritten by @PHPirates and contributors).
Stars: ✭ 113 (+370.83%)
Mutual labels:  gitlab-ci

Gitlab CI pipeline for PHP applications

Docker image with everything you'll need to build and test PHP applications on Gitlab Continous Integration

Docker Pulls Build Status

Official docker repository

Docker Hub: https://hub.docker.com/r/dockerphp/nginx/

Supported tags

Tag Image Layers
7.4 dockerphp/gitlab-ci-pipeline:7.4-alpine
7.2 dockerphp/gitlab-ci-pipeline:7.2-alpine
7.1 dockerphp/gitlab-ci-pipeline:7.1-alpine
7.0 dockerphp/gitlab-ci-pipeline:7.0-alpine
5.6 dockerphp/gitlab-ci-pipeline:5.6-alpine

Based on Official PHP images Alpine and all versions come with:

First of all you must have installed gitlab-ci-runner

Usage

Simple usage

Acces to the container console easily:

docker run --rm -ti -v /your/project:/app dockerphp/gitlab-ci-pipeline:7.1 sh

Configuration of your jobs with .gitlab-ci.yml

Basic configuration

image: dockerphp/gitlab-ci-pipeline:7.1

cache:
  paths:
  - vendor/

variables:
    COMPOSER_DISABLE_XDEBUG_WARN: "1"
    COMPOSER_ALLOW_SUPERUSER: "1"

test:app:
    script:
        - composer install --prefer-dist --no-interaction --no-progress
        - ./vendor/bin/phpunit --coverage-text --colors=never
        - ./vendor/bin/php-cs-fixer fix --diff --dry-run -v

Using the mariadb service and Make

variables:
    COMPOSER_DISABLE_XDEBUG_WARN: "1"
    COMPOSER_ALLOW_SUPERUSER: "1"
    MYSQL_ROOT_PASSWORD: ci
    MYSQL_USER: ci
    MYSQL_PASSWORD: ci
    MYSQL_DATABASE: ci
    DB_HOST: mariadb

test:
  stage: test
  services:
    - mariadb:10.3
  image: dockerphp/gitlab-ci-pipeline:7.0
  script:
    - make test 

Multi versions and Apache-Ant

cache:
    paths:
        - vendor/

variables:
    COMPOSER_DISABLE_XDEBUG_WARN: "1"
    COMPOSER_ALLOW_SUPERUSER: "1"

stages:
    - test

test:7.1:
    image: dockerphp/gitlab-ci-pipeline:7.1
    script:
        - ant -Dbasedir=`pwd` -buildfile build/ci_gitlab.xml

test:7.0:
    image: dockerphp/gitlab-ci-pipeline:7.0
    script:
        - ant -Dbasedir=`pwd` -buildfile build/ci_gitlab.xml

License

This project is released under the MIT License, you agree to license your code under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].