Skip to content

Commit a3ec2f1

Browse files
authored
Merge pull request #43 from wayofdev/fix/network
2 parents 41652aa + 5bb40d3 commit a3ec2f1

11 files changed

+56
-68
lines changed

.github/labeler.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
# this file is for the labeler workflow job
24
# Documentation https://github.com/marketplace/actions/labeler
35

@@ -7,7 +9,6 @@
79
- ./*.md
810

911
"type: maintenance":
10-
- .dependabot/*
1112
- .github/workflows/*
12-
- app/tests/**/*
13-
- tests/**/*
13+
14+
...
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
---
2+
13
# This workflow will triage pull requests and apply a label based on the
24
# paths that are modified in the pull request.
35
#
46
# To use this workflow, you will need to set up a .github/labeler.yml
5-
# file with configuration. For more information, see:
7+
# file with configuration. For more information, see:
68
# https://github.com/actions/labeler/blob/master/README.md
79

810
on: # yamllint disable-line rule:truthy
@@ -12,11 +14,10 @@ name: 🏷️ Add labels
1214

1315
jobs:
1416
label:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: 🏷️ Apply labels
18-
uses: actions/labeler@v4
19-
with:
20-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@master
18+
with:
19+
os: ubuntu-latest
20+
secrets:
21+
token: ${{ secrets.GITHUB_TOKEN }}
2122

2223
...

.github/workflows/auto-merge-release.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ name: 🤞 Auto merge release
1313

1414
jobs:
1515
auto-merge:
16-
if: github.actor == 'lotyp' && startsWith(github.head_ref, 'release-please--')
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: 🤞 Auto-merge pull request
20-
uses: peter-evans/enable-pull-request-automerge@v3
21-
with:
22-
pull-request-number: ${{ github.event.pull_request.number }}
23-
merge-method: merge
24-
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN
25-
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
16+
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@master
17+
with:
18+
os: ubuntu-latest
19+
pull-request-number: ${{ github.event.pull_request.number }}
20+
actor: lotyp
21+
merge-method: merge
22+
secrets:
23+
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN
24+
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
2625

2726
...

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ jobs:
4545

4646
- name: 🧪 Run dcgoss tests
4747
run: make test
48+
49+
...
Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22

3+
# https://github.com/wayofdev/gh-actions/blob/master/.github/workflows/create-release.yml
34
# https://github.com/google-github-actions/release-please-action#release-types-supported
45

56
on: # yamllint disable-line rule:truthy
@@ -11,30 +12,12 @@ name: 📦 Create release
1112

1213
jobs:
1314
release:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: 🎉 Create release
17-
uses: google-github-actions/release-please-action@v3
18-
id: release
19-
with:
20-
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
21-
release-type: node
22-
package-name: docker-shared-services
23-
default-branch: master
24-
changelog-types: |
25-
[
26-
{ "type": "feat", "section": "Features", "hidden": false },
27-
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
28-
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
29-
{ "type": "docs", "section": "Documentation", "hidden": false },
30-
{ "type": "chore", "section": "Miscellaneous", "hidden": false },
31-
{ "type": "style", "section": "Styles", "hidden": true },
32-
{ "type": "revert", "section": "Reverts", "hidden": true },
33-
{ "type": "deps", "section": "Dependencies", "hidden": true },
34-
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
35-
{ "type": "test", "section": "Tests", "hidden": true },
36-
{ "type": "build", "section": "Build System", "hidden": true },
37-
{ "type": "ci", "section": "Continuous Integration", "hidden": true }
38-
]
15+
uses: wayofdev/gh-actions/.github/workflows/create-release.yml@master
16+
with:
17+
os: ubuntu-latest
18+
branch: master
19+
package-name: docker-shared-services
20+
secrets:
21+
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
3922

4023
...

.github/workflows/shellcheck.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,11 @@ permissions:
1010

1111
jobs:
1212
shellcheck:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: 📦 Check out the codebase
16-
uses: actions/checkout@v3
17-
with:
18-
fetch-depth: 0
19-
20-
- name: 🐞 Differential shell-check
21-
uses: redhat-plumbers-in-action/differential-shellcheck@v4
22-
with:
23-
severity: warning
24-
token: ${{ secrets.GITHUB_TOKEN }}
13+
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@master
14+
with:
15+
os: ubuntu-latest
16+
severity: warning
17+
secrets:
18+
token: ${{ secrets.GITHUB_TOKEN }}
2519

2620
...

.github/workflows/sync-from-tpl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
on:
3+
on: # yamllint disable-line rule:truthy
44
# Trigger At 00:00 on each 1st day of month
55
schedule:
66
- cron: "0 0 1 * *"

.pre-commit-config.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@ repos:
99
- id: fix-encoding-pragma
1010

1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v2.42.1
12+
rev: 3.5.2
1313
hooks:
1414
- id: commitizen
1515
stages:
1616
- commit-msg
1717

18-
- repo: https://github.com/rhysd/actionlint
19-
rev: v1.6.23
20-
hooks:
21-
- id: actionlint
22-
2318
...

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ This repository configures Traefik to run together with, installed in system, dn
4848
* Installed [mkcert](https://github.com/FiloSottile/mkcert) binary in system
4949
* See full installation instructions in their official [README.md](https://github.com/FiloSottile/mkcert)
5050
* Quick installation on macOS: `brew install mkcert nss`
51-
* Installed and configured [dnsmasq](https://thekelleys.org.uk/dnsmasq/doc.html) daemon
52-
* Can be installed and configured automatically via our own [ansible-role-dnsmasq](https://github.com/wayofdev/ansible-role-dnsmasq)
51+
* ~~Installed and configured [dnsmasq](https://thekelleys.org.uk/dnsmasq/doc.html) daemon~~
52+
* ~~Can be installed and configured automatically via our own [ansible-role-dnsmasq](https://github.com/wayofdev/ansible-role-dnsmasq)~~
53+
* DNSMasq service now is shipped and configured with this repository.
5354

5455
<br>
5556

@@ -180,7 +181,7 @@ This repository was created in **2022** by [lotyp / wayofdev](https://github.com
180181

181182
<br>
182183

183-
## 🫡 Contributors
184+
## 🫡 Supporters
184185

185186
<img align="left" src="https://img.shields.io/github/contributors-anon/wayofdev/docker-shared-services?style=for-the-badge" alt="Contributors"/>
186187

dnsmasq.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
address=/docker/127.0.0.1

0 commit comments

Comments
 (0)