Release v0.9.0

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2021-02-24 16:13:03 +02:00
parent 310c39d668
commit c719f5cd0b
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
4 changed files with 35 additions and 11 deletions

View File

@ -4,6 +4,9 @@ on:
tags:
- 'v*'
env:
CONTROLLER: ${{ github.event.repository.name }}
jobs:
build-push:
runs-on: ubuntu-latest
@ -49,8 +52,8 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
ghcr.io/fluxcd/notification-controller:${{ steps.prep.outputs.VERSION }}
docker.io/fluxcd/notification-controller:${{ steps.prep.outputs.VERSION }}
ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
docker.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
labels: |
org.opencontainers.image.title=${{ github.event.repository.name }}
org.opencontainers.image.description=${{ github.event.repository.description }}
@ -60,15 +63,15 @@ jobs:
org.opencontainers.image.created=${{ steps.prep.outputs.BUILD_DATE }}
- name: Check images
run: |
docker buildx imagetools inspect docker.io/fluxcd/notification-controller:${{ steps.prep.outputs.VERSION }}
docker buildx imagetools inspect ghcr.io/fluxcd/notification-controller:${{ steps.prep.outputs.VERSION }}
docker pull docker.io/fluxcd/notification-controller:${{ steps.prep.outputs.VERSION }}
docker pull ghcr.io/fluxcd/notification-controller:${{ steps.prep.outputs.VERSION }}
docker buildx imagetools inspect docker.io/fluxcd/${CONTROLLER}:${{ steps.prep.outputs.VERSION }}
docker buildx imagetools inspect ghcr.io/fluxcd/${CONTROLLER}:${{ steps.prep.outputs.VERSION }}
docker pull docker.io/fluxcd/${CONTROLLER}:${{ steps.prep.outputs.VERSION }}
docker pull ghcr.io/fluxcd/${CONTROLLER}:${{ steps.prep.outputs.VERSION }}
- name: Generate release manifests
run: |
mkdir -p config/release
kustomize build ./config/crd > ./config/release/notification-controller.crds.yaml
kustomize build ./config/manager > ./config/release/notification-controller.deployment.yaml
kustomize build ./config/crd > ./config/release/${{ env.CONTROLLER }}.crds.yaml
kustomize build ./config/manager > ./config/release/${{ env.CONTROLLER }}.deployment.yaml
- name: Create release
uses: ncipollo/release-action@v1
with:
@ -76,5 +79,5 @@ jobs:
artifacts: "config/release/*.yaml"
artifactContentType: "text/plain"
body: |
[CHANGELOG](https://github.com/fluxcd/notification-controller/blob/main/CHANGELOG.md)
[CHANGELOG](https://github.com/fluxcd/${{ env.CONTROLLER }}/blob/main/CHANGELOG.md)
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -2,6 +2,27 @@
All notable changes to this project are documented in this file.
## 0.9.0
**Release date:** 2021-02-24
This is the ninth MINOR prerelease.
This prerelease comes with a fix to the alerting exclusion list.
The Kubernetes custom resource definitions are packaged as
a multi-doc YAML asset and published on the GitHub release page.
Improvements:
* Refactor release workflow
[#146](https://github.com/fluxcd/notification-controller/pull/146)
* Unit tests for event forwarding
[#145](https://github.com/fluxcd/notification-controller/pull/145)
Fixes:
* Fix alerts regex filtering
[#144](https://github.com/fluxcd/notification-controller/pull/144)
## 0.8.0
**Release date:** 2021-02-12

View File

@ -6,4 +6,4 @@ resources:
images:
- name: fluxcd/notification-controller
newName: fluxcd/notification-controller
newTag: v0.8.0
newTag: v0.9.0

2
go.mod
View File

@ -6,7 +6,7 @@ replace github.com/fluxcd/notification-controller/api => ./api
require (
github.com/fluxcd/image-reflector-controller/api v0.7.0
github.com/fluxcd/notification-controller/api v0.8.0
github.com/fluxcd/notification-controller/api v0.9.0
github.com/fluxcd/pkg/apis/meta v0.8.0
github.com/fluxcd/pkg/recorder v0.0.6
github.com/fluxcd/pkg/runtime v0.8.3