Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

[CI] Upload the NAR package when pushing a tag #2035

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,42 +28,3 @@ Master Issue: #<xyz>
### Modifications

*Describe the modifications you've done.*

### Verifying this change

- [ ] Make sure that the change passes the CI checks.

*(Please pick either of the following options)*

This change is a trivial rework / code cleanup without any test coverage.

*(or)*

This change is already covered by existing tests, such as *(please describe tests)*.

*(or)*

This change added tests and can be verified as follows:

*(example:)*
- *Added integration tests for end-to-end deployment with large payloads (10MB)*
- *Extended integration test for recovery after broker failure*

### Documentation

Check the box below.

Need to update docs?

- [ ] `doc-required`

(If you need help on updating docs, create a doc issue)

- [ ] `no-need-doc`

(Please explain why)

- [ ] `doc`

(If this PR contains doc changes)

51 changes: 0 additions & 51 deletions .github/workflows/documentbot.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/release-note.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release
on:
push:
tags:
- '*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release:
name: Release KoP
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Build artifacts
run: mvn clean install -ntp -B -DskipTests
- name: Create package directory
run: |
mkdir packages
cp ./kafka-impl/target/*.nar packages/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: ./packages
Loading