From 96f30cca9ebfdc824482ea8257b7cfb40f8c9534 Mon Sep 17 00:00:00 2001 From: phillc <15082+phillc@users.noreply.github.com> Date: Fri, 27 Mar 2020 15:56:49 -0400 Subject: [PATCH] Move release notes to github releases --- .github/ISSUE_TEMPLATE.md | 4 +++- .github/labels.yml | 24 +++++++++++++++++++++ .github/release-drafter.yml | 21 +++++++++++++++++++ .github/workflows/docker-hub.yml | 18 ++++++++++++++++ .github/workflows/label-sync.yml | 17 +++++++++++++++ .github/workflows/release-drafter.yml | 17 +++++++++++++++ CHANGELOG.md | 30 +-------------------------- 7 files changed, 101 insertions(+), 30 deletions(-) create mode 100644 .github/labels.yml create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/docker-hub.yml create mode 100644 .github/workflows/label-sync.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index eb31790f..fa7f1ab7 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,7 +1,7 @@ ## General: * [ ] Have you removed all sensitive information, including but not limited to access keys and passwords? -* [ ] Have you checked to ensure there aren't other open or closed pull requests for the same bug/feature/question? +* [ ] Have you checked to ensure there aren't other open or closed [Pull Requests](../../pulls) for the same bug/feature/question? ---- @@ -31,4 +31,6 @@ ---- +For general help or discussion, join the [Kubernetes Slack team](https://kubernetes.slack.com/messages/CD4B15LUR/details/) channel `#linode`. To sign up, use the [Kubernetes Slack inviter](http://slack.kubernetes.io/). + The [Linode Community](https://www.linode.com/community/questions/) is a great place to get additional support. diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000..f9b89f11 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,24 @@ +- name: added-feature + description: for new features in the changelog. + color: a2eeef +- name: changed + description: for changes in existing functionality in the changelog. + color: a2eeef +- name: deprecated + description: for soon-to-be removed features in the changelog. + color: e4e669 +- name: removed + description: for now removed features in the changelog. + color: e4e669 +- name: bugfix + description: for any bug fixes in the changelog. + color: d73a4a +- name: security + description: for vulnerabilities in the changelog. + color: dd4739 +- name: bug + description: Something isn't working in this issue. + color: d73a4a +- name: enhancement + description: New feature request in this issue. + color: a2eeef diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..f29c6d17 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,21 @@ +name-template: 'v$NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: '🚀 Added' + label: 'added-feature' + - title: '🧰 Changed' + label: 'changed' + - title: "⚠️ Deprecated" + label: "deprecated" + - title: "⚠️ Removed" + label: "removed" + - title: '🐛 Bug Fixes' + label: 'bugfix' + - title: "⚠️ Security" + label: "security" +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +no-changes-template: "- No changes" +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml new file mode 100644 index 00000000..6d4386ce --- /dev/null +++ b/.github/workflows/docker-hub.yml @@ -0,0 +1,18 @@ +name: Publish Docker Release +on: + release: + types: [published] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Build + run: make build-linux + - name: Publish latest to Registry + uses: elgohr/Publish-Docker-Github-Action@master + with: + name: linode/linode-blockstorage-csi-driver + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + tags: "latest,${{ github.event.release.tag_name }}" diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml new file mode 100644 index 00000000..975bdb88 --- /dev/null +++ b/.github/workflows/label-sync.yml @@ -0,0 +1,17 @@ +name: Sync labels +on: + push: + branches: + - master + paths: + - .github/labels.yml +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: micnncim/action-label-syncer@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + manifest: .github/labels.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..70bed020 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,17 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/CHANGELOG.md b/CHANGELOG.md index ad43b1b9..48deb148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,29 +1 @@ -# Release History - -## [v0.1.3](https://github.com/linode/linode-blockstorage-csi-driver/compare/v0.1.0..v0.1.3) - -### Features - -* Support arbitrary root CAs - -## Enhancements - -* Update linodego to 0.10.0 (prepare to support 8+ volumes per VM) - -## v0.1.0 - March 2nd 2019 - -* per the CSI spec, fulfill volume requests with required\_size under 10GB by extending them to 10GB (the Linode minimum), unless that is over the limit size -* added a storage class of `linode-block-storage-retain`, with a default reclaim policy of `Retain` (to avoid deletion of the Block Storage Volume data) - -## v0.0.3 - Dec 5th 2018 - -* Fixed mangling of hyphens in k8s stored volume keys (from prefixes, which affected mount) - -## v0.0.2 - Dec 4th 2018 - -* CSI 1.0.0 Rewrite, now requiring Kubernetes 1.13+ -* Added `--bs-prefix` driver argument for prefixing created volume labels - -## v0.0.1 - Aug 14th 2018 - -* Work-In-Progress +Release notes for this project are kept here: https://github.com/linode/linode-blockstorage-csi-driver/releases