From ad7dc40543a7988a1f9631068ede1fb575f92225 Mon Sep 17 00:00:00 2001 From: Noah Oblath Date: Mon, 8 Sep 2025 14:08:28 -0700 Subject: [PATCH 1/3] Update version of dl-py used to v5.1.0 --- .github/workflows/build.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1e7c882..2f85f2b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,7 +10,7 @@ on: env: BASE_IMAGE_USER: driplineorg BASE_IMAGE_REPO: dripline-python - BASE_IMAGE_VER: 'develop' + BASE_IMAGE_VER: 'v5.1.0' REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} diff --git a/Dockerfile b/Dockerfile index 27455bb..255ba4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG img_user=ghcr.io/driplineorg ARG img_repo=dripline-python #ARG img_tag=develop-dev -ARG img_tag=receiver-test +ARG img_tag=v5.1.0 FROM ${img_user}/${img_repo}:${img_tag} From e31ca6b9cf842fc843f05e8f431115634299bbdf Mon Sep 17 00:00:00 2001 From: Noah Oblath Date: Mon, 8 Sep 2025 14:08:47 -0700 Subject: [PATCH 2/3] Add changelog.md and use in making GH releases --- .github/workflows/build.yaml | 10 +++++++--- changelog.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 changelog.md diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2f85f2b..5d024f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -129,6 +129,10 @@ jobs: tags: ${{ steps.docker_meta.outputs.tags }} platforms: linux/amd64,linux/arm64,linux/arm/v7 - - name: Release - uses: softprops/action-gh-release@v2 - if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }} + - name: Release with a changelog + uses: rasmus-saks/release-a-changelog-action@v1.2.0 + with: + github-token: '${{ secrets.GITHUB_TOKEN }}' + path: 'changelog.md' + title-template: 'Dragonfly v{version} -- Release Notes' + tag-template: 'v{version}' diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..c291376 --- /dev/null +++ b/changelog.md @@ -0,0 +1,34 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +Types of changes: Added, Changed, Deprecated, Removed, Fixed, Security + +## [Unreleased] + +### Added + +- Thermo Fisher Chiller service and endpoint added +- Added prototypical Docker Compose file +- Added this changelog and GHA step to use it in making releases + +### Changed + +- Updated GHA workflow and Python package build +- Switch GHA Linux runners to Ubuntu 22.04 +- dl-py base version updated to v5.1.0 + +## [2.0.1] - 2024-04-25 + +### Changed + +- dl-py version updated to v4.7.1 + +## [2.0.0] -- 2022-05-26 + +### Changed + +- First dl3 implementation From c7711e77e4683e2b6f316181ebd8b4793258fa53 Mon Sep 17 00:00:00 2001 From: Noah Oblath Date: Mon, 8 Sep 2025 14:15:42 -0700 Subject: [PATCH 3/3] Properly limit the use of the release step --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d024f2..0b3dcbd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -131,6 +131,7 @@ jobs: - name: Release with a changelog uses: rasmus-saks/release-a-changelog-action@v1.2.0 + if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }} with: github-token: '${{ secrets.GITHUB_TOKEN }}' path: 'changelog.md'