Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mbloch1986 committed Jul 27, 2023
0 parents commit b1e2a0b
Show file tree
Hide file tree
Showing 32 changed files with 1,009 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information if relevant):**
- Libraries and versions: [e.g. packer-aem 1.0.0 and aem-aws-stack-builder 1.2.3]
- OS [e.g. rhel7, amz2]

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

---

**Is your feature request related to a problem? Please describe.**
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.
3 changes: 3 additions & 0 deletions .github/actions/ci-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM shinesolutions/aem-platform-buildenv:latest
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 4 additions & 0 deletions .github/actions/ci-action/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: 'CI'
runs:
using: 'docker'
image: 'Dockerfile'
2 changes: 2 additions & 0 deletions .github/actions/ci-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
make ci
3 changes: 3 additions & 0 deletions .github/actions/publish-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ghcr.io/shinesolutions/the-works-buildenv:1.8.0
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh", "$GITHUB_TOKEN"]
4 changes: 4 additions & 0 deletions .github/actions/publish-action/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: 'Publish'
runs:
using: 'docker'
image: 'Dockerfile'
4 changes: 4 additions & 0 deletions .github/actions/publish-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
make clean lint package
echo "${GITHUB_TOKEN}" | gh auth login --with-token
make publish
3 changes: 3 additions & 0 deletions .github/actions/release-major-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ghcr.io/shinesolutions/the-works-buildenv:1.8.0
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 4 additions & 0 deletions .github/actions/release-major-action/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: 'Release Major'
runs:
using: 'docker'
image: 'Dockerfile'
4 changes: 4 additions & 0 deletions .github/actions/release-major-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Works"
make release-major
3 changes: 3 additions & 0 deletions .github/actions/release-minor-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ghcr.io/shinesolutions/the-works-buildenv:1.8.0
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 4 additions & 0 deletions .github/actions/release-minor-action/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: 'Release Minor'
runs:
using: 'docker'
image: 'Dockerfile'
4 changes: 4 additions & 0 deletions .github/actions/release-minor-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Works"
make release-minor
3 changes: 3 additions & 0 deletions .github/actions/release-patch-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ghcr.io/shinesolutions/the-works-buildenv:1.8.0
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 4 additions & 0 deletions .github/actions/release-patch-action/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: 'Release Patch'
runs:
using: 'docker'
image: 'Dockerfile'
4 changes: 4 additions & 0 deletions .github/actions/release-patch-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Works"
make release-patch
9 changes: 9 additions & 0 deletions .github/workflows/ci-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ./.github/actions/ci-action
20 changes: 20 additions & 0 deletions .github/workflows/publish-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish
'on':
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
ref: main
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: shinesolutions
password: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
- uses: ./.github/actions/publish-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/release-major-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Release Major
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: shinesolutions
password: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
- uses: ./.github/actions/release-major-action
- uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
branch: ${{ github.ref }}
19 changes: 19 additions & 0 deletions .github/workflows/release-minor-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Release Minor
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: shinesolutions
password: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
- uses: ./.github/actions/release-minor-action
- uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
branch: ${{ github.ref }}
19 changes: 19 additions & 0 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Release Patch
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: shinesolutions
password: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
- uses: ./.github/actions/release-patch-action
- uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
branch: ${{ github.ref }}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Added
- Initial version
Loading

0 comments on commit b1e2a0b

Please sign in to comment.