From 5758b59314e5dc4938d6da1d451c91e68b06f432 Mon Sep 17 00:00:00 2001 From: Peter Parente Date: Sat, 1 Aug 2020 00:12:07 -0400 Subject: [PATCH] Fix SOURCE_COMMIT -> GITHUB_SHA references --- all-spark-notebook/hooks/run_hook | 2 +- base-notebook/hooks/run_hook | 2 +- datascience-notebook/hooks/run_hook | 2 +- minimal-notebook/hooks/run_hook | 2 +- pyspark-notebook/hooks/run_hook | 2 +- r-notebook/hooks/run_hook | 2 +- scipy-notebook/hooks/run_hook | 2 +- tensorflow-notebook/hooks/run_hook | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/all-spark-notebook/hooks/run_hook b/all-spark-notebook/hooks/run_hook index 909dc7cd..cbfc0d6a 100755 --- a/all-spark-notebook/hooks/run_hook +++ b/all-spark-notebook/hooks/run_hook @@ -6,7 +6,7 @@ GIT_SHA_TAG=${GITHUB_SHA:0:12} docker tag $IMAGE_NAME "$DOCKER_REPO:$GIT_SHA_TAG" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest diff --git a/base-notebook/hooks/run_hook b/base-notebook/hooks/run_hook index d843bc05..df571821 100755 --- a/base-notebook/hooks/run_hook +++ b/base-notebook/hooks/run_hook @@ -15,7 +15,7 @@ docker tag $IMAGE_NAME "$DOCKER_REPO:${HUB_VERSION_TAG%%\r}" # Update index INDEX_FILE="${WIKI_PATH}/Home.md" -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${PY_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${NB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${LAB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${HUB_VERSION_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${PY_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${NB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${LAB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${HUB_VERSION_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "$INDEX_FILE" # Build manifest diff --git a/datascience-notebook/hooks/run_hook b/datascience-notebook/hooks/run_hook index 2877dfb0..f60b8f37 100755 --- a/datascience-notebook/hooks/run_hook +++ b/datascience-notebook/hooks/run_hook @@ -19,7 +19,7 @@ docker tag $IMAGE_NAME "$DOCKER_REPO:${HUB_VERSION_TAG%%\r}" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${PY_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${JULIA_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${R_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${NB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${LAB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${HUB_VERSION_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${PY_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${JULIA_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${R_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${NB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${LAB_VERSION_TAG}\`
\`jupyter/${IMAGE_SHORT_NAME}:${HUB_VERSION_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest diff --git a/minimal-notebook/hooks/run_hook b/minimal-notebook/hooks/run_hook index 4575a2d2..783ffa92 100755 --- a/minimal-notebook/hooks/run_hook +++ b/minimal-notebook/hooks/run_hook @@ -6,7 +6,7 @@ GIT_SHA_TAG=${GITHUB_SHA:0:12} docker tag $IMAGE_NAME "$DOCKER_REPO:$GIT_SHA_TAG" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest diff --git a/pyspark-notebook/hooks/run_hook b/pyspark-notebook/hooks/run_hook index 4a5f3d04..d4c65521 100755 --- a/pyspark-notebook/hooks/run_hook +++ b/pyspark-notebook/hooks/run_hook @@ -6,7 +6,7 @@ GIT_SHA_TAG=${GITHUB_SHA:0:12} docker tag $IMAGE_NAME "$DOCKER_REPO:$GIT_SHA_TAG" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest diff --git a/r-notebook/hooks/run_hook b/r-notebook/hooks/run_hook index 9ef33976..f01e57df 100755 --- a/r-notebook/hooks/run_hook +++ b/r-notebook/hooks/run_hook @@ -6,7 +6,7 @@ GIT_SHA_TAG=${GITHUB_SHA:0:12} docker tag $IMAGE_NAME "$DOCKER_REPO:$GIT_SHA_TAG" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest diff --git a/scipy-notebook/hooks/run_hook b/scipy-notebook/hooks/run_hook index 4575a2d2..783ffa92 100755 --- a/scipy-notebook/hooks/run_hook +++ b/scipy-notebook/hooks/run_hook @@ -6,7 +6,7 @@ GIT_SHA_TAG=${GITHUB_SHA:0:12} docker tag $IMAGE_NAME "$DOCKER_REPO:$GIT_SHA_TAG" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest diff --git a/tensorflow-notebook/hooks/run_hook b/tensorflow-notebook/hooks/run_hook index 4575a2d2..783ffa92 100755 --- a/tensorflow-notebook/hooks/run_hook +++ b/tensorflow-notebook/hooks/run_hook @@ -6,7 +6,7 @@ GIT_SHA_TAG=${GITHUB_SHA:0:12} docker tag $IMAGE_NAME "$DOCKER_REPO:$GIT_SHA_TAG" # Update index -INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${SOURCE_COMMIT})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${SOURCE_COMMIT}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" +INDEX_ROW="|\`${BUILD_TIMESTAMP}\`|\`jupyter/${IMAGE_SHORT_NAME}:${GIT_SHA_TAG}\`|[Git diff](https://github.com/jupyter/docker-stacks/commit/${GITHUB_SHA})
[Dockerfile](https://github.com/jupyter/docker-stacks/blob/${GITHUB_SHA}/${IMAGE_SHORT_NAME}/Dockerfile)
[Build manifest](./${IMAGE_SHORT_NAME}-${GIT_SHA_TAG})|" sed "/|-|/a ${INDEX_ROW}" -i "${WIKI_PATH}/Home.md" # Build manifest