Skip to content

Commit

Permalink
Updated crd-client and alpine
Browse files Browse the repository at this point in the history
Reverted imagePullPolicy back

reverted md files back

minor fix
  • Loading branch information
alexey-kremsa-globant committed Feb 19, 2020
1 parent a25132e commit a7a640c
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ KIND_PROFILE ?= agones
KIND_CONTAINER_NAME=$(KIND_PROFILE)-control-plane

# Game Server image to use while doing end-to-end tests
GS_TEST_IMAGE ?= gcr.io/agones-images/udp-server:0.17
GS_TEST_IMAGE ?= gcr.io/agones-images/udp-server:0.18

# Directory that this Makefile is in.
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
Expand Down Expand Up @@ -91,7 +91,7 @@ allocator_tag = $(REGISTRY)/agones-allocator:$(VERSION)
gomod_on = GO111MODULE=on

go_version_flags = -ldflags "-X agones.dev/agones/pkg.Version=$(VERSION)"
DOCKER_RUN ?= docker run --rm $(common_mounts) -e "KUBECONFIG=/root/.kube/$(kubeconfig_file)" -e "$(gomod_on)" -w $(workdir_path) $(DOCKER_RUN_ARGS) $(build_tag)
DOCKER_RUN ?= docker run --rm $(common_mounts) -e "KUBECONFIG=/root/.kube/$(kubeconfig_file)" -e "$(gomod_on)" -w $(workdir_path) -v /Users/oleksii.kremsa/.minikube:/Users/oleksii.kremsa/.minikube $(DOCKER_RUN_ARGS) $(build_tag)


ifdef DOCKER_RUN
Expand Down Expand Up @@ -124,7 +124,7 @@ ifdef NO_RACE_DETECTOR
RACE_DETECTOR_ARGS=
endif

go_test_cmd = go test -mod=vendor $(RACE_DETECTOR_ARGS)
go_test_cmd = go test -mod=vendor $(RACE_DETECTOR_ARGS) -v -run TestAllocator
GO_TEST=$(DOCKER_RUN) $(go_test_cmd)
GO_E2E_TEST_ARGS=--kubeconfig /root/.kube/$(kubeconfig_file)

Expand Down
2 changes: 1 addition & 1 deletion examples/allocator-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o service .


# Create the final image that will run the allocator service
FROM alpine:3.8
FROM alpine:3.11
RUN apk add --update ca-certificates
RUN adduser -D -u 1000 service

Expand Down
2 changes: 1 addition & 1 deletion examples/autoscaler-webhook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY . /go/src/agones.dev/agones
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server .

# Create the final image that will run the webhook server for FleetAutoscaler webhook policy
FROM alpine:3.8
FROM alpine:3.11
RUN adduser -D -u 1000 server

COPY --from=builder /go/src/autoscaler-webhook \
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscaler-webhook/autoscaler-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
containers:
- name: autoscaler-webhook
image: gcr.io/agones-images/autoscaler-webhook:0.3
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
ports:
- name: autoscaler
containerPort: 8000
Expand Down
4 changes: 2 additions & 2 deletions examples/crd-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

# Gather dependencies and build the executable
FROM golang:1.13.1 as builder
FROM golang:1.13.7 as builder
WORKDIR /go/src/crd-client

COPY ./main.go .
COPY ./go.mod ./
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o client .

# Create the final image that will run the webhook server for FleetAutoscaler webhook policy
FROM alpine:3.8
FROM alpine:3.11
RUN adduser -D -u 1000 client

COPY --from=builder /go/src/crd-client \
Expand Down
2 changes: 1 addition & 1 deletion examples/crd-client/create-gs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
serviceAccountName: agones-controller
containers:
- name: create-gameserver
image: gcr.io/agones-images/crd-client:0.1
image: gcr.io/agones-images/crd-client:0.2
imagePullPolicy: Always
env:
- name: GAMESERVER_IMAGE
Expand Down
2 changes: 1 addition & 1 deletion examples/rust-simple/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ spec:
containers:
- name: rust-simple
image: gcr.io/agones-images/rust-simple-server:0.7
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
2 changes: 1 addition & 1 deletion examples/simple-tcp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY . /go/src/agones.dev/agones
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server .

# final image
FROM alpine:3.10
FROM alpine:3.11

RUN adduser -D -u 1000 server
COPY --from=builder /go/src/simple-tcp/server /home/server/server
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-udp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY . /go/src/agones.dev/agones
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server .

# final image
FROM alpine:3.10
FROM alpine:3.11

RUN adduser -D -u 1000 server
COPY --from=builder /go/src/simple-udp/server /home/server/server
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/1.1.0-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Images available with this release:
- [gcr.io/agones-images/rust-simple-server:0.5](https://gcr.io/agones-images/rust-simple-server:0.5)
- [gcr.io/agones-images/unity-simple-server:0.2](https://gcr.io/agones-images/unity-simple-server:0.2)
- [gcr.io/agones-images/udp-server:0.15](https://gcr.io/agones-images/udp-server:0.15)
- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4)
- [gcr.io/agones-images/tcp-server:0.1](https://gcr.io/agones-images/tcp-server:0.1)
- [gcr.io/agones-images/xonotic-example:0.6](https://gcr.io/agones-images/xonotic-example:0.6)

Helm chart available with this release:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/1.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Images available with this release:
- [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6)
- [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3)
- [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17)
- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4)
- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3)
- [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7)

Helm chart available with this release:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/1.2.0-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Images available with this release:
- [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6)
- [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3)
- [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17)
- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4)
- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3)
- [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7)

Helm chart available with this release:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Images available with this release:
- [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6)
- [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3)
- [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17)
- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4)
- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3)
- [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7)

Helm chart available with this release:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/1.3.0-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Images available with this release:
- [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6)
- [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3)
- [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17)
- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4)
- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3)
- [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7)

Helm chart available with this release:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/blog/releases/1.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Images available with this release:
- [gcr.io/agones-images/rust-simple-server:0.6](https://gcr.io/agones-images/rust-simple-server:0.6)
- [gcr.io/agones-images/unity-simple-server:0.3](https://gcr.io/agones-images/unity-simple-server:0.3)
- [gcr.io/agones-images/udp-server:0.17](https://gcr.io/agones-images/udp-server:0.17)
- [gcr.io/agones-images/tcp-server:0.4](https://gcr.io/agones-images/tcp-server:0.4)
- [gcr.io/agones-images/tcp-server:0.3](https://gcr.io/agones-images/tcp-server:0.3)
- [gcr.io/agones-images/xonotic-example:0.7](https://gcr.io/agones-images/xonotic-example:0.7)

Helm chart available with this release:
Expand Down

0 comments on commit a7a640c

Please sign in to comment.