Skip to content

Commit

Permalink
Updated CHANGELOG.
Browse files Browse the repository at this point in the history
Change-Id: Ie3457f9c5cf220fd74078883b2498f4e7be4724b
  • Loading branch information
qiwzhang committed Nov 14, 2016
1 parent 5bc867b commit 296015b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Release 1.0.0 11-11-2016

- Fix for rename version => config_id
- Usability improvements to the fetching script
- Add support for HTTPS upstream to the start script
- Adds support for binding request fields using query parameters.
- Add health endpoint to application port
- Change the prefix for /credential_id label to lowercase.
- Fixed wrong protocol value in Report for grpc pass-though
- Send service_config_id to service control server.
- Upgrade nginx to 1.11.5
- Upgrade GPRC and protobuf
- Enable padding when base64 "X-Endpoints-API-UserInfo" HTTP header

# Release 0.3.10 19-10-2016

- Fail open for method with `allow_unregistered_calls`.
Expand Down
29 changes: 18 additions & 11 deletions script/release-stable
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@ function usage() {
[[ -n "${1}" ]] && echo "${1}"
cat << END_USAGE
Usage: ${BASH_SOURCE[0]} -g <path_to_gcloud>
Usage: ${BASH_SOURCE[0]} -g <path_to_gcloud> -r <DIRECT_REPO>
This script will release stable ESP docker image with format of:
b.gcr.io/endpoints/endpoints-runtime:\${BASE_VERSION}
where BASE_VERSION=major.minor
b.gcr.io/endpoints/endpoints-runtime:\${MINOR_BASE_VERSION}
b.gcr.io/endpoints/endpoints-runtime:\${MAJOR_BASE_VERSION}
b.gcr.io/endpoints/endpoints-runtime:lastest
where:
MINOR_BASE_VERSION=major.minor
MAJOR_BASE_VERSION=major
And mark debian package <DIRECT_REPO> in rapture as stable.
END_USAGE
exit 1
Expand Down Expand Up @@ -66,26 +72,27 @@ which rapture > /dev/null 2>&1 \
set -x

VERSION="$(command cat ${ROOT}/include/version)"
BASE_VERSION="$(echo ${VERSION} | cut -d . -f -2)"
# Minor base is 1.0 if version is 1.0.0
MINOR_BASE_VERSION=${VERSION%.*}
# Major base is 1 if version is 1.0.0
MAJOR_BASE_VERSION=${MINOR_BASE_VERSION%.*}

function tag_stable_image() {
local image="${1}"
local stable="${2}"
local latest="${3}"

docker_tag_f "${image}" "${stable}"
docker_tag_f "${image}" "${latest}"

retry "${GCLOUD}" docker push "${stable}" \
|| error_exit "ERROR: failed to push '${stable}'"
retry "${GCLOUD}" docker push "${latest}" \
|| error_exit "ERROR: failed to push '${latest}'"
}

tag_stable_image \

for target in ${MINOR_BASE_VERSION} ${MAJOR_BASE_VERSION} latest; do
tag_stable_image \
"b.gcr.io/endpoints/endpoints-runtime:${VERSION}" \
"b.gcr.io/endpoints/endpoints-runtime:${BASE_VERSION}" \
"b.gcr.io/endpoints/endpoints-runtime:latest"
"b.gcr.io/endpoints/endpoints-runtime:${target}";
done

rapture --universe=cloud-apt settag ${DEBIAN_PACKAGE_REPOSITORY} \
endpoints-dev.stable:true \
Expand Down

0 comments on commit 296015b

Please sign in to comment.