Commit 6cda3b7a authored by William Roberts's avatar William Roberts
Browse files

Add RU serve to gitlab CI

parent 7ad76387
Pipeline #37139 passed with stage
in 8 minutes and 48 seconds
......@@ -35,6 +35,7 @@ docker-build:
echo "Running on branch '$CI_COMMIT_BRANCH': image = $IMAGE_PATH"
fi
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --push-retry 4 --destination "${CI_REGISTRY_IMAGE}${IMAGE_PATH}${tag}" --destination "${CI_REGISTRY_IMAGE}${IMAGE_PATH}${revid}"
- /kaniko/executor --build-arg IMAGE=${CI_REGISTRY_IMAGE}${IMAGE_PATH}${tag} --context $CI_PROJECT_DIR/serve/ru --dockerfile $CI_PROJECT_DIR/serve/ru/Dockerfile --push-retry 4 --destination "${CI_REGISTRY_IMAGE}${IMAGE_PATH}_ru${tag}" --destination "${CI_REGISTRY_IMAGE}${IMAGE_PATH}_ru${revid}"
# Run this job in a branch where a Dockerfile exists
rules:
- if: $CI_COMMIT_BRANCH
......
ARG ENV_NAME=env
ARG IMAGE=gitlab.ssec.wisc.edu:5555/cris_l1b/user/feat-serve-ru:latest
ARG IMAGE
FROM condaforge/mambaforge:4.11.0-0 as environment
ARG ENV_NAME
......
Use case:
curl --output out.mat 'cris-l1b-ru-test.ssec.wisc.edu/<year>/<month>/<day>/<granule>?source=sounder_sips&instrument=noaa20&resolution=fsr&software_version=3.0.1'
Run case:
docker run --rm -it -v /ships19/crisl1b/data:/ships19/crisl1b/data -p 5432:5432 ru
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment