Skip to content

Commit

Permalink
Update build image manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Aug 27, 2019
1 parent 0e09383 commit 8b50a77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .build_image_manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
100644 blob a77a544f0b5de013cca016b9a8ce35fa06ce1838 Dockerfile
100644 blob 8884199f9e00373de03ac2a2a9aaed3386f4cfc3 go.mod
100644 blob 7984bfe4b3e5bdc7e2838feb954b32e9339e05bc Dockerfile
100644 blob 0fb89e7cf970d29061417eb11f3016c6a3fc3f86 go.mod
100644 blob 01b2dcfb3390c6bb99e602b307c834d602fb7c39 go.sum
100755 blob 194add98961c75c24152aa62d47846825ee97194 install-build-deps.sh
100755 blob 98e770c77cf3b03c65cb7b7818e5f24e980f9b11 install-build-deps.sh
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ version_pkg := github.com/weaveworks/eksctl/pkg/version

build_image_input := Dockerfile install-build-deps.sh go.mod go.sum

# We use git object hashes for determining the input files used for any given build image
# E.g. given `weaveworks/eksctl-build:e6e8800773d3adf8e7999a23dcdb07414c66a4da` one can
# run `git show e6e8800773d3adf8e7999a23dcdb07414c66a4da` to get contents of `.build_image_manifest`,
# and `git show <hash>` for each of the hashes in the manifest to determine contents of each of the
# files used in `$(build_image_input)` at the time.
build_image_tag = $(shell git ls-tree --full-tree @ -- .build_image_manifest | awk '{ print $$3 }')

build_image_name = weaveworks/eksctl-build:$(build_image_tag)
Expand Down

0 comments on commit 8b50a77

Please sign in to comment.