Skip to content

Commit

Permalink
feat: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
trallnag committed Sep 4, 2021
0 parents commit 1538715
Show file tree
Hide file tree
Showing 21 changed files with 10,573 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
---

## Describe the bug

<!-- A clear and concise description of what the bug is. -->

## Steps to reproduce

<!-- Steps to reproduce the behavior: -->

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->

## Additional context

<!-- Add any other context about the problem here. -->
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement
assignees: ""
---

## Is your feature request related to a problem?

<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

## Describe the solution you'd like

<!-- A clear and concise description of what you want to happen. -->

## Describe alternatives you've considered

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->
26 changes: 26 additions & 0 deletions .github/PULL_REQUEST/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Usage examples

<!--- Provide examples of intended usage -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
9 changes: 9 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json

version: 2

updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
65 changes: 65 additions & 0 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

on:
workflow_dispatch:
push:

jobs:
cicd:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

# ========================================================================
# Pre-Commit

- uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Setup pre-commit
run: |
pip install pre-commit
pre-commit install
- name: Cache pre-commit
uses: actions/cache@v2
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit

- run: pre-commit run --all-files --verbose --show-diff-on-failure

# ========================================================================
# Semantic Release

- name: Copy package meta info to root
run: |
cp .local/ci/package* .
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
cache: npm

- name: Install packages
# TODO: Remove `2>&1 | tee` once issue closed.
# https://github.com/npm/cli/issues/2560
# https://github.com/npm/cli/issues/3314
run: npm install --no-progress --prefer-offline 2>&1 | tee

- name: Semantic Release
if: "!contains(github.event.head_commit.message, '[skip semantic release]')"
id: semantic_release
run: npx --no-install semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push role to Ansible Galaxy
if: steps.semantic_release.outputs.new_release_published == 'true'
uses: robertdebock/galaxy-action@1.1.1
with:
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ==============================================================================
# Project specific part of '.gitignore'.


.local/ci/node_modules


# ==============================================================================
# Generic part of '.gitignore' based on: <https://github.com/github/gitignore>.
3 changes: 3 additions & 0 deletions .local/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Local

Objects that are specific to this repository and have no better place to stay.
Loading

0 comments on commit 1538715

Please sign in to comment.