Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build image binaries to the latest version #597

Merged
merged 4 commits into from
Mar 6, 2020

Conversation

PrasadG193
Copy link
Contributor

@PrasadG193 PrasadG193 commented Mar 3, 2020

Change Overview

Bump build image binaries to the latest version:
kind: v0.7.0
kubectl: v1.17 .0
golangci-lint: v1.23.7
goreleaser: v0.127.0

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • #XXX

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@PrasadG193
Copy link
Contributor Author

@tdmanv We need to build and use the newer image to make CI happy.

@PrasadG193 PrasadG193 force-pushed the update-build-image branch 2 times, most recently from a25fb6b to 06a8831 Compare March 4, 2020 18:23
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
Ignore golint checks for some statements

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
@PrasadG193
Copy link
Contributor Author

Image build logs

$ docker build -t kanisterio/build:v0.0.9 . --no-cache

Sending build context to Docker daemon  3.072kB
Step 1/9 : FROM golang:1.12-alpine3.10
 ---> 6a17089e5a3a
Step 2/9 : MAINTAINER Tom Manville <tom@kasten.io>
 ---> Running in 0c83477132f1
Removing intermediate container 0c83477132f1
 ---> da0393f489df
Step 3/9 : RUN apk add --update --no-cache ca-certificates bash git docker jq     && update-ca-certificates     && rm -rf /var/cache/apk/*
 ---> Running in fc85d1106765
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/22) Installing ncurses-terminfo-base (6.1_p20190518-r2)
(2/22) Installing ncurses-libs (6.1_p20190518-r2)
(3/22) Installing readline (8.0.0-r0)
(4/22) Installing bash (5.0.0-r0)
Executing bash-5.0.0-r0.post-install
(5/22) Installing libseccomp (2.4.1-r0)
(6/22) Installing runc (1.0.0_rc8-r0)
(7/22) Installing containerd (1.2.9-r0)
(8/22) Installing libmnl (1.0.4-r0)
(9/22) Installing libnftnl-libs (1.1.3-r0)
(10/22) Installing iptables (1.8.3-r0)
(11/22) Installing tini-static (0.18.0-r0)
(12/22) Installing device-mapper-libs (2.02.184-r0)
(13/22) Installing docker-engine (18.09.8-r0)
(14/22) Installing docker-cli (18.09.8-r0)
(15/22) Installing docker (18.09.8-r0)
Executing docker-18.09.8-r0.pre-install
(16/22) Installing nghttp2-libs (1.39.2-r0)
(17/22) Installing libcurl (7.66.0-r0)
(18/22) Installing expat (2.2.8-r0)
(19/22) Installing pcre2 (10.33-r0)
(20/22) Installing git (2.22.2-r0)
(21/22) Installing oniguruma (6.9.4-r0)
(22/22) Installing jq (1.6-r0)
Executing busybox-1.30.1-r2.trigger
OK: 296 MiB in 37 packages
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
Removing intermediate container fc85d1106765
 ---> 3920eb0f866a
Step 4/9 : COPY --from=bitnami/kubectl:1.17 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
 ---> bee027af9dd8
Step 5/9 : COPY --from=goreleaser/goreleaser:v0.127.0 /bin/goreleaser /usr/local/bin/
 ---> 4d1710b7688c
Step 6/9 : COPY --from=alpine/helm:3.0.0 /usr/bin/helm /usr/local/bin/
 ---> 85cbed0224a5
Step 7/9 : COPY --from=golangci/golangci-lint:v1.23.7 /usr/bin/golangci-lint /usr/local/bin/
 ---> 21d00b1d2dc2
Step 8/9 : RUN wget -O /usr/local/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.7.0/kind-linux-amd64     && chmod +x /usr/local/bin/kind
 ---> Running in 1a9922be6eda
Connecting to github.com (13.234.210.38:443)
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.168.51:443)
kind                   4% |*                               |  423k  0:00:20 ETA
kind                  37% |***********                     | 3406k  0:00:03 ETA
kind                  91% |*****************************   | 8318k  0:00:00 ETA
kind                 100% |********************************| 9136k  0:00:00 ETA
Removing intermediate container 1a9922be6eda
 ---> a787a8d27520
Step 9/9 : ENV CGO_ENABLED=0     GO111MODULE="on"     GOROOT="/usr/local/go"     GOCACHE=/go/.cache/go-build     GO_EXTLINK_ENABLED=0     PATH="/usr/local/go/bin:${PATH}"
 ---> Running in 033643f0aec5
Removing intermediate container 033643f0aec5
 ---> 8c01ea32bf90
Successfully built 8c01ea32bf90
Successfully tagged kanisterio/build:v0.0.9

@SupriyaKasten
Copy link
Contributor

LGTM @PrasadG193 , will let @tdmanv approve it!

@mergify mergify bot merged commit ea72b13 into kanisterio:master Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants