Skip to content

Commit

Permalink
This is gitops project
Browse files Browse the repository at this point in the history
  • Loading branch information
pratik-mahalle committed May 9, 2024
0 parents commit 744926c
Show file tree
Hide file tree
Showing 19 changed files with 556 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

patreon: kaiwalya
ko_fi: kaiwalya
custom: https://buymeacoffee.com/kaiwalya
github: kaiwalyakoparkar

# open_collective: # Replace with a single Open Collective username
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
# liberapay: # Replace with a single Liberapay username
# issuehunt: # Replace with a single IssueHunt username
# otechie: # Replace with a single Otechie username
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: '[Bug]'
labels: 'bug , Priority: High , want fix, Review Required'
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/ Video
**If applicable, add screenshots to help explain your problem.**

### Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

### Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

### Additional context
**Add any other context about the problem here.**
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Documentation request
about: Chage regarding improvising the docs to be more accessible
title: '[Doc]'
labels: 'documentation , enhancement, good first issue'
assignees: ''

---

## What best describes you change

<!--Check all the boxes which are aplicable to check the box correct follow the following conventions-->
<!--
[x] - Correct
[X] - Correct
-->

**Check List (Check all the boxes which are applicable)**<!--Follow above conventions to check the box-->

- [ ] Information addition regarding the newest change through a PR
- [ ] Typo error.
- [ ] New category addition.
- [ ] Refractoring sentences that make more sense.
- [ ] Fixing broken links.
- [ ] Refractors / reformating of the document.
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: '[Feature]'
labels: 'feature, Review Required'
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.**
32 changes: 32 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--Type in all the issues that has been fixed through this pull request ex : #1 -->

## Fixes Issue

This PR fixes the following issues :

#example

<!--Write down all the changes made-->
## Changes proposed

Here comes all the changes proposed through this PR

<!--Check all the boxes which are aplicable to check the box correct follow the following conventions-->
<!--
[x] - Correct
[X] - Correct
-->

## Check List (Check all the boxes which are applicable)<!--Follow above conventions to check the box-->

- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] All new and existing tests passed.
- [ ] This PR does not contain plagarised content.
- [ ] The title of my pull request is a short description of the requested changes.


<!--Add screen shots of the changed output-->
## Screenshots
Add all the screenshots which support your changes
62 changes: 62 additions & 0 deletions .github/workflows/build-push-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
name: build and push docker image
on:
push

jobs:
release-docker:
name: Release docker image
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
tags: |
type=sha
images: kaiwalyakoparkar/busybox

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kaiwalyakoparkar/busybox
tag_with_ref: true
add_git_labels: true
tag_with_sha: true

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true

- name: Generate deploy manifest from Jinja template
uses: cuchi/[email protected]
with:
template: template/deploy.j2
output_file: kubernetes/deploy.yaml
strict: true
variables: |
image_deploy_tag=${{ steps.meta.outputs.tags }}
- name: Commit deploy manifest on local repo
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -s -m "[skip ci] Generate deployment manifests"
git pull origin main --rebase -f
- name: Push deploy manifests to local repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.AUTO_COMMIT_TOKEN }}
branch: ${{ github.ref }}
31 changes: 31 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Greetings

on: [pull_request, issues]

jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '<h3>Hello 👋, Thank you very much for raising an issue 🙌. The maintainers will get back to you soon for discussion over the issue!</h3>'
pr-message: '<h3>Yeah! You did it 🎉. Now, Relax 😉 -> Grab a drink ☕ -> And wait for the maintainers views on your contribution. Meanwhile you can discuss on other issues and solve them 😀</h3>'
footer: 'If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our <a href="https://community.kaiwalyakoparkar.com/">Discord Server</a>- we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.'



# name: Greetings

# on: [pull_request, issues]

# jobs:
# greeting:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/first-interaction@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# issue-message: 'Hello 👋, Thank you very much for raising an issue 🙌. The maintainers will get back to you soon for discussion over the issue!'
# pr-message: 'Yeah! You did it 🎉. Now, Relax 😉 -> Grab a drink ☕ -> And wait for the maintainers views on your contribution. Meanwhile you can discuss on other issues and solve them 😀'
16 changes: 16 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Import open source standard labels
on:
push:
branches: [ main ]
jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: EddieHubCommunity/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owner-name: ${{ github.repository_owner }}
repository-name: ${{ github.event.repository.name }}
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Changelog
on:
push:
branches:
- main
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
output-file: "false"
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
15 changes: 15 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
Loading

0 comments on commit 744926c

Please sign in to comment.