Skip to content

Commit 91c8080

Browse files
feat: IBM Connectivity Pack Kafka Connectors 1.0.0 (#1)
* feat: IBM Connectivity Pack Kafka Connectors 1.0.0 IBM Connectivity Pack Kafka Connectors 1.0.0 Signed-off-by: Roshan Vijayan <Roshan.Vijayan@ibm.com> Co-authored-by: Varada Sunanda <varada.sunanda@ibm.com>
1 parent d5450e1 commit 91c8080

41 files changed

Lines changed: 3065 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: "🐛 Bug Report"
2+
description: File a bug report
3+
title: "🐛 [BUG] - <title>"
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
- type: textarea
11+
id: what-happened
12+
attributes:
13+
label: What happened?
14+
description: Also tell us, what did you expect to happen?
15+
placeholder: Tell us what you see!
16+
value: "A bug happened!"
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: Steps To Reproduce
22+
description: Steps to reproduce the behavior.
23+
placeholder: |
24+
1. In this environment...
25+
2. With this config...
26+
3. Run '...'
27+
4. See error...
28+
validations:
29+
required: false
30+
- type: textarea
31+
attributes:
32+
label: Environment
33+
description: |
34+
examples:
35+
- **OS**: Ubuntu 20.04
36+
- **Openshift**: 4.8.2
37+
- **Kubernetes**: v1.23.12+8a6bfe4
38+
value: |
39+
- OS:
40+
- Openshift:
41+
- Kubernetes:
42+
render: markdown
43+
validations:
44+
required: false
45+
- type: textarea
46+
attributes:
47+
label: Anything else?
48+
description: |
49+
Links? References? Anything that will give us more context about the issue you are encountering!
50+
51+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
52+
validations:
53+
required: false
54+
- type: dropdown
55+
id: version
56+
attributes:
57+
label: Version
58+
description: What version of our software are you running?
59+
options:
60+
- 1.0.0 (Default)
61+
validations:
62+
required: true
63+
- type: textarea
64+
id: logs
65+
attributes:
66+
label: Relevant log output
67+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
68+
render: shell
69+
- type: checkboxes
70+
id: terms
71+
attributes:
72+
label: Code of Conduct
73+
description: By submitting this issue, you agree to follow our [Code of Conduct](../CODE_OF_CONDUCT.md)
74+
options:
75+
- label: I agree to follow this project's Code of Conduct
76+
required: true
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "💡 Feature Request"
2+
description: Create a new ticket for a new feature request
3+
title: "💡 [Feature] - <title>"
4+
labels:
5+
- "feature_request"
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
**Thanks :heart: for taking the time to fill out this feature request report!**
11+
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.
12+
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).
13+
- type: textarea
14+
attributes:
15+
label: Description
16+
description: |
17+
A clear and concise description of the feature you're interested in.
18+
validations:
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: Suggested Solution
23+
description: |
24+
Describe the solution you'd like. A clear and concise description of what you want to happen.
25+
validations:
26+
required: true
27+
- type: textarea
28+
attributes:
29+
label: Alternatives
30+
description: |
31+
Describe alternatives you've considered.
32+
A clear and concise description of any alternative solutions or features you've considered.
33+
validations:
34+
required: false
35+
- type: textarea
36+
attributes:
37+
label: Additional Context
38+
description: |
39+
Add any other context about the problem here.
40+
validations:
41+
required: false

.github/PULL_REQUEST_TEMPLATE

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Description
2+
3+
<!-- 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. -->
4+
5+
Fixes # (issue)
6+
7+
## Type of change
8+
9+
Please delete options that are not relevant.
10+
11+
- [ ] Bug fix (non-breaking change which fixes an issue)
12+
- [ ] New feature (non-breaking change which adds functionality)
13+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+
- [ ] This change requires a documentation update
15+
16+
## How Has This Been Tested?
17+
18+
<!-- 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
19+
20+
- [ ] Test A
21+
- [ ] Test B -->
22+
23+
## Checklist
24+
25+
- [ ] My code follows the style guidelines of this project
26+
- [ ] I have performed a self-review of my code
27+
- [ ] I have commented my code, particularly in hard-to-understand areas
28+
- [ ] I have made corresponding changes to the documentation
29+
- [ ] My changes generate no new warnings
30+
- [ ] I have added tests that prove my fix is effective or that my feature works
31+
- [ ] New and existing unit tests pass locally with my changes
32+
- [ ] Any dependent changes have been merged and published in downstream modules
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Upload HelmChart To Release
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
name: Build and Upload helm Chart
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
- name: Read Helm Chart
13+
id: chart
14+
uses: jacobtomlinson/gha-read-helm-chart@master
15+
with:
16+
path: ibm-connectivity-pack
17+
- name: Print Chart Details and set Chart Version
18+
run: |
19+
echo "Name - ${{ steps.chart.outputs.name }}"
20+
echo "Version - ${{ steps.chart.outputs.version }}"
21+
echo "App Version - ${{ steps.chart.outputs.appVersion }}"
22+
echo "CHART_VERSION=${{ steps.chart.outputs.version }}" >> $GITHUB_ENV
23+
GIT_REF_TAG=${{ github.ref }}
24+
echo "SOURCE_TAG=${GIT_REF_TAG#refs/tags/}" >> $GITHUB_ENV
25+
- name: Package Helm Chart
26+
run: tar -czvf ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz -C ibm-connectivity-pack .
27+
- name: Get Release by Tag Name
28+
id: get_release
29+
uses: joutvhu/get-release@v1
30+
with:
31+
tag_name: ${{env.SOURCE_TAG}}
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
- name: Upload Release Asset Helm Chart
35+
id: upload-release-asset-helm-chart
36+
uses: actions/upload-release-asset@v1
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
upload_url: ${{ steps.get_release.outputs.upload_url }}
41+
asset_path: ./ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz
42+
asset_name: ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz
43+
asset_content_type: application/tgz
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Checkstyle and Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'main'
7+
types: [opened, synchronize, reopened]
8+
9+
jobs:
10+
verify-commits:
11+
name: Verify Commits
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
with:
17+
ref: ${{ github.event.pull_request.head.sha }}
18+
fetch-depth: 0
19+
20+
- name: Verify Signed-off-by
21+
run: |
22+
for commit in $(git rev-list --no-merges HEAD^..HEAD); do
23+
if ! git log -1 --format=%B "$commit" | grep -q "^Signed-off-by: "; then
24+
echo "Commit $commit is missing Signed-off-by line."
25+
exit 1
26+
fi
27+
done

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.idea
2+
.DS_Store
3+
.git_askpass
4+
build
5+
published_images.txt
6+
pr_link.txt
7+
EA_README.md
8+
ibm-connectivity-pack/.helmignore

0 commit comments

Comments
 (0)