Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TGWolf committed Oct 14, 2021
1 parent 67a30d1 commit 1f756b5
Show file tree
Hide file tree
Showing 26 changed files with 1,051 additions and 274 deletions.
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/ask_question.md

This file was deleted.

22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/ask_question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Ask a question
description: If you don't have a specific issue or bug to report you can still ask us questions and we will do our best to answer them
title: "[Question]: "
labels: [question, triage]
assignees:
- tgwolf
body:
- type: textarea
id: question
attributes:
label: What is your question?
description: Please give us time to review your question and formulate an answer.
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
options:
- label: I agree to follow this project's Code of Conduct
required: true
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Report a bug
description: Found a bug? Let us knonw what the issue is and we will attempt to fix it
title: "[Bug]: "
labels: [bug, triage]
assignees:
- tgwolf
body:
- type: textarea
id: what-happened
attributes:
label: What happened?
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How do we reproduct the bug?
description: What are the steps we need to take to reproduce the behavior?
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
validations:
required: false
- type: textarea
id: screenshoots
attributes:
label: Screeenshots
description: Upload any screenshots that might help demonstrate the bug.
validations:
required: false
- type: textarea
id: additional-information
attributes:
label: Additional information
description: Please provide any additional information that you think will help us to resolve this bug.
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
options:
- label: I agree to follow this project's Code of Conduct
required: true
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Support us
url: https://ko-fi.com/wolfsoftware
about: Show your support
- name: Visit our website
url: https://wolfsoftware.com/
about: Visit the Wolf Software website and see what else we do and what services we offer
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Request a new feature
description: Got an idea for a new feature? Let us know what you want and we will see if we can add it
title: "[Feature Request]: "
labels: [enhancement, triage]
assignees:
- tgwolf
body:
- type: textarea
id: releated-to
attributes:
label: Is your feature request related to a problem?
description: A clear and concise description of what the problem is. E.g. I'm always frustrated when ...
validations:
required: true
- type: textarea
id: suggested-solution
attributes:
label: Suggested Solution
description: A clear and concise description of what you want to see implemented.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: Additional information
description: Please provide any additional information that you think will help us to resolve this bug.
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
options:
- label: I agree to follow this project's Code of Conduct
required: true
8 changes: 0 additions & 8 deletions .github/SUPPORT.md

This file was deleted.

151 changes: 151 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
name: pipeline
on:
push:
pull_request:
schedule:
- cron: '0 3 * * *'

jobs:
alpine:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '3.11', '3.12', '3.13', '3.14' ]
name: Build on Alpine Linux ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Generate Dockerfile for Alpine Linux ${{ matrix.version }}
run: Dockerfiles/alpine/${{ matrix.version }}/manage.sh generate
- name: Build on Alpine Linux ${{ matrix.version }}
run: Dockerfiles/alpine/${{ matrix.version }}/manage.sh build clean
- name: Login to Docker Hub
run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
- name: Publish Container
run: Dockerfiles/alpine/${{ matrix.version }}/manage.sh publish
amazonlinux:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '1', '2' ]
name: Build on Amazon Linux ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Generate Dockerfile for Amazon Linux ${{ matrix.version }}
run: Dockerfiles/amazonlinux/${{ matrix.version }}/manage.sh generate
- name: Build on Amazon Linux ${{ matrix.version }}
run: Dockerfiles/amazonlinux/${{ matrix.version }}/manage.sh build clean
- name: Login to Docker Hub
run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
- name: Publish Container
run: Dockerfiles/amazonlinux/${{ matrix.version }}/manage.sh publish
centos:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '7', '8' ]
name: Build on Centos ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Generate Dockerfile for Centos ${{ matrix.version }}
run: Dockerfiles/centos/${{ matrix.version }}/manage.sh generate
- name: Build on Centos ${{ matrix.version }}
run: Dockerfiles/centos/${{ matrix.version }}/manage.sh build clean
- name: Login to Docker Hub
run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
- name: Publish Container
run: Dockerfiles/centos/${{ matrix.version }}/manage.sh publish
debian:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '9', '9-slim', '10', '10-slim', '11', '11-slim', '12', '12-slim' ]
name: Build on Debian ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Generate Dockerfile for Debian ${{ matrix.version }}
run: Dockerfiles/debian/${{ matrix.version }}/manage.sh generate
- name: Build on Debian ${{ matrix.version }}
run: Dockerfiles/debian/${{ matrix.version }}/manage.sh build clean
- name: Login to Docker Hub
run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
- name: Publish Container
run: Dockerfiles/debian/${{ matrix.version }}/manage.sh publish
ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '14.04', '16.04', '18.04', '20.04' ]
name: Build on Ubuntu ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Generate Dockerfile for Ubuntu ${{ matrix.version }}
run: Dockerfiles/ubuntu/${{ matrix.version }}/manage.sh generate
- name: Build on Ubuntu ${{ matrix.version }}
run: Dockerfiles/ubuntu/${{ matrix.version }}/manage.sh build clean
- name: Login to Docker Hub
run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
- name: Publish Container
run: Dockerfiles/ubuntu/${{ matrix.version }}/manage.sh publish
awesomebot:
name: Awesomebot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Run Awesomebot
env:
FLAGS: "default"
EXCLUDE_FILES: "CHANGELOG.md"
WHITELIST: "https://img.shields.io"
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/awesomebot/master/pipeline.sh)
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Shellcheck
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/shellcheck/master/pipeline.sh)
yaml-lint:
name: YAML Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Run YAML-Lint
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/yaml-lint/master/pipeline.sh)
slack-workflow-status:
if: always()
name: Slack Post Workflow Notification
needs:
- alpine
- amazonlinux
- centos
- debian
- ubuntu
- awesomebot
- shellcheck
- yaml-lint
runs-on: ubuntu-latest
steps:
- name: Slack Post Workflow Notification
uses: Gamesight/slack-workflow-status@master
with:
include_jobs: true
repo_token: ${{secrets.GITHUB_TOKEN}}
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
Loading

0 comments on commit 1f756b5

Please sign in to comment.