Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
Notable changes introduced in modos releases are documented in this file

## [0.3.3] - 2025-08-22

### Bug Fixes

- _(deploy)_ drop depends_on.required for compat with older compose (#156)
- _(deploy)_ nonroot container users (#157)
- _(deploy)_ addgroup -> groupadd for debian-based images

### Features

- _(deploy)_ caddy with https support (#160)- compatibility with air-gapped
deployments (#154)

## [0.3.2] - 2025-06-16

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = "modos-api"
copyright = "2024, sdsc-ordes"
author = "sdsc-ordes"
release = "0.3.2"
release = "0.3.3"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
9 changes: 1 addition & 8 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,8 @@ host := `ip route get 1 | sed -En 's/^.*src ([0-9.]*) .*$/\1/p'`
default:
just --unsorted --list --no-aliases

# Get package version.
[private]
get-version:
#!/usr/bin/env bash
grep -E '^__version__ += +' src/modos/__init__.py \
| sed -E 's/.*= +//' \
| tr -d '"'

alias dev := develop

# Enter a development shell.
develop:
just nix::develop default
Expand Down
2 changes: 1 addition & 1 deletion src/modos/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.2"
__version__ = "0.3.3"
21 changes: 13 additions & 8 deletions tools/just/image.just
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,28 @@ set shell := ["bash", "-cue"]
root_dir := `git rev-parse --show-toplevel`
registry := "ghcr.io/sdsc-ordes"
repository := "modos-api"
tag := `just get-version`
ctr := "docker"

tag_cmd := (
"grep -E '^__version__ += +' " +
root_dir +
"/src/modos/__init__.py | sed -E 's/.*= +//' | tr -d '\"'"
)

[private]
default:
just --unsorted --no-aliases --list image

# Build the modos-api client image.
[no-cd]
build:
@echo "🐋 Building docker image"
cd {{root_dir}} && \
{{ctr}} build \
-f ./tools/image/Dockerfile \
--build-arg="VERSION_BUILD={{tag}}" \
-t {{registry}}/{{repository}}:{{tag}} .
{{ctr}} build \
-f ./tools/image/Dockerfile \
--build-arg=VERSION_BUILD=`{{tag_cmd}}` \
-t {{registry}}/{{repository}}:`{{tag_cmd}}` .

# Push the modos-api client image.
[no-cd]
push: build
cd {{root_dir}} && \
{{ctr}} push {{registry}}/{{repository}}:{{tag}}
{{ctr}} push {{registry}}/{{repository}}:`{{tag_cmd}}`