-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from wayofdev/feat/updates
- Loading branch information
Showing
10 changed files
with
70 additions
and
53 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
- ./*.md | ||
|
||
"type: maintenance": | ||
- .dependabot/* | ||
- .github/workflows/* | ||
- app/tests/**/* | ||
- tests/**/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
|
||
# https://github.com/peter-evans/enable-pull-request-automerge | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
name: 🤞 Auto merge release | ||
|
||
jobs: | ||
auto-merge: | ||
if: github.actor == 'lotyp' && startsWith(github.head_ref, 'release-please--') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🤞 Auto-merge pull request | ||
uses: peter-evans/enable-pull-request-automerge@v2 | ||
with: | ||
pull-request-number: ${{ github.event.pull_request.number }} | ||
merge-method: merge | ||
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN | ||
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
|
||
name: CI | ||
|
||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
|
@@ -18,39 +16,43 @@ on: # yamllint disable-line rule:truthy | |
# Every Sunday at 05:10 | ||
- cron: '10 5 * * 0' | ||
|
||
name: 🔍 Continuous integration | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os_name: ['alpine'] | ||
steps: | ||
- uses: e1himself/[email protected] | ||
- name: 📦 Install goss | ||
uses: e1himself/[email protected] | ||
|
||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: 📦 Check out the codebase | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
### For Cross Platform OSX builds uncomment these lines | ||
- name: Set up QEMU | ||
- name: 🖥️ Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
with: | ||
platforms: arm64 | ||
|
||
- name: Set up Docker Buildx | ||
- name: 🚀 Set up Docker BuildX | ||
uses: docker/setup-buildx-action@v2 | ||
with: | ||
install: true | ||
|
||
- name: Prepare environment | ||
- name: 🛠️ Prepare environment | ||
run: | | ||
docker network create ss_network | ||
make env | ||
env: | ||
COMPOSE_PROJECT_NAME: wod | ||
|
||
- name: Run dcgoss tests | ||
- name: 🧪 Run dcgoss tests | ||
run: | | ||
docker network create shared | ||
make test | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
--- | ||
|
||
name: Sync changes from upstream template | ||
|
||
on: # yamllint disable-line rule:truthy | ||
# Trigger At 00:00 on each 1st day of month | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
# Manual trigger | ||
workflow_dispatch: | ||
|
||
name: ♻️ Sync changes from upstream template | ||
|
||
jobs: | ||
repo-sync: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.1.0 | ||
- name: 📦 Check out the codebase | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.WORKFLOW_TOKEN }} | ||
|
||
- name: Sync changes from upstream template | ||
uses: AndreasAugustin/actions-template-sync@v0.4.2-draft | ||
- name: ♻️ Sync changes from upstream template | ||
uses: AndreasAugustin/actions-template-sync@v0.7.3 | ||
with: | ||
github_token: ${{ secrets.WORKFLOW_TOKEN }} | ||
source_repo_path: wayofdev/docker-project-services | ||
upstream_branch: master | ||
pr_labels: "type: maintenance" | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters