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

Commit 42e1253

Browse files
committed
Update roles: security, solr, elasticsearch, repo-remi, and composer.
1 parent fc0e710 commit 42e1253

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+321
-239
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
skip_list:
2+
- '106'
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.composer/.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ env:
1010
- MOLECULE_DISTRO: ubuntu1604
1111
- MOLECULE_DISTRO: debian9
1212

13+
before_install:
14+
# Upgrade Docker to work with docker-py.
15+
- curl https://gist.githubusercontent.com/geerlingguy/ce883ad4aec6a5f1187ef93bd338511e/raw/36612d28981d92863f839c5aefe5b7dd7193d6c6/travis-ci-docker-upgrade.sh | sudo bash
16+
1317
install:
1418
# Install test dependencies.
15-
- pip install molecule docker
19+
- pip install molecule yamllint ansible-lint docker
1620

1721
before_script:
1822
# Use actual Ansible Galaxy role name for the project directory.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
22
extends: default
3+
34
rules:
45
line-length:
56
max: 140
67
level: warning
8+
9+
ignore: |
10+
.github/stale.yml
11+
.travis.ci

provisioning/roles/geerlingguy.composer/meta/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
dependencies: []
33

44
galaxy_info:
5+
role_name: composer
56
author: geerlingguy
67
description: Composer PHP Dependency Manager
78
company: "Midwestern Mac, LLC"

provisioning/roles/geerlingguy.composer/molecule/default/molecule.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ 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
1212
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
@@ -17,13 +17,5 @@ platforms:
1717
pre_build_image: true
1818
provisioner:
1919
name: ansible
20-
lint:
21-
name: ansible-lint
2220
playbooks:
23-
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
24-
scenario:
25-
name: default
26-
verifier:
27-
name: testinfra
28-
lint:
29-
name: flake8
21+
converge: ${MOLECULE_PLAYBOOK:-converge.yml}

provisioning/roles/geerlingguy.composer/tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,14 @@
4343
when: composer_keep_updated | bool
4444

4545
- name: Ensure composer directory exists.
46+
become: true
47+
become_user: "{{ composer_home_owner }}"
4648
file:
4749
path: "{{ composer_home_path }}"
4850
owner: "{{ composer_home_owner }}"
4951
group: "{{ composer_home_group }}"
5052
state: directory
53+
mode: 0755
5154

5255
- name: Add GitHub OAuth token for Composer (if configured).
5356
become: true
@@ -57,6 +60,7 @@
5760
dest: "{{ composer_home_path }}/auth.json"
5861
owner: "{{ composer_home_owner }}"
5962
group: "{{ composer_home_group }}"
63+
mode: 0644
6064
when: composer_github_oauth_token | length > 0
6165

6266
- include_tasks: global-require.yml
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
skip_list:
2+
- '106'

0 commit comments

Comments
 (0)