Skip to content
Closed
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
24 changes: 11 additions & 13 deletions .calkit/env-locks/tex.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@
"RepoTags": [
"texlive/texlive:latest-full"
],
"RepoDigests": [
"texlive/texlive@sha256:9080025bd1762766c229ed7543107aa7799a82fa65b0643c4191305677863859"
],
"Architecture": "arm64",
"RepoDigests": [],
"Architecture": "amd64",
"Os": "linux",
"Size": 2465928923,
"Size": 5197757512,
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:9d0dd3a5ed802836311cd0db8808b203821cf667f4abc13b09a4bdfe2e6d4e27",
"sha256:4d9f50bad01fd6cdbc25818ee80ab8c34841dd5f73a2bc7855118f550ec97ece",
"sha256:1582e2b661d185b296c9f3f97e584f3089099434d0cd5690987a6730fbcb0177",
"sha256:612c2b206201f241fa381be8ec4426c972d1f1f87aa0a03c6069e3208234cdd8",
"sha256:f235b594b1218e7983aa6603bc5fd152305a90659847a7790d6f905b18503cf5",
"sha256:33449c67d1f954e1a00e30c99e92ba2841cf2ea88f2d0ebddf4911140e46c676",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:5e29423f9aabd412d46a6ab5c11350d500d28c873047f5a587a9d1f823428ee9",
"sha256:ef76807910ef7124b81c287007d336ee01898224ccf1da60308fc2b0a1a9cadc",
"sha256:5a824a1ec9bb89001dd6c77033c29f38252da1f216520fab448e61a098268976",
"sha256:4820f6792e6cb541113cfb2778757a9d93acdd3ad80997d510e294fd480b2950",
"sha256:7b37c02f7d5213a671c2d5fe67dc52449710d2e6df5661bb1e7814c90f9b2361"
"sha256:ed8ba60461943d8baa2c622b730294f7b717199f998c783063e5f9db232245e0",
"sha256:f48fed1f5cceccd41a655d62bf282143f0d16aa6e84a1c68a8abcefea04c7a34",
"sha256:049fa4b5ad5f9b5f6506452fc5565d6269de882eb30e6a4317144e517584afcf",
"sha256:72569cd299896a7599bf2e4f7edb0423f0c36d46f014a138dcc8da4e3e7bf573",
"sha256:2756095a65922d1b03af7c30a3424e9fe5ecb45ac06de1f9ff169b114da4a96a"
]
},
"DockerfileMD5": null,
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ jobs:
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Cache Docker images
uses: actions/cache@v4
with:
path: /tmp/docker-cache
key: ${{ runner.os }}-docker-images
restore-keys: |
${{ runner.os }}-docker-
- name: Load Docker cache
run: |
if [ -f /tmp/docker-cache/docker-cache.tar ]; then
echo "Loading Docker images from cache..."
docker load < /tmp/docker-cache/docker-cache.tar
fi
- name: Setup uv
uses: astral-sh/setup-uv@v5
- name: Install Calkit
Expand All @@ -47,6 +60,16 @@ jobs:
- run: calkit dvc pull
continue-on-error: true
- run: calkit run
- name: Save Docker cache
run: |
mkdir -p /tmp/docker-cache
# Save all non-base images
docker images --format "{{.Repository}}:{{.Tag}}" | grep -v "<none>" | grep -v "ubuntu\|alpine\|debian" > /tmp/docker-images.txt || true
if [ -s /tmp/docker-images.txt ]; then
echo "Saving Docker images to cache..."
docker save $(cat /tmp/docker-images.txt) > /tmp/docker-cache/docker-cache.tar
fi
if: always()
# If running on a PR, push to that branch, else push to main
- run: calkit save -am "Run pipeline"
env:
Expand Down
10 changes: 5 additions & 5 deletions dvc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ stages:
deps:
- path: .calkit/env-locks/tex.json
hash: md5
md5: 7c034176d0205f486250194d39887994
size: 1171
md5: 534a02476c131f7ff8aade00da924521
size: 1068
- path: figures
hash: md5
md5: dda637b5e3496cfe2e567067e3803a76.dir
Expand All @@ -70,7 +70,7 @@ stages:
outs:
- path: paper/paper.pdf
hash: md5
md5: eade534fc60e0302dc277944db06a83b
md5: e5d87f1604108769c4d0f2906c602ac6
size: 92533
_check_env_py:
cmd: calkit check conda-env --file environment.yml --output
Expand Down Expand Up @@ -110,5 +110,5 @@ stages:
outs:
- path: .calkit/env-locks/tex.json
hash: md5
md5: 7c034176d0205f486250194d39887994
size: 1171
md5: 534a02476c131f7ff8aade00da924521
size: 1068