Skip to content

Commit

Permalink
Merge pull request apache#7 from mesosphere/update_manifest
Browse files Browse the repository at this point in the history
update manifest generation to include docker_image_id
  • Loading branch information
mgummelt committed Feb 25, 2016
2 parents 53ca3bb + 46f777e commit 75fd1b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ build_docker() {

build_universe() {
# create universe
CMD="docker images ${FULL_DOCKER_IMAGE} | grep ${FULL_DOCKER_IMAGE} | awk '{print $3}'"
DOCKER_IMAGE_ID=$("${CMD}")
jq --arg version ${VERSION} \
--arg uri ${SPARK_URI} \
--arg image ${FULL_DOCKER_IMAGE} \
'{python_package, "version": $version, "spark_uri": $uri, "docker_image": $image}' \
--arg image_id ${DOCKER_IMAGE_ID} \
'{python_package, "version": $version, "spark_uri": $uri, "docker_image": $image, "docker_image_id": $image_id}' \
manifest.json > manifest.json.tmp
mv manifest.json.tmp manifest.json
./bin/make-package.py
Expand Down

0 comments on commit 75fd1b3

Please sign in to comment.