Skip to content

Commit

Permalink
Update API server for tests (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
alenkacz committed Nov 7, 2019
1 parent 053e5f8 commit ca05970
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG GOLANG_VERSION=1.10
ARG GOLANG_VERSION=1.13
FROM golang:${GOLANG_VERSION}


# Download and install Kubebuilder

# download the release
RUN curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v1.0.8/kubebuilder_1.0.8_linux_amd64.tar.gz
RUN curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.1.0/kubebuilder_2.1.0_linux_amd64.tar.gz

# extract the archive
RUN tar -zxvf kubebuilder_1.0.8_linux_amd64.tar.gz
RUN mv kubebuilder_1.0.8_linux_amd64 kubebuilder && mv kubebuilder /usr/local/
RUN tar -zxvf kubebuilder_2.1.0_linux_amd64.tar.gz
RUN mv kubebuilder_2.1.0_linux_amd64 kubebuilder && mv kubebuilder /usr/local/

# update your PATH to include /usr/local/kubebuilder/bin
ENV PATH $PATH:/usr/local/kubebuilder/bin
7 changes: 3 additions & 4 deletions pkg/test/test_data/create-or-update/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ status:
kind: ProwJob
# InitialNamesAccepted will change from False -> True once the CRD is ready.
conditions:
- message: no conflicts found
reason: NoConflicts
- type: NonStructuralSchema
- reason: NoConflicts
status: "True"
type: NamesAccepted
- message: the initial names have been accepted
reason: InitialNamesAccepted
- reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
Expand Down

0 comments on commit ca05970

Please sign in to comment.