projet_setup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-10-17 23:36:54 +02:00
parent c619bb3dbe
commit 9067f7dcc1
Signed by: paramah
GPG Key ID: C4340BA42B9C173A
2 changed files with 67 additions and 65 deletions

View File

@ -2,22 +2,22 @@ kind: pipeline
name: default
steps:
- name: php8.1-rc
image: plugins/docker
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
- PHP_VERSION=8.1-rc-fpm-alpine3.13
tags: 8.1-rc-alpine
when:
branch:
- master
depends_on: [ clone ]
# - name: php8.1-rc
# image: plugins/docker
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# build_args:
# - PHP_VERSION=8.1-rc-fpm-alpine3.13
# tags: 8.1-rc-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php8.0
image: plugins/docker
@ -36,53 +36,53 @@ steps:
- master
depends_on: [ clone ]
- name: php7.4
image: plugins/docker
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
- PHP_VERSION=7.4-fpm-alpine3.13
tags: 7.4-alpine
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.4
# image: plugins/docker
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# build_args:
# - PHP_VERSION=7.4-fpm-alpine3.13
# tags: 7.4-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.3
image: plugins/docker
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
- PHP_VERSION=7.3-fpm-alpine3.13
tags: 7.3-alpine
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.3
# image: plugins/docker
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# build_args:
# - PHP_VERSION=7.3-fpm-alpine3.13
# tags: 7.3-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.2
image: plugins/docker
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
- PHP_VERSION=7.2-fpm-alpine3.12
tags: 7.2-alpine
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.2
# image: plugins/docker
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# build_args:
# - PHP_VERSION=7.2-fpm-alpine3.12
# tags: 7.2-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]

View File

@ -2,6 +2,8 @@
if [ -f /var/www/override.ini ]; then
if [ -f /usr/local/etc/php/conf.d/02-project-override.ini ]; then
rm /usr/local/etc/php/conf.d/02-project-override.ini
fi
ln -s /var/www/override.ini /usr/local/etc/php/conf.d/02-project-override.ini
fi