Skip to content

Commit

Permalink
feat: IBM Connectivity Pack Kafka Connectors 1.0.0 (#1)
Browse files Browse the repository at this point in the history
* feat: IBM Connectivity Pack Kafka Connectors 1.0.0

IBM Connectivity Pack Kafka Connectors 1.0.0

Signed-off-by: Roshan Vijayan <[email protected]>
Co-authored-by: Varada Sunanda <[email protected]>
  • Loading branch information
roshan-vijayan-ibm and varada-sunanda-ibm committed Jan 10, 2025
1 parent d5450e1 commit 91c8080
Show file tree
Hide file tree
Showing 41 changed files with 3,065 additions and 1 deletion.
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: "🐛 Bug Report"
description: File a bug report
title: "🐛 [BUG] - <title>"
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **Openshift**: 4.8.2
- **Kubernetes**: v1.23.12+8a6bfe4
value: |
- OS:
- Openshift:
- Kubernetes:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
- type: dropdown
id: version
attributes:
label: Version
description: What version of our software are you running?
options:
- 1.0.0 (Default)
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](../CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "💡 Feature Request"
description: Create a new ticket for a new feature request
title: "💡 [Feature] - <title>"
labels:
- "feature_request"
body:
- type: markdown
attributes:
value: |
**Thanks :heart: for taking the time to fill out this feature request report!**
We kindly ask that you search to see if an issue [already exists](https://github.com/ibm-messaging/connectivity-pack-kafka-connectors/issues?q=is%3Aissue+sort%3Acreated-desc+) for your feature.
We are also happy to accept contributions from our users. For more details see [here](https://github.com/ibm-messaging/connectivity-pack-kafka-connectors/blob/main/CONTRIBUTING.md).
- type: textarea
attributes:
label: Description
description: |
A clear and concise description of the feature you're interested in.
validations:
required: true
- type: textarea
attributes:
label: Suggested Solution
description: |
Describe the solution you'd like. A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: |
Describe alternatives you've considered.
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional Context
description: |
Add any other context about the problem here.
validations:
required: false
32 changes: 32 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Description

<!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] 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 not work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B -->

## Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
43 changes: 43 additions & 0 deletions .github/workflows/github-build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Upload HelmChart To Release
on:
release:
types: [created]
jobs:
build:
name: Build and Upload helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Read Helm Chart
id: chart
uses: jacobtomlinson/gha-read-helm-chart@master
with:
path: ibm-connectivity-pack
- name: Print Chart Details and set Chart Version
run: |
echo "Name - ${{ steps.chart.outputs.name }}"
echo "Version - ${{ steps.chart.outputs.version }}"
echo "App Version - ${{ steps.chart.outputs.appVersion }}"
echo "CHART_VERSION=${{ steps.chart.outputs.version }}" >> $GITHUB_ENV
GIT_REF_TAG=${{ github.ref }}
echo "SOURCE_TAG=${GIT_REF_TAG#refs/tags/}" >> $GITHUB_ENV
- name: Package Helm Chart
run: tar -czvf ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz -C ibm-connectivity-pack .
- name: Get Release by Tag Name
id: get_release
uses: joutvhu/get-release@v1
with:
tag_name: ${{env.SOURCE_TAG}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset Helm Chart
id: upload-release-asset-helm-chart
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz
asset_name: ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz
asset_content_type: application/tgz
27 changes: 27 additions & 0 deletions .github/workflows/verify-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Checkstyle and Tests

on:
pull_request:
branches:
- 'main'
types: [opened, synchronize, reopened]

jobs:
verify-commits:
name: Verify Commits
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Verify Signed-off-by
run: |
for commit in $(git rev-list --no-merges HEAD^..HEAD); do
if ! git log -1 --format=%B "$commit" | grep -q "^Signed-off-by: "; then
echo "Commit $commit is missing Signed-off-by line."
exit 1
fi
done
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea
.DS_Store
.git_askpass
build
published_images.txt
pr_link.txt
EA_README.md
ibm-connectivity-pack/.helmignore
Loading

0 comments on commit 91c8080

Please sign in to comment.