Skip to content

Commit

Permalink
Merge pull request #113 from aw1cks-forks/refactor
Browse files Browse the repository at this point in the history
Repo refactor & cleanup
  • Loading branch information
djkormo authored Jan 31, 2025
2 parents 884afb8 + 2964f5d commit 26ebc9b
Show file tree
Hide file tree
Showing 73 changed files with 688 additions and 1,204 deletions.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug report
about: Help us improve by reporting a bug
title: '[BUG]'
labels: ''
assignees: ''

---

**Describe the bug**

A short description of the bug.

**To reproduce**

Steps to reproduce the behavior and/or a minimal code sample.

**Expected behavior**

A description of what you expected to happen.

**Additional information**

Any additional information that is relevant to the problem.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug report
about: Help us improve by reporting a bug
title: '[BUG]'
labels: ''
assignees: ''

---

**Describe the bug**

A short description of the bug.

**To reproduce**

Steps to reproduce the behavior and/or a minimal code sample.

**Expected behavior**

A description of what you expected to happen.

**Additional information**

Any additional information that is relevant to the problem.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
blank_issues_enabled: false
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 @@
<!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->

#### 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. -->
Closes #

#### Screenshots (if appropriate):

#### How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, tests ran to see how -->
<!--- your change affects other areas of the code, etc. -->

#### Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I have updated the documentation accordingly.
- [ ] I have updated the tests accordingly.
- [ ] I have run `make generate` and checked in the results.
- [ ] I have run `make manifests` and checked in the results.

For new code releases:
- [ ] I have bumped the `appVersion` in the Helm chart.

For new Helm chart releases:
- [ ] I have bumped the Helm chart version.
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
---
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
labels:
- dependencies
- golang
reviewers:
- djkormo
open-pull-requests-limit: 3

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- dependencies
- github-actions
reviewers:
- djkormo
open-pull-requests-limit: 3
59 changes: 0 additions & 59 deletions .github/workflows/ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Code scanning - action"
name: CodeQL

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Release helm charts
name: Release (Helm)

on:
push:
branches:
- main
- master
tags:
- 'helm/v[0-9]+.[0-9]+.[0-9]+'
- 'helm/v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
paths:
- 'charts/**.yaml'
- 'charts/**.yml'
- 'charts/*/Chart.yaml'

jobs:
release:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Lint and Test Charts
on:
name: Test (Helm)
on:
- pull_request
- workflow_dispatch

Expand Down Expand Up @@ -40,28 +40,30 @@ jobs:
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml --lint-conf lintconf.yaml --chart-yaml-schema chart_schema.yaml --debug

- name: Create kind cluster
uses: helm/kind-action@v1.10.0

if: steps.list-changed.outputs.changed == 'true'

- run: |
kubectl cluster-info
kubectl cluster-info
kubectl get nodes -v=6
helm version
helm repo add jetstack https://charts.jetstack.io --force-update
helm upgrade --install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.14.2 --set installCRDs=true --set enableCertificateOwnerRef=true
helm repo add fairwinds-stable https://charts.fairwinds.com/stable --force-update
helm upgrade --install polaris fairwinds-stable/polaris --namespace demo --create-namespace --set webhook.enable=false --set dashboard.enable=false
if: steps.list-changed.outputs.changed == 'true'
- name: Use command polatis
- name: Use command polaris
run: polaris version
if: steps.list-changed.outputs.changed == 'true'


- name: Run chart-testing (install)
run: ct install --config ct.yaml --namespace default
if: steps.list-changed.outputs.changed == 'true'
43 changes: 0 additions & 43 deletions .github/workflows/main.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/pipeline.yaml

This file was deleted.

Loading

0 comments on commit 26ebc9b

Please sign in to comment.