mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
chore: delete unneeded files
This commit is contained in:
parent
fb63a6c245
commit
bd3e77254b
18
Dockerfile
18
Dockerfile
|
@ -1,18 +0,0 @@
|
|||
FROM php:8.1-cli
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update -yqq \
|
||||
&& apt-get install -yqq git unzip
|
||||
|
||||
ENV PATH="${PATH}:/app/vendor/bin"
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
COPY composer.* ./
|
||||
|
||||
RUN composer install
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["bash"]
|
|
@ -1 +0,0 @@
|
|||
export COMPOSE_PROJECT_NAME=php-full
|
|
@ -1,36 +0,0 @@
|
|||
FROM php:8.1-cli-bullseye AS base
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
RUN which composer && composer -V
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV PATH="${PATH}:/app/vendor/bin"
|
||||
|
||||
COPY composer.* ./
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
FROM base AS build
|
||||
|
||||
|
||||
RUN apt-get update -yqq \
|
||||
&& apt-get install -yqq --no-install-recommends \
|
||||
git unzip
|
||||
|
||||
|
||||
RUN composer install
|
||||
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
FROM base AS test
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN phpunit --testdox
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
name: php-full
|
||||
language: php
|
||||
type: drupal
|
||||
|
||||
dockerfile:
|
||||
stages:
|
||||
build:
|
||||
extends: base
|
||||
packages:
|
||||
- git
|
||||
- unzip
|
||||
commands:
|
||||
- composer install
|
||||
|
||||
test:
|
||||
extends: base
|
||||
commands:
|
||||
- phpunit --testdox
|
||||
|
||||
php:
|
||||
version: 8.1-cli-bullseye
|
||||
phpstan:
|
||||
level: 7
|
||||
paths:
|
||||
- app
|
||||
- src
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="php-full coding standards">
|
||||
<description>PHPCS configuration file for php-full.</description>
|
||||
<file>src</file>
|
||||
<arg value="np"/>
|
||||
<rule ref=""/>
|
||||
</ruleset>
|
|
@ -1,6 +0,0 @@
|
|||
parameters:
|
||||
level: 7
|
||||
paths:
|
||||
- app
|
||||
- src
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php"
|
||||
cacheResultFile=".phpunit.cache/test-results"
|
||||
executionOrder="depends,defects"
|
||||
forceCoversAnnotation="false"
|
||||
beStrictAboutCoversAnnotation="true"
|
||||
beStrictAboutOutputDuringTests="false"
|
||||
beStrictAboutTodoAnnotatedTests="true"
|
||||
convertDeprecationsToExceptions="true"
|
||||
failOnRisky="true"
|
||||
failOnWarning="true"
|
||||
verbose="true">
|
||||
<testsuites>
|
||||
<testsuite name="php-full">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
|
@ -1 +0,0 @@
|
|||
export COMPOSE_PROJECT_NAME=php-simple
|
|
@ -1,14 +0,0 @@
|
|||
FROM php:8.1-cli-bullseye AS base
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
RUN which composer && composer -V
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV PATH="${PATH}:/app/vendor/bin"
|
||||
|
||||
COPY composer.* ./
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
name: php-simple
|
||||
language: php
|
||||
type: php-library
|
||||
php:
|
||||
version: 8.1-cli-bullseye
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="php-simple coding standards">
|
||||
<description>PHPCS configuration file for php-simple.</description>
|
||||
<file>src</file>
|
||||
<arg value="np"/>
|
||||
<rule ref=""/>
|
||||
</ruleset>
|
|
@ -1,5 +0,0 @@
|
|||
parameters:
|
||||
level:
|
||||
paths:
|
||||
- src
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php"
|
||||
cacheResultFile=".phpunit.cache/test-results"
|
||||
executionOrder="depends,defects"
|
||||
forceCoversAnnotation="false"
|
||||
beStrictAboutCoversAnnotation="true"
|
||||
beStrictAboutOutputDuringTests="false"
|
||||
beStrictAboutTodoAnnotatedTests="true"
|
||||
convertDeprecationsToExceptions="true"
|
||||
failOnRisky="true"
|
||||
failOnWarning="true"
|
||||
verbose="true">
|
||||
<testsuites>
|
||||
<testsuite name="php-simple">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
Loading…
Reference in a new issue