Skip to content

Commit

Permalink
Update version to 0.12.0, clean up unused build pipelines. (#850)
Browse files Browse the repository at this point in the history
Some post-release updates and cleanup of unused files

- update version to 0.12.0 in makefile, examples etc.
- Also removes outdated CI jobs (Jenkins jobs and broken Github action)
  • Loading branch information
gigerdo authored Sep 2, 2024
1 parent 4b2e295 commit 75bf65d
Show file tree
Hide file tree
Showing 19 changed files with 12 additions and 317 deletions.
39 changes: 0 additions & 39 deletions .ci/Makefile

This file was deleted.

40 changes: 0 additions & 40 deletions .ci/jobs/defaults.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/jobs/elastic+terraform-provider-ec+master.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .ci/jobs/elastic+terraform-provider-ec+pull-request.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .ci/jobs/elastic+terraform-provider-ec+tag.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .ci/pipelines/acceptance.Jenkinsfile

This file was deleted.

45 changes: 0 additions & 45 deletions .ci/pipelines/release.Jenkinsfile

This file was deleted.

5 changes: 0 additions & 5 deletions .ci/views/view.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/branch.yml

This file was deleted.

4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 0.11.0 (Unreleased)
# 0.12.0 (Unreleased)

# 0.11.0 (August 29, 2024)

FEATURES:

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL := /bin/bash
export GO111MODULE ?= on
export VERSION := 0.11.0-dev
export VERSION := 0.12.0-dev
export BINARY := terraform-provider-ec
export GOBIN = $(shell pwd)/bin

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ terraform {
required_providers {
ec = {
source = "elastic/ec"
version = "0.11.0"
version = "0.12.0"
}
}
}
Expand Down
8 changes: 0 additions & 8 deletions build/Makefile.test
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,3 @@ ifndef BUILD_ID
@ read -r -p "do you wish to continue? [y/N]: " res && if [[ "$${res:0:1}" =~ ^([yY]) ]]; then echo "-> Continuing..."; else exit 1; fi
endif
@ go test $(SWEEP_DIR) -v -sweep=$(SWEEP) $(SWEEPARGS) -timeout 60m

.PHONY: testacc-ci
testacc-ci:
@ EC_API_KEY=$(shell cat .ci/.apikey) $(MAKE) testacc

.PHONY: sweep-ci
sweep-ci:
@ EC_API_KEY=$(shell cat .ci/.apikey) SWEEPARGS=-sweep-run=$(SWEEP_CI_RUN_FILTER) $(MAKE) sweep
5 changes: 2 additions & 3 deletions developer_docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Releasing a new version implies that there have been changes in the source code

### Make sure `VERSION` is up to date

**Since the `VERSION` is now updated via github actions, just double check that it is updated, and if not, manually do so**.

Since the source has changed, we need to update the current committed version to a higher version so that the release is published.

The version is currently defined in the [Makefile](./Makefile) as an exported environment variable called `VERSION` in the [SEMVER](https://semver.org) format: `MAJOR.MINOR.PATCH`
Expand Down Expand Up @@ -54,7 +52,7 @@ When releasing patch versions, the changelog will be branched out in the minor b

### Ensure the NOTICE file is up-to-date

Run `make notice` to update the `NOTICE`.
Run `make vendor` to update the `NOTICE`.

## Executing the release

Expand All @@ -63,4 +61,5 @@ After all the prerequisites have been ticked off, the only thing remaining is to
## Post release tasks

- After the release has been completed, the next version header should be added in the changelog as `# <VERSION> (Unreleased)` at the top of the `CHANGELOG.md` file.
- The VERSION in the [Makefile](../Makefile) should be updated
- The version in all examples should be updated to the next version to be released.
2 changes: 1 addition & 1 deletion ec/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
package ec

// Version contains the current terraform provider version.
const Version = "0.11.0-dev"
const Version = "0.12.0-dev"
2 changes: 1 addition & 1 deletion examples/deployment_ccs/deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
ec = {
source = "elastic/ec"
version = "0.11.0"
version = "0.12.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/deployment_ec2_instance/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
ec = {
source = "elastic/ec"
version = "0.11.0"
version = "0.12.0"
}

aws = {
Expand Down
Loading

0 comments on commit 75bf65d

Please sign in to comment.