Skip to content

Commit

Permalink
Prepare release 1.17.0 (#464)
Browse files Browse the repository at this point in the history
- Generate changelog
- Switch to Github app token.
  - The original GH_TOKEN doesn't exist anymore, but github automatically provisions a GITHUB_TOKEN
  - The `permissions` entry defines that this token is allowed to write (and therefore create releases)
- Removes the apivalidation workflow: This action has been failing constantly and hasn't been maintained in years.
  • Loading branch information
gigerdo committed Apr 10, 2024
1 parent 28f79d1 commit 8c5fbdb
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .changelog/1.17.0/461.yml
@@ -1,8 +1,8 @@
category: enchancement
category: enhancement
title: Update to latest ECE 3.7.0 api
description: |
Breaking:
- The notes api is no more. Use the deployment comment api in stead.
- The notes api is no more. Use the deployment comment api instead.
Other:
- The instance configurations can now specify allowed zones.
- The deployment update api can use the ValidateOnly flag
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/apivalidation.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

# Create actual release

Expand All @@ -36,7 +36,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
bodyFile: notes/${{ steps.get_branch.outputs.TAGNAME }}.md
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.get_branch.outputs.TAGNAME }}

- name: Set up Go
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
with:
ref: master
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Go
uses: actions/setup-go@v4
Expand Down
18 changes: 18 additions & 0 deletions notes/v1.17.0.md
@@ -0,0 +1,18 @@
# Changelog

This release of the Elastic Cloud SDK Go should be used for ECE Version `3.7.0`.

## Enhancements

### Update to latest ECE 3.7.0 api ([#461](https://github.com/elastic/cloud-sdk-go/issues/461))

Breaking:
- The notes api is no more. Use the deployment comment api instead.
Other:
- The instance configurations can now specify allowed zones.
- The deployment update api can use the ValidateOnly flag

### Add `show_max_zones` parameter for deployment-templates API. ([#462](https://github.com/elastic/cloud-sdk-go/issues/462))

This parameter adds the `max_zones` field to each instance-configuration. (Left empty by default).

0 comments on commit 8c5fbdb

Please sign in to comment.