Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 9324b2b

Browse files
committed
Update php and php-mysql roles.
1 parent 922e536 commit 9324b2b

File tree

21 files changed

+111
-41
lines changed

21 files changed

+111
-41
lines changed

provisioning/requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ roles:
4343
- name: geerlingguy.nodejs
4444
version: 5.1.1
4545
- name: geerlingguy.php
46-
version: 4.3.1
46+
version: 4.4.0
4747
- name: geerlingguy.php-memcached
4848
version: 2.0.2
4949
- name: geerlingguy.php-mysql
50-
version: 2.0.2
50+
version: 2.1.0
5151
- name: geerlingguy.php-pecl
5252
version: 2.0.0
5353
- name: geerlingguy.php-pgsql
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
---
3+
github: geerlingguy
4+
patreon: geerlingguy
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 90
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 30
9+
10+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11+
onlyLabels: []
12+
13+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14+
exemptLabels:
15+
- pinned
16+
- security
17+
- planned
18+
19+
# Set to true to ignore issues in a project (defaults to false)
20+
exemptProjects: false
21+
22+
# Set to true to ignore issues in a milestone (defaults to false)
23+
exemptMilestones: false
24+
25+
# Set to true to ignore issues with an assignee (defaults to false)
26+
exemptAssignees: false
27+
28+
# Label to use when marking as stale
29+
staleLabel: stale
30+
31+
# Limit the number of actions per hour, from 1-30. Default is 30
32+
limitPerRun: 30
33+
34+
pulls:
35+
markComment: |-
36+
This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!
37+
38+
Please read [this blog post](https://www.jeffgeerling.com/blog/2020/enabling-stale-issue-bot-on-my-github-repositories) to see the reasons why I mark pull requests as stale.
39+
40+
unmarkComment: >-
41+
This pull request is no longer marked for closure.
42+
43+
closeComment: >-
44+
This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.
45+
46+
issues:
47+
markComment: |-
48+
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
49+
50+
Please read [this blog post](https://www.jeffgeerling.com/blog/2020/enabling-stale-issue-bot-on-my-github-repositories) to see the reasons why I mark issues as stale.
51+
52+
unmarkComment: >-
53+
This issue is no longer marked for closure.
54+
55+
closeComment: >-
56+
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

provisioning/roles/geerlingguy.php-mysql/.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ env:
77
- ROLE_NAME: php-mysql
88
matrix:
99
- MOLECULE_DISTRO: centos7
10-
MOLECULE_DOCKER_COMMAND: /usr/lib/systemd/systemd
11-
- MOLECULE_DISTRO: ubuntu1604
10+
- MOLECULE_DISTRO: ubuntu2004
11+
- MOLECULE_DISTRO: debian10
1212

1313
install:
1414
# Install test dependencies.
15-
- pip install molecule docker
15+
- pip install molecule yamllint ansible-lint docker
1616

1717
before_script:
1818
# Use actual Ansible Galaxy role name for the project directory.

provisioning/roles/geerlingguy.php-mysql/meta/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ dependencies:
33
- geerlingguy.php
44

55
galaxy_info:
6+
# See: https://github.com/ansible/galaxy/issues/2393
7+
# role_name: php-mysql
68
author: geerlingguy
79
description: PHP MySQL support for Linux.
810
company: "Midwestern Mac, LLC"
911
license: "license (BSD, MIT)"
10-
min_ansible_version: 2.0
12+
min_ansible_version: 2.4
1113
platforms:
1214
- name: EL
1315
versions:

provisioning/roles/geerlingguy.php-mysql/molecule/default/playbook.yml renamed to provisioning/roles/geerlingguy.php-mysql/molecule/default/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
become: true
55

66
vars:
7-
php_enablerepo: "remi,remi-php70"
7+
php_enablerepo: "remi,remi-php72"
88

99
pre_tasks:
1010
- name: Update apt cache.

provisioning/roles/geerlingguy.php-mysql/molecule/default/molecule.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,19 @@ dependency:
33
name: galaxy
44
driver:
55
name: docker
6-
lint:
7-
name: yamllint
8-
options:
9-
config-file: molecule/default/yaml-lint.yml
6+
lint: |
7+
set -e
8+
yamllint .
9+
ansible-lint
1010
platforms:
1111
- name: instance
12-
image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
13-
command: ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}
12+
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
13+
command: ${MOLECULE_DOCKER_COMMAND:-""}
14+
volumes:
15+
- /sys/fs/cgroup:/sys/fs/cgroup:ro
1416
privileged: true
1517
pre_build_image: true
1618
provisioner:
1719
name: ansible
18-
lint:
19-
name: ansible-lint
2020
playbooks:
21-
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
22-
scenario:
23-
name: default
24-
verifier:
25-
name: testinfra
26-
lint:
27-
name: flake8
21+
converge: ${MOLECULE_PLAYBOOK:-converge.yml}

provisioning/roles/geerlingguy.php-mysql/molecule/default/tests/test_default.py

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
__php_mysql_package: php7.0-mysql
2+
__php_mysql_package: php{{ php_default_version_debian | default("7.4") }}-mysql

0 commit comments

Comments
 (0)