Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release 1.1.1 #124

Merged
merged 5 commits into from
Dec 10, 2024
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
5 changes: 5 additions & 0 deletions .github/actions/build-podman-hpc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

# build python packages
DIST=dist
pip3 install .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this line used for?

python3 -m build --outdir $DIST

# build SRPM and RPM
OLD_VER=$(grep Version: podman-hpc.spec|sed 's/.* //')
VER=$(grep __version__.= podman_hpc/podman_hpc.py|sed 's/.*=..//'|sed 's/.$//')
sed -i "s/${OLD_VER}/${VER}/" podman-hpc.spec

RPMBUILD_TOPDIR=$(rpmbuild --eval="%{_topdir}")
cp $DIST/*.tar.gz $RPMBUILD_TOPDIR/SOURCES/
rpmbuild -ba podman-hpc.spec
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1] - 2024-12-05

This is a patch release that primarily implements bugfixes and other minor updates.

- Fix for missing layers that causes a migrated image to not show up on all nodes.
- Fix for duplicate tagging on migrated images.
- Fix for timeouts with shared run
- Adds convenience modules for volume mounts

## [1.1.0] - 2023-11-12

This is a minor release. It adds initial support for OpenMPI4/PMI2 and OpenMPI5/PMIx.
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ build:
echo "Nothing to do"

rpmbuild-install:
python3 -m setup install --root=$(DESTDIR) --prefix=/usr
python3 -m setup install --root=$(DESTDIR) --prefix=/usr --install-data=/
python3 -m podman_hpc.configure_hooks \
--hooksd $(DESTDIR)/usr/share/containers/oci/hooks.d
mkdir -p $(DESTDIR)/etc/
ln -s ../usr/etc/podman_hpc $(DESTDIR)/etc/podman_hpc

install: rpmbuild-install
3 changes: 1 addition & 2 deletions podman-hpc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


Name: podman-hpc
Version: 1.1.0
Version: 1.1.1
Release: 1
Summary: Scripts to enable Podman to run in an HPC environment
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
Expand Down Expand Up @@ -48,7 +48,6 @@ run fully unprivileged.
%license LICENSE
%doc CHANGELOG.md README.md
%config /etc/podman_hpc
%config /usr/etc/podman_hpc
/usr/bin/podman-hpc
/usr/bin/hook_tool
/usr/bin/fuse-overlayfs-wrap
Expand Down
4 changes: 4 additions & 0 deletions podman_hpc/podman_hpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
from subprocess import Popen, PIPE


__version__ = "1.1.1"


def _round_nearest(x, a):
return round(x / a) * a

Expand Down Expand Up @@ -156,6 +159,7 @@ def podhpc(ctx, additional_stores, squash_dir, log_level):
@pass_siteconf
def infohpc(siteconf):
"""Dump configuration information for podman_hpc."""
print(f"Podman-HPC Version: {__version__}")
siteconf.dump_config()
sys.exit()

Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[metadata]
name = podman-hpc
version = 1.1.0
version = attr: podman_hpc.podman_hpc.__version__


[options]
packages = podman_hpc
Expand Down