Skip to content

Commit c019441

Browse files
authored
DAS-2255: rename service consistently. (#7)
1 parent 0418041 commit c019441

16 files changed

Lines changed: 37 additions & 31 deletions

.github/workflows/publish_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242

4343
steps:
44-
- name: Checkout smap-l2-gridder repository
44+
- name: Checkout harmony-smap-l2-gridding-service repository
4545
uses: actions/checkout@v4
4646
with:
4747
lfs: true

.github/workflows/run_lib_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
python-version: ['3.10', '3.11', '3.12']
1414

1515
steps:
16-
- name: Checkout smap-l2-gridder repository
16+
- name: Checkout harmony-smap-l2-gridding-service repository
1717
uses: actions/checkout@v4
1818
with:
1919
lfs: true

.github/workflows/run_service_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow will build the service and test Docker images for smap-l2-gridder,
1+
# This workflow will build the service and test Docker images for harmony-smap-l2-gridding-service,
22
# then run the `pytest` suite within a test Docker container, reporting
33
# test results and code coverage as artefacts. It will be called by the
44
# workflow that run tests against new PRs and as a first step in the workflow
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717

1818
steps:
19-
- name: Checkout smap-l2-gridder repository
19+
- name: Checkout harmony-smap-l2-gridding-service repository
2020
uses: actions/checkout@v4
2121
with:
2222
lfs: true

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v0.0.2] - 2024-12-03
9+
10+
### Changed
11+
12+
- Docker images now use full repository name [#7](https://github.com/nasa/harmony-SMAP-L2-gridding-service/pull/7)
13+
814
## [v0.0.1] - 2024-11-27
915

1016
### Added
1117

12-
- Initial codebase that transforms SPL2SMP_E granules into NetCDF4-CF grids. [#1](https://github.com/nasa/harmony-SMAP-L2-gridding-service/pull/1)
18+
- Initial codebase that transforms SPL2SMP_E granules into NetCDF4-CF grids [#1](https://github.com/nasa/harmony-SMAP-L2-gridding-service/pull/1)
1319
- Code and configuration to wrap gridding logic into a Harmony Service [#3](https://github.com/nasa/harmony-SMAP-L2-gridding-service/pull/3 )
1420
- GitHub actions CI configuration [#4](https://github.com/nasa/harmony-SMAP-L2-gridding-service/pull/4 )
1521

16-
22+
[v0.0.2]: https://github.com/nasa/harmony-SMAP-L2-gridding-service/releases/tag/0.0.2
1723
[v0.0.1]: https://github.com/nasa/harmony-SMAP-L2-gridding-service/releases/tag/0.0.1

bin/build-image

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22
###############################################################################
33
#
4-
# Build a Docker image of the Harmony-SMAP-L2-Gridder service.
4+
# Build a Docker image of the HARMONY SMAP L2 Gridding Service
55
#
66
###############################################################################
77

8-
image="ghcr.io/nasa/harmony-smap-l2-gridder"
8+
image="ghcr.io/nasa/harmony-smap-l2-gridding-service"
99

1010
# Retrieve the tag from the script arguments, or default to "latest". Bamboo
1111
# will pass the contents of `docker/service_version.txt` as this argument,
@@ -14,8 +14,8 @@ image="ghcr.io/nasa/harmony-smap-l2-gridder"
1414
tag=${1:-latest}
1515

1616

17-
# Remove old versions of: ghcr.io/nasa/harmony-smap-l2-gridder and
18-
# ghcr.io/nasa/harmony-smap-l2-gridder-test images
17+
# Remove old versions of: ghcr.io/nasa/harmony-smap-l2-gridding-service and
18+
# ghcr.io/nasa/harmony-smap-l2-gridding-service-test images
1919
./bin/clean-images
2020

2121
# Build the image

bin/build-test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44
# Build a Docker container to run the test suite for the SMAP-L2-Gridding-Service
55
#
6-
# To build the ghcr.io/nasa/harmony-smap-l2-gridder-test image, the
7-
# ghcr.io/nasa/harmony-smap-l2-gridder image must also be present
6+
# To build the ghcr.io/nasa/harmony-smap-l2-gridding-service-test image, the
7+
# ghcr.io/nasa/harmony-smap-l2-gridding-service image must also be present
88
# locally, as it is used as the base image in `docker/tests.Dockerfile`.
99
#
1010
###############################################################################
1111

12-
image="ghcr.io/nasa/harmony-smap-l2-gridder-test"
12+
image="ghcr.io/nasa/harmony-smap-l2-gridding-service-test"
1313
tag=${1:-latest}
1414

1515

bin/clean-images

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
###############################################################################
33
#
44
# remove all images containing the string
5-
# "ghcr.io/nasa/harmony-smap-l2-gridder" and remove them.
5+
# "ghcr.io/nasa/harmony-smap-l2-gridding-service" and remove them.
66
# This is used for clean-up after development.
77
#
88
###############################################################################
@@ -15,7 +15,7 @@ remove_image_by_name() {
1515
fi
1616
}
1717

18-
image_base_name="ghcr.io/nasa/harmony-smap-l2-gridder"
18+
image_base_name="ghcr.io/nasa/harmony-smap-l2-gridding-service"
1919

2020
# First remove test images:
2121
remove_image_by_name "${image_base_name}-test"

bin/run-test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
###############################################################################
33
#
4-
# Execute the ghcr.io/nasa/harmony-smap-l2-gridder-test Docker image
4+
# Execute the ghcr.io/nasa/harmony-smap-l2-gridding-service Docker image
55
#
66
###############################################################################
77

@@ -21,4 +21,4 @@ mkdir -p reports/coverage
2121
docker run --rm \
2222
-v $(pwd)/reports/test-reports:/home/reports/test-reports \
2323
-v $(pwd)/reports/coverage:/home/reports/coverage \
24-
ghcr.io/nasa/harmony-smap-l2-gridder-test "$@"
24+
ghcr.io/nasa/harmony-smap-l2-gridding-service-test "$@"

docker/service.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
###############################################################################
22
#
3-
# Service image for ghcr.io/nasa/harmony-smap-l2-gridder
4-
5-
# Harmony-SMAP-L2-Gridder backend service that transforms L2G (gridded
3+
# Service image for ghcr.io/nasa/harmony-smap-l2-gridding-service
4+
#
5+
# Harmony-SMAP-L2-Gridding-Service backend that transforms L2G (gridded
66
# trajectory) data into actual gridded data.
77
#
88
# This image installs dependencies via Pip. The service code is then copied

docker/service_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
0.0.2

0 commit comments

Comments
 (0)