diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1db533..8c71a96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,9 +37,7 @@ jobs: run: | npm install -g @semantic-release/commit-analyzer@12.0.0 \ @semantic-release/release-notes-generator@13.0.0 \ - @semantic-release/changelog@6.0.3 \ @semantic-release/exec@6.0.3 \ - @semantic-release/git@10.0.1 \ @semantic-release/github@11.0.0 \ semantic-release@23.1.1 \ conventional-changelog-conventionalcommits@7.0.2 diff --git a/.releaserc b/.releaserc index 4e854cf..bce9dc2 100644 --- a/.releaserc +++ b/.releaserc @@ -77,32 +77,27 @@ } } ], - [ - "@semantic-release/changelog", - { - "changelogFile": "CHANGELOG.md" - } - ], [ "@semantic-release/exec", { - "prepareCmd": "./gradlew release -Pversion=${nextRelease.version}", + "prepareCmd": "./gradlew clean release -Pversion=${nextRelease.version}", "successCmd": "echo ${nextRelease.version} > VERSION" } ], - [ - "@semantic-release/git", - { - "assets": ["build.gradle.kts", "gradle.properties", "CHANGELOG.md"], - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" - } - ], [ "@semantic-release/github", { "assets": [ { "path": "build/libs/pillarbox-monitoring-transfer.jar" + }, + { + "path": "LICENSE", + "label": "License" + }, + { + "path": "README.md", + "label": "Readme" } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index e7533f8..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,32 +0,0 @@ -## [2.0.1](https://github.com/SRGSSR/pillarbox-monitoring-transfer/compare/v2.0.0...v2.0.1) (2024-10-10) - - -### Enhancements and Bug Fixes ๐Ÿ› - -* disable ktlint for the docker build step ([6d1a467](https://github.com/SRGSSR/pillarbox-monitoring-transfer/commit/6d1a467c5a62f924ae5dfef7c2a117adfca21b37)) - -## [2.0.0](https://github.com/SRGSSR/pillarbox-monitoring-transfer/compare/v1.0.0...v2.0.0) (2024-10-10) - - -### โš  BREAKING CHANGES - -* Updated all package names and configuration from `pillarbox.qos` to -`pillarbox.monitoring`. This includes changes to environment variables, which now use the -prefix `PILLARBOX_MONITORING_*` instead of `PILLARBOX_QOS_*`. Ensure that all relevant -configurations are updated to reflect this change when deploying or running the service. - -### Refactor ๐Ÿ”ฉ - -* change qos naming to monitoring ([f50a26c](https://github.com/SRGSSR/pillarbox-monitoring-transfer/commit/f50a26cb9c97179553956e362cdafdf2a6aeacc8)) - -## 1.0.0 (2024-10-09) - - -### New Features ๐Ÿš€ - -* initial setup for pillarbox-monitoring data transfer service ([62da9ba](https://github.com/SRGSSR/pillarbox-monitoring-transfer/commit/62da9ba7821e8f5a0e3a28e102f304e16fcfeb98)) - - -### Chore ๐Ÿงน - -* setup project ([6a3e556](https://github.com/SRGSSR/pillarbox-monitoring-transfer/commit/6a3e556f9f262e519492c48daffce8d0d9a02aaf)) diff --git a/README.md b/README.md index c1200e7..914a565 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,8 @@ Hereโ€™s a more concise description of the GitHub Actions setup without listing ### Continuous Integration -This project automates its development workflow using GitHub Actions across three main workflows: -quality checks, releases, and deployments. +This project automates its development workflow using GitHub Actions across two main workflows: +quality checks and releases. 1. **Quality Check for Pull Requests** Triggered on every pull request to the `main` branch, this workflow ensures the code passes @@ -114,12 +114,8 @@ quality checks, releases, and deployments. 2. **Release Workflow** When changes are pushed to the `main` branch, this workflow handles versioning and releases using - `semantic-release`. It automatically bumps the version, generates release notes, and pushes - updates to the repository. - -3. **Deployment Workflow** - This workflow is triggered whenever a tag is created. It builds the Docker image for the service - and pushes the image to an Amazon ECR repository. + `semantic-release`. It automatically bumps the version, generates release notes, creates a tag, + and publishes a Docker image to an Amazon ECR repository. ## Contributing @@ -162,7 +158,11 @@ Refer to our [Contribution Guide](docs/CONTRIBUTING.md) for more detailed inform This project is licensed under the [MIT License](LICENSE). [main-entry-point]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/PillarboxDataTransferApplication.kt + [health-indicator]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/health/BenchmarkHealthIndicator.kt + [lock-manager]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/concurrent/LockManager.kt + [setup-service]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/event/SetupService.kt + [sse-client]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/event/SseClient.kt diff --git a/gradle.properties b/gradle.properties index dbb9990..51a9136 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ #Thu Oct 10 12:15:07 UTC 2024 group=ch.srgssr.pillarbox -version=2.0.1 +version=dev