-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
145 changed files
with
9,623 additions
and
7,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## 2.0.0 | ||
|
||
# Breaking changes | ||
* Renamed 'native_coordinates' to 'coordinates' | ||
|
||
## 1.3.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,35 @@ | ||
#!/bin/sh | ||
# | ||
# Build podpac lambda distribution and dependencies | ||
# | ||
# Currently, this builds the function using the local | ||
# podpac repository, including any outstanding changes. | ||
# Build podpac lambda distribution and dependencies. | ||
# Change $REF to specify a specific branch, tag, or commit in podpac to build from. | ||
# | ||
# Usage: | ||
# | ||
# $ bash build_lambda.sh [s3-bucket] [function-name] | ||
# $ bash build_lambda.sh | ||
# | ||
# Requires: | ||
# - Docker | ||
# - `settings.json` to be copied to the root directory of the podpac repository | ||
# This will not be required in the future | ||
# | ||
# Example usage: | ||
# | ||
# $ bash build_lambda.sh | ||
|
||
|
||
# variables | ||
COMMIT_SHA="$(git rev-parse HEAD)" | ||
TAG="$(git describe --always)" | ||
REF="master" | ||
# REF="tags/1.1.0" # Change $REF to the branch, tag, or commit in podpac you want to use | ||
# REF="develop" | ||
|
||
DOCKER_NAME="podpac" | ||
DOCKER_TAG=$TAG | ||
DOCKER_TAG=$REF | ||
|
||
echo "Creating docker image from podpac version ${TAG}" | ||
echo "Creating docker image from podpac version ${REF}" | ||
echo "${DOCKER_NAME}:${DOCKER_TAG}" | ||
|
||
# Navigate to root, build docker, and extract zips | ||
pushd ../../ | ||
docker build -f dist/aws/Dockerfile --no-cache --tag $DOCKER_NAME:$DOCKER_TAG --build-arg COMMIT_SHA="${COMMIT_SHA}" --build-arg TAG="${TAG}" . | ||
docker build -f dist/aws/Dockerfile --no-cache --tag $DOCKER_NAME:$DOCKER_TAG --build-arg REF="${REF}" . | ||
docker run --name "${DOCKER_NAME}" -itd $DOCKER_NAME:$DOCKER_TAG | ||
docker cp "${DOCKER_NAME}":/tmp/vendored/podpac_dist.zip ./dist/aws | ||
docker cp "${DOCKER_NAME}":/tmp/vendored/podpac_deps.zip ./dist/aws | ||
docker stop "${DOCKER_NAME}" | ||
docker rm "${DOCKER_NAME}" | ||
popd | ||
|
||
echo "Built podpac deployment package: podpac_dist.zip" | ||
echo "Built podpac dependencies: podpac_deps.zip" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.