Skip to content

Commit

Permalink
Merge pull request #4 from nasa/harmony-817-2
Browse files Browse the repository at this point in the history
HARMONY-817: Change occurrences of 'harmony' to 'harmonyservices' for Docker images
  • Loading branch information
bilts authored May 17, 2021
2 parents f00509d + 2ca8681 commit 4964237
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.local-service-lib
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM harmony/netcdf-to-zarr:latest
FROM harmonyservices/netcdf-to-zarr:latest

ARG LOCAL_SVCLIB

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# harmony/netcdf-to-zarr
# Harmony NetCDF4 to Zarr converter

A Harmony service to convert NetCDF4 files to Zarr files. Takes conventional Harmony messages and translates
their input granules to Zarr using xarray.
Expand Down
2 changes: 1 addition & 1 deletion bin/build-image
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

image="harmony/netcdf-to-zarr"
image="harmonyservices/netcdf-to-zarr"
tag=${1:-latest}

# source the .env file if it exists
Expand Down
2 changes: 1 addition & 1 deletion bin/build-test-image
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

test_image="harmony/netcdf-to-zarr-tests"
test_image="harmonyservices/netcdf-to-zarr-tests"
tag=${1:-latest}

# We use the `host` network mode so we can have access to the
Expand Down
2 changes: 1 addition & 1 deletion bin/push-image
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -ex

image="harmony/netcdf-to-zarr"
image="harmonyservices/netcdf-to-zarr"
tag=${1:-latest}

region=${AWS_DEFAULT_REGION:-"us-west-2"}
Expand Down
4 changes: 2 additions & 2 deletions bin/run-in-docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# It is meant to allow development and testing without repeatedly rebuilding the docker image. To
# run a completely clean container using only what is in the image, as will be done in deployed
# environments, run
# `docker run --rm -it --env-file=.env harmony/netcdf-to-zarr`
# `docker run --rm -it --env-file=.env harmonyservices/netcdf-to-zarr`

# If the optional environment variable LOCAL_SVCLIB_DIR is set to the directory
# of a local clone of the `harmony-service-lib-py` repo, it will be mounted
Expand Down Expand Up @@ -38,5 +38,5 @@ docker run --rm -it \
-v $(pwd):/opt/harmony-netcdf-to-zarr \
${svclib_volume} \
--entrypoint= \
harmony/netcdf-to-zarr \
harmonyservices/netcdf-to-zarr \
bash -c "${cmd}"
4 changes: 2 additions & 2 deletions bin/test-in-docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# suite. It is meant to allow development and testing without repeatedly rebuilding the docker image. To
# run a completely clean container using only what is in the image, as will be done in CI environments,
# run:
# `docker run --rm -it --env-file=.env harmony/netcdf-to-zarr-tests`
# `docker run --rm -it --env-file=.env harmonyservices/netcdf-to-zarr-tests`

# If the optional environment variable LOCAL_SVCLIB_DIR is set to the directory
# of a local clone of the `harmony-service-lib-py` repo, it will be mounted
Expand All @@ -31,5 +31,5 @@ docker run --rm -it \
-v $(pwd):/opt/harmony-netcdf-to-zarr \
${svclib_volume} \
--entrypoint= \
harmony/netcdf-to-zarr-tests \
harmonyservices/netcdf-to-zarr-tests \
bash -c "${cmd}"
2 changes: 1 addition & 1 deletion harmony_netcdf_to_zarr/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ZarrException(HarmonyException):
"""

def __init__(self, message=None):
super().__init__(message, 'harmony/netcdf-to-zarr')
super().__init__(message, 'harmonyservices/netcdf-to-zarr')


class NetCDFToZarrAdapter(harmony.BaseHarmonyAdapter):
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG TAG=latest
FROM harmony/netcdf-to-zarr:$TAG
FROM harmonyservices/netcdf-to-zarr:$TAG

COPY requirements/core.txt requirements/core.txt

Expand Down

0 comments on commit 4964237

Please sign in to comment.