Skip to content

Commit 1f8358f

Browse files
authored
Merge branch 'main' into ubuntu_26.04
2 parents 7e2efee + d481e86 commit 1f8358f

6 files changed

Lines changed: 29 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
-
3939
name: Docker meta
4040
id: meta
41-
uses: docker/metadata-action@v5
41+
uses: docker/metadata-action@v6
4242
with:
4343
images: ${{ env.REGISTRY_IMAGE }}
4444
tags: |
@@ -48,20 +48,20 @@ jobs:
4848
type=sha,format=short
4949
-
5050
name: Set up QEMU
51-
uses: docker/setup-qemu-action@v3
51+
uses: docker/setup-qemu-action@v4
5252
-
5353
name: Set up Docker Buildx
54-
uses: docker/setup-buildx-action@v3
54+
uses: docker/setup-buildx-action@v4
5555
-
5656
name: Login to Docker Hub
57-
uses: docker/login-action@v3
57+
uses: docker/login-action@v4
5858
with:
5959
username: ${{ secrets.DOCKER_USERNAME }}
6060
password: ${{ secrets.DOCKER_PASSWORD }}
6161
-
6262
name: Build and push by digest
6363
id: build
64-
uses: docker/build-push-action@v6
64+
uses: docker/build-push-action@v7
6565
with:
6666
context: .
6767
platforms: linux/${{ matrix.platform }}
@@ -102,11 +102,11 @@ jobs:
102102
merge-multiple: true
103103
-
104104
name: Set up Docker Buildx
105-
uses: docker/setup-buildx-action@v3
105+
uses: docker/setup-buildx-action@v4
106106
-
107107
name: Docker meta
108108
id: meta
109-
uses: docker/metadata-action@v5
109+
uses: docker/metadata-action@v6
110110
with:
111111
images: ${{ env.REGISTRY_IMAGE }}
112112
tags: |
@@ -116,7 +116,7 @@ jobs:
116116
type=sha,format=short
117117
-
118118
name: Login to Docker Hub
119-
uses: docker/login-action@v3
119+
uses: docker/login-action@v4
120120
with:
121121
username: ${{ secrets.DOCKER_USERNAME }}
122122
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -158,7 +158,7 @@ jobs:
158158
uses: actions/checkout@v6
159159
-
160160
name: Install just
161-
uses: extractions/setup-just@v3
161+
uses: extractions/setup-just@v4
162162
with:
163163
just-version: 1.26.0
164164
-

.github/workflows/mdbook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: ./.github/install-mdbook
3939
- name: Setup Pages
4040
id: pages
41-
uses: actions/configure-pages@v5
41+
uses: actions/configure-pages@v6
4242
- name: Build with mdBook
4343
run: mdbook build
4444
working-directory: docs
@@ -54,7 +54,7 @@ jobs:
5454
--root-dir "${{ github.workspace }}/docs/book"
5555
./docs/book
5656
- name: Upload artifact
57-
uses: actions/upload-pages-artifact@v4
57+
uses: actions/upload-pages-artifact@v5
5858
with:
5959
path: ./docs/book
6060

@@ -68,4 +68,4 @@ jobs:
6868
steps:
6969
- name: Deploy to GitHub Pages
7070
id: deployment
71-
uses: actions/deploy-pages@v4
71+
uses: actions/deploy-pages@v5

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN install-ubuntu-packages \
2323
cmake \
2424
gcc g++ gfortran \
2525
gcc-13 g++-13 \
26+
libcurl4-openssl-dev \
2627
locales \
2728
make \
2829
parallel \

ci/ldmx-sw-to-test.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"v4.4.7",
1212
"v4.4.14",
1313
"v4.5.11",
14-
"v4.6.1"
14+
"v4.6.5",
15+
"v4.7.3"
1516
]
1617
}

docs/src/python-packages.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ Instead, it is recommended for you to craft your own environment which is lighte
1111
it easier to reproduce and move around clusters) and more nimble (allowing you to upgrade
1212
packages if you want to).
1313

14+
There are many programs satisfying this goal of managing a Python environment that
15+
can exist on your system without needing to run a container image. These can be
16+
faster than launching a container image but may not give you access to as fixed
17+
of an environment since many of the tools rely on system-installed Python.
18+
One tool that I (Tom) would suggest is [uv](https://docs.astral.sh/uv/).
19+
It handles the Python version as well as the versions of the packages you are using.
20+
You can "lock" these into a `uv.lock` file (committed to your analysis repository),
21+
so that you identical Python environments when switching between machines (or
22+
collaborating with other people).
23+
24+
Below, I've outlined how to do a similar procedure using `denv` instead of `uv`
25+
since I'm assuming you've already installed `denv` for use with ldmx-sw.
1426
```
1527
cd my-analysis
1628
denv init python:3.12 # choose python version

docs/src/ubuntu-packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ awk -f docs/src/get-ubuntu-packages.awk Dockerfile
3636
Package | Reason
3737
---|---
3838
binutils | Adding PPA and linking libraries
39+
ccache | Improve compilation of ldmx-sw
3940
cmake | Configuration of build system
4041
gcc | GNU C Compiler
4142
g++ | GNU C++ Compiler
@@ -51,6 +52,7 @@ python3-tk | matplotlib requires python-tk for some plotting
5152
rsync | necessary to build Pythia8
5253
fonts-freefont-ttf | fonts for plots with ROOT
5354
libafterimage-dev | ROOT GUI needs these for common shapes
55+
libcurl4-openssl-dev | Used curl for accessing Conditions within ldmx-sw
5456
libfftw3-dev | Discrete fourier transform in ROOT
5557
libfreetype6-dev | fonts for plots with ROOT
5658
libftgl-dev | Rendering fonts in OpenGL

0 commit comments

Comments
 (0)