Skip to content

Commit

Permalink
Correct docker image for stac-populator optional component (#483)
Browse files Browse the repository at this point in the history
## Overview

This sets the docker image for the `stac-populator` component to a
version that actually contains the code that is executed when
`stac-populator` is called. The previous image no longer contained the
relevant code.

## Changes

**Non-breaking changes**
- stac-populator image changed to version 0.0.0

**Breaking changes**
None

## Related Issue / Discussion

- Closes #482

## Additional Information

## CI Operations

<!--
The test suite can be run using a different DACCS config with
``birdhouse_daccs_configs_branch: branch_name`` in the PR description.
To globally skip the test suite regardless of the commit message use
``birdhouse_skip_ci`` set to ``true`` in the PR description.

Using ``[<cmd>]`` (with the brackets) where ``<cmd> = skip ci`` in the
commit message will override ``birdhouse_skip_ci`` from the PR
description.
Such commit command can be used to override the PR description behavior
for a specific commit update.
However, a commit message cannot 'force run' a PR which the description
turns off the CI.
To run the CI, the PR should instead be updated with a ``true`` value,
and a running message can be posted in following PR comments to trigger
tests once again.
-->

birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false
  • Loading branch information
mishaschwartz authored Dec 3, 2024
2 parents 7dcbb42 + 6f9487c commit 225f3c3
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.6.1
current_version = 2.6.2
commit = True
tag = False
tag_name = {new_version}
Expand Down Expand Up @@ -30,11 +30,11 @@ search = {current_version}
replace = {new_version}

[bumpversion:file:RELEASE.txt]
search = {current_version} 2024-11-22T15:57:16Z
search = {current_version} 2024-12-03T20:46:32Z
replace = {new_version} {utcnow:%Y-%m-%dT%H:%M:%SZ}

[bumpversion:part:releaseTime]
values = 2024-11-22T15:57:16Z
values = 2024-12-03T20:46:32Z

[bumpversion:file(version):birdhouse/components/canarie-api/docker_configuration.py.template]
search = 'version': '{current_version}'
Expand Down
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
[Unreleased](https://github.com/bird-house/birdhouse-deploy/tree/master) (latest)
------------------------------------------------------------------------------------------------------------------

[//]: # (list changes here, using '-' for each new entry, remove this when items are added)

[2.6.2](https://github.com/bird-house/birdhouse-deploy/tree/2.6.2) (2024-12-03)
------------------------------------------------------------------------------------------------------------------

## Changes

- Fix help string description for `bin/birdhouse configs` command
Expand All @@ -34,6 +39,13 @@
is read-only, the second volume mount fails.


## Fixes

- Correct docker image for `stac-populator` optional component

This sets the docker image for the `stac-populator` component to a version that actually contains the code
that is executed when `stac-populator` is called. The previous image no longer contained the relevant code.

[2.6.1](https://github.com/bird-house/birdhouse-deploy/tree/2.6.1) (2024-11-22)
------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generic variables
override SHELL := bash
override APP_NAME := birdhouse-deploy
override APP_VERSION := 2.6.1
override APP_VERSION := 2.6.2

# utility to remove comments after value of an option variable
override clean_opt = $(shell echo "$(1)" | $(_SED) -r -e "s/[ '$'\t'']+$$//g")
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ for a full-fledged production platform.
* - citation
- | |citation|

.. |commits-since| image:: https://img.shields.io/github/commits-since/bird-house/birdhouse-deploy/2.6.1.svg
.. |commits-since| image:: https://img.shields.io/github/commits-since/bird-house/birdhouse-deploy/2.6.2.svg
:alt: Commits since latest release
:target: https://github.com/bird-house/birdhouse-deploy/compare/2.6.1...master
:target: https://github.com/bird-house/birdhouse-deploy/compare/2.6.2...master

.. |latest-version| image:: https://img.shields.io/badge/tag-2.6.1-blue.svg?style=flat
.. |latest-version| image:: https://img.shields.io/badge/tag-2.6.2-blue.svg?style=flat
:alt: Latest Tag
:target: https://github.com/bird-house/birdhouse-deploy/tree/2.6.1
:target: https://github.com/bird-house/birdhouse-deploy/tree/2.6.2

.. |readthedocs| image:: https://readthedocs.org/projects/birdhouse-deploy/badge/?version=latest
:alt: ReadTheDocs Build Status (latest version)
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.1 2024-11-22T15:57:16Z
2.6.2 2024-12-03T20:46:32Z
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ SERVICES = {
# NOTE:
# Below version and release time auto-managed by 'make VERSION=x.y.z bump'.
# Do NOT modify it manually. See 'Tagging policy' in 'birdhouse/README.rst'.
'version': '2.6.1',
'releaseTime': '2024-11-22T15:57:16Z',
'version': '2.6.2',
'releaseTime': '2024-12-03T20:46:32Z',
'institution': '${BIRDHOUSE_INSTITUTION}',
'researchSubject': '${BIRDHOUSE_SUBJECT}',
'supportEmail': '${BIRDHOUSE_SUPPORT_EMAIL}',
Expand Down Expand Up @@ -141,8 +141,8 @@ PLATFORMS = {
# NOTE:
# Below version and release time auto-managed by 'make VERSION=x.y.z bump'.
# Do NOT modify it manually. See 'Tagging policy' in 'birdhouse/README.rst'.
'version': '2.6.1',
'releaseTime': '2024-11-22T15:57:16Z',
'version': '2.6.2',
'releaseTime': '2024-12-03T20:46:32Z',
'institution': '${BIRDHOUSE_INSTITUTION}',
'researchSubject': '${BIRDHOUSE_SUBJECT}',
'supportEmail': '${BIRDHOUSE_SUPPORT_EMAIL}',
Expand Down
9 changes: 9 additions & 0 deletions birdhouse/optional-components/stac-populator/default.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
export STAC_POPULATOR_DOCKER=ghcr.io/crim-ca/stac-populator
export STAC_POPULATOR_VERSION=0.0.0
export STAC_POPULATOR_IMAGE='${STAC_POPULATOR_DOCKER}:${STAC_POPULATOR_VERSION}'

export STAC_ASSET_GENERATOR_TIMEOUT=200

# add any new variables not already in 'VARS' or 'OPTIONAL_VARS' that must be replaced in templates here
Expand All @@ -13,3 +17,8 @@ VARS="$VARS $EXTRA_VARS"
COMPONENT_DEPENDENCIES="
./components/stac
"

export DELAYED_EVAL="
$DELAYED_EVAL
STAC_POPULATOR_IMAGE
"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
# populates STAC catalog with sample collection items
stac-populator:
container_name: stac-populator
image: ghcr.io/crim-ca/stac-populator:master
image: ${STAC_POPULATOR_IMAGE}
environment:
- STAC_ASSET_GENERATOR_TIMEOUT=${STAC_ASSET_GENERATOR_TIMEOUT}
- STAC_HOST=http://stac:8000/stac # STAC API internally accessed to avoid Twitcher authentication
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
# built documents.
#
# The short X.Y version.
version = '2.6.1'
version = '2.6.2'
# The full version, including alpha/beta/rc tags.
release = '2.6.1'
release = '2.6.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 225f3c3

Please sign in to comment.