Skip to content

Commit

Permalink
Add basic Makefile actions and base changes for chloggen support
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoravong committed Sep 18, 2023
1 parent acc6eb4 commit 4fc13c8
Show file tree
Hide file tree
Showing 12 changed files with 767 additions and 350 deletions.
12 changes: 12 additions & 0 deletions .chloggen/TEMPLATE.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type:
# The name of the component, or a single word describing the area of concern, (e.g. agent, cluster reciever, gateway, network explorer, operator, chart, other)
component:
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note:
# One or more tracking issues related to the change
issues: []
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
12 changes: 12 additions & 0 deletions .chloggen/otl-add-chloggen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement
# The name of the component, or a single word describing the area of concern, (e.g. agent, cluster reciever, gateway, network explorer, operator, chart, other)
component: chart
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Add support for OpenTelemetry CHANGELOG.md generator tool, see [chloggen](https://github.com/open-telemetry/opentelemetry-operator/tree/main/.chloggen)
# One or more tracking issues related to the change
issues: [923]
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
12 changes: 12 additions & 0 deletions .chloggen/otl-update-fluentd-dependency.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement
# The name of the component, or a single word describing the area of concern, (e.g. agent, cluster reciever, gateway, network explorer, operator, chart, other)
component: agent
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Update Splunk Fluentd HEC docker image to v1.3.3
# One or more tracking issues related to the change
issues: [924]
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
6 changes: 3 additions & 3 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --config=ct.yaml
run: make lint

- name: Create kind cluster
uses: helm/kind-action@v1.8.0
# Only build a kind cluster if there are chart changes to test.
if: steps.list-changed.outputs.changed == 'true'

if: steps.list-chaznged.outputs.changed == 'true'
# TODO: make this test runnable from a makefile command
- name: Run chart-testing (install)
run: ct install --config=ct.yaml
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ repos:
hooks:
- id: render
name: Create the rendered Kubernetes manifest resources for the project examples
entry: make repo-update dep-build render
entry: make render
language: system
pass_filenames: false
- id: changelog-ci-validate
name: Check for Changelog Entry if changes updated templates
entry: ./ci_scripts/chloggen-pr-validate.sh
language: script
pass_filenames: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
Expand Down
Loading

0 comments on commit 4fc13c8

Please sign in to comment.