Skip to content

Commit

Permalink
Moving to 0.9.0!
Browse files Browse the repository at this point in the history
Also a fix for the blog post, which has a date in the future.
  • Loading branch information
markmandel committed Feb 21, 2019
1 parent 3a0e6d1 commit 8bffcc8
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 30 deletions.
19 changes: 15 additions & 4 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#

# base version target. This is usually the next release.
base_version = 0.8.0
base_version = 0.9.0

# agones image release registry
release_registry = gcr.io/agones-images
Expand Down Expand Up @@ -195,6 +195,7 @@ push-chart: $(ensure-build-image) build-chart
"gsutil copy gs://$(GCP_BUCKET_CHARTS)/index.yaml ./install/helm/bin/index.yaml || /bin/true && \
helm repo index --merge ./install/helm/bin/index.yaml ./install/helm/bin && \
cat ./install/helm/bin/index.yaml && ls ./install/helm/bin/ && \
cp ./install/helm/bin/index.yaml ./install/helm/bin/index-$(VERSION).yaml && \
gsutil copy ./install/helm/bin/*.* gs://$(GCP_BUCKET_CHARTS)/"

# push a specific release useful to push previous missing release
Expand Down Expand Up @@ -464,17 +465,27 @@ do-release:
-rm -rf $(agones_path)/release
mkdir $(agones_path)/release
docker run --rm $(common_mounts) -w $(mount_path)/sdks/cpp $(build_tag) make clean
$(MAKE) build VERSION=$(RELEASE_VERSION) REGISTRY=$(release_registry) FULL_BUILD=1
$(MAKE) build-sdks build-agones-sdk-binary VERSION=$(RELEASE_VERSION) REGISTRY=$(release_registry) FULL_BUILD=1
cp $(agones_path)/cmd/sdk-server/bin/agonessdk-server-$(RELEASE_VERSION).zip $(agones_path)/release
cp $(agones_path)/sdks/cpp/bin/agonessdk-$(RELEASE_VERSION)-runtime-linux-arch_64.tar.gz $(agones_path)/release
cp $(agones_path)/sdks/cpp/bin/agonessdk-$(RELEASE_VERSION)-dev-linux-arch_64.tar.gz $(agones_path)/release
cp $(agones_path)/sdks/cpp/bin/agonessdk-$(RELEASE_VERSION)-src.zip $(agones_path)/release
cd $(agones_path) && zip -r ./release/agones-install-$(RELEASE_VERSION).zip ./README.md ./install ./LICENSE
$(MAKE) push-chart
$(MAKE) gcloud-auth-docker push REGISTRY=$(release_registry) VERSION=$(RELEASE_VERSION)

# retag the current master commit images with the release tag.
$(MAKE) do-relase-tag-images RELEASE_VERSION=$(RELEASE_VERSION)

$(MAKE) push-chart VERSION=$(RELEASE_VERSION)
git push -u upstream release-$(RELEASE_VERSION)

@echo "Now go make the $(RELEASE_VERSION) release on Github!"

do-relase-tag-images: RELEASE_VERSION ?= $(base_version)
do-relase-tag-images:
docker run --rm $(common_mounts) $(build_tag) gcloud container images add-tag $(release_registry)/agones-controller:$(VERSION) $(release_registry)/agones-controller:$(RELEASE_VERSION) --quiet
docker run --rm $(common_mounts) $(build_tag) gcloud container images add-tag $(release_registry)/agones-sdk:$(VERSION) $(release_registry)/agones-sdk:$(RELEASE_VERSION) --quiet
docker run --rm $(common_mounts) $(build_tag) gcloud container images add-tag $(release_registry)/agones-ping:$(VERSION) $(release_registry)/agones-ping:$(RELEASE_VERSION) --quiet

setup-test-cluster: DOCKER_RUN_ARGS+=--network=host
setup-test-cluster: $(ensure-build-image)
$(DOCKER_RUN) kubectl apply -f $(mount_path)/build/helm.yaml
Expand Down
4 changes: 2 additions & 2 deletions install/helm/agones/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# Declare variables to be passed into your templates.

apiVersion: v1
appVersion: "0.8.0"
version: 0.8.0
appVersion: "0.9.0"
version: 0.9.0
name: agones
description: a library for hosting, running and scaling dedicated game servers on Kubernetes.
keywords:
Expand Down
2 changes: 1 addition & 1 deletion install/helm/agones/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ agones:
timeoutSeconds: 1
image:
registry: gcr.io/agones-images
tag: 0.8.0
tag: 0.9.0
controller:
name: agones-controller
pullPolicy: IfNotPresent
Expand Down
44 changes: 22 additions & 22 deletions install/yaml/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metadata:
namespace: agones-system
labels:
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
---
Expand All @@ -31,7 +31,7 @@ metadata:
namespace: agones-system
labels:
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
rules:
Expand Down Expand Up @@ -68,7 +68,7 @@ metadata:
namespace: agones-system
labels:
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
subjects:
Expand Down Expand Up @@ -102,7 +102,7 @@ metadata:
namespace: default
labels:
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
---
Expand All @@ -113,7 +113,7 @@ metadata:
namespace: agones-system
labels:
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
rules:
Expand All @@ -131,7 +131,7 @@ metadata:
namespace: default
labels:
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
subjects:
Expand Down Expand Up @@ -167,7 +167,7 @@ metadata:
labels:
component: crd
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -360,7 +360,7 @@ metadata:
labels:
component: crd
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -425,7 +425,7 @@ metadata:
labels:
component: crd
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -506,7 +506,7 @@ metadata:
labels:
component: crd
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -664,7 +664,7 @@ metadata:
labels:
component: crd
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -781,7 +781,7 @@ metadata:
labels:
component: crd
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -969,7 +969,7 @@ metadata:
labels:
stable.agones.dev/role: controller
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -1005,7 +1005,7 @@ metadata:
labels:
component: controller
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -1050,7 +1050,7 @@ spec:
serviceAccountName: agones-controller
containers:
- name: agones-controller
image: "gcr.io/agones-images/agones-controller:0.8.0"
image: "gcr.io/agones-images/agones-controller:0.9.0"
imagePullPolicy: IfNotPresent
env:
# minimum port that can be exposed to GameServer traffic
Expand All @@ -1060,7 +1060,7 @@ spec:
- name: MAX_PORT
value: "8000"
- name: SIDECAR_IMAGE # overwrite the GameServer sidecar image that is used
value: "gcr.io/agones-images/agones-sdk:0.8.0"
value: "gcr.io/agones-images/agones-sdk:0.9.0"
- name: ALWAYS_PULL_SIDECAR # set the sidecar imagePullPolicy to Always
value: "false"
- name: SIDECAR_CPU_REQUEST
Expand Down Expand Up @@ -1119,7 +1119,7 @@ metadata:
labels:
component: ping
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -1156,7 +1156,7 @@ spec:
priorityClassName: agones-system
containers:
- name: agones-ping
image: "gcr.io/agones-images/agones-ping:0.8.0"
image: "gcr.io/agones-images/agones-ping:0.9.0"
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand All @@ -1180,7 +1180,7 @@ metadata:
labels:
component: ping
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand All @@ -1201,7 +1201,7 @@ metadata:
labels:
component: ping
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
spec:
Expand Down Expand Up @@ -1297,7 +1297,7 @@ metadata:
labels:
component: controller
app: agones
chart: agones-0.8.0
chart: agones-0.9.0
release: agones-manual
heritage: Tiller
webhooks:
Expand Down Expand Up @@ -1329,7 +1329,7 @@ metadata:
namespace: agones-system
labels:
app: agones-manual
chart: "agones-0.8.0"
chart: "agones-0.9.0"
release: "agones-manual"
heritage: "Tiller"
type: Opaque
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/0.8.0.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "0.8.0 - GameServerAllocations, Performance Improvements, Monitoring Improvements and more!"
linkTitle: "0.8.0"
date: 2019-02-21
date: 2019-02-20
description:
---

Expand Down

0 comments on commit 8bffcc8

Please sign in to comment.