Skip to content

Commit

Permalink
Merge pull request #12 from dataiku/task/release114
Browse files Browse the repository at this point in the history
Bump to 1.1.4, add changelog, update Makefile
  • Loading branch information
marchelleboid authored Mar 2, 2022
2 parents d3bd8da + cacf344 commit 0669437
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 27 deletions.
Empty file removed .wlock
Empty file.
25 changes: 25 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Changelog

## Version 1.1.4 - Feature release
- Add ability to use named secondary ranges
- Add network tags on cluster nodes

## Version 1.1.3 - Internal release
- Fix unicode remnants in `Test network connectivity` macro
- Fix subprocess incompatibilities with Python 3

## Version 1.1.2
- Fix string encoding issues in `Test network connectivity` macro

## Version 1.1.1
- Fix `Test network connectivity` macro when the hostname is already an IP.

## Version 1.1.0

- 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.
- Kubernetes labels can be defined for each node pool
- 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

## Version 1.0.1

- Clusters created from the plugin are now VPC-native by default.
23 changes: 17 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
PLUGIN_VERSION=1.1.3
PLUGIN_ID=gke-clusters
plugin_id=`cat plugin.json | python -c "import sys, json; print(str(json.load(sys.stdin)['id']).replace('/',''))"`
plugin_version=`cat plugin.json | python -c "import sys, json; print(str(json.load(sys.stdin)['version']).replace('/',''))"`
archive_file_name="dss-plugin-${plugin_id}-${plugin_version}.zip"
remote_url=`git config --get remote.origin.url`
last_commit_id=`git rev-parse HEAD`

plugin:
cat plugin.json|json_pp > /dev/null
rm -rf dist
mkdir dist
zip --exclude "*.pyc" -r dist/dss-plugin-${PLUGIN_ID}-${PLUGIN_VERSION}.zip plugin.json code-env parameter-sets python-clusters python-lib python-runnables
@echo "[START] Archiving plugin to dist/ folder..."
@cat plugin.json | json_pp > /dev/null
@rm -rf dist
@mkdir dist
@echo "{\"remote_url\":\"${remote_url}\",\"last_commit_id\":\"${last_commit_id}\"}" > release_info.json
@git archive -v -9 --format zip -o dist/${archive_file_name} HEAD
@zip -u dist/${archive_file_name} release_info.json
@rm release_info.json
@echo "[SUCCESS] Archiving plugin to dist/ folder: Done!"

dist-clean:
rm -rf dist
21 changes: 1 addition & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,7 @@ Requires DSS 6.0 or above.

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

## Release notes

### v1.1.2
- Fix string encoding issues in test network connectivity macro

### v1.1.1
- Fix `Test network connectivity` macro when the hostname is already an IP.

### v1.1.0

- 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.
- Kubernetes labels can be defined for each node pool
- 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

### v1.0.1

- Clusters created from the plugin are now VPC-native by default.


## License
Copyright (C) 2019-2021 Dataiku
Copyright (C) 2019-2022 Dataiku

Licensed under the Apache License, version 2.0
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "gke-clusters",
"version": "1.1.3",
"version": "1.1.4",
"meta": {
"label": "GKE clusters",
"description": "Interact with Google Kubernetes Engine clusters",
Expand Down

0 comments on commit 0669437

Please sign in to comment.