Skip to content

Commit 0669437

Browse files
Merge pull request #12 from dataiku/task/release114
Bump to 1.1.4, add changelog, update Makefile
2 parents d3bd8da + cacf344 commit 0669437

File tree

5 files changed

+44
-27
lines changed

5 files changed

+44
-27
lines changed

.wlock

Whitespace-only changes.

Changelog.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Changelog
2+
3+
## Version 1.1.4 - Feature release
4+
- Add ability to use named secondary ranges
5+
- Add network tags on cluster nodes
6+
7+
## Version 1.1.3 - Internal release
8+
- Fix unicode remnants in `Test network connectivity` macro
9+
- Fix subprocess incompatibilities with Python 3
10+
11+
## Version 1.1.2
12+
- Fix string encoding issues in `Test network connectivity` macro
13+
14+
## Version 1.1.1
15+
- Fix `Test network connectivity` macro when the hostname is already an IP.
16+
17+
## Version 1.1.0
18+
19+
- Clusters are now reusing the DSS host's VPC and subnetwork by default (can be changed by unticking the related parameter). Requires the `compute.zones.list` IAM permission.
20+
- Kubernetes labels can be defined for each node pool
21+
- Default service account running on nodes can be changed to a custom value or be inherited from the DSS host. Requires the `iam.serviceAccountUser` IAM permission
22+
23+
## Version 1.0.1
24+
25+
- Clusters created from the plugin are now VPC-native by default.

Makefile

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1-
PLUGIN_VERSION=1.1.3
2-
PLUGIN_ID=gke-clusters
1+
plugin_id=`cat plugin.json | python -c "import sys, json; print(str(json.load(sys.stdin)['id']).replace('/',''))"`
2+
plugin_version=`cat plugin.json | python -c "import sys, json; print(str(json.load(sys.stdin)['version']).replace('/',''))"`
3+
archive_file_name="dss-plugin-${plugin_id}-${plugin_version}.zip"
4+
remote_url=`git config --get remote.origin.url`
5+
last_commit_id=`git rev-parse HEAD`
36

47
plugin:
5-
cat plugin.json|json_pp > /dev/null
6-
rm -rf dist
7-
mkdir dist
8-
zip --exclude "*.pyc" -r dist/dss-plugin-${PLUGIN_ID}-${PLUGIN_VERSION}.zip plugin.json code-env parameter-sets python-clusters python-lib python-runnables
8+
@echo "[START] Archiving plugin to dist/ folder..."
9+
@cat plugin.json | json_pp > /dev/null
10+
@rm -rf dist
11+
@mkdir dist
12+
@echo "{\"remote_url\":\"${remote_url}\",\"last_commit_id\":\"${last_commit_id}\"}" > release_info.json
13+
@git archive -v -9 --format zip -o dist/${archive_file_name} HEAD
14+
@zip -u dist/${archive_file_name} release_info.json
15+
@rm release_info.json
16+
@echo "[SUCCESS] Archiving plugin to dist/ folder: Done!"
17+
18+
dist-clean:
19+
rm -rf dist

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,7 @@ Requires DSS 6.0 or above.
66

77
For more details, please see [the DSS reference documentation](https://doc.dataiku.com/dss/latest/containers/gke/index.html).
88

9-
## Release notes
10-
11-
### v1.1.2
12-
- Fix string encoding issues in test network connectivity macro
13-
14-
### v1.1.1
15-
- Fix `Test network connectivity` macro when the hostname is already an IP.
16-
17-
### v1.1.0
18-
19-
- Clusters are now reusing the DSS host's VPC and subnetwork by default (can be changed by unticking the related parameter). Requires the `compute.zones.list` IAM permission.
20-
- Kubernetes labels can be defined for each node pool
21-
- Default service account running on nodes can be changed to a custom value or be inherited from the DSS host. Requires the `iam.serviceAccountUser` IAM permission
22-
23-
### v1.0.1
24-
25-
- Clusters created from the plugin are now VPC-native by default.
26-
27-
289
## License
29-
Copyright (C) 2019-2021 Dataiku
10+
Copyright (C) 2019-2022 Dataiku
3011

3112
Licensed under the Apache License, version 2.0

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "gke-clusters",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"meta": {
55
"label": "GKE clusters",
66
"description": "Interact with Google Kubernetes Engine clusters",

0 commit comments

Comments
 (0)