Skip to content

Commit 62f97ce

Browse files
committed
fixing some bugs
1 parent 25a45db commit 62f97ce

7 files changed

+15
-10
lines changed

.github/workflows/build-container-prep-image.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
contents: read
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
lfs: 'true'
1517

1618
- name: Build image
17-
run: docker build . -f ./client/container_preparation/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
19+
run: git lfs pull ; docker build . -f ./client/container_preparation/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
1820

1921
- name: Log in to registry
2022
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

.github/workflows/build-data-prep-image.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
contents: read
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
lfs: 'true'
1517

1618
- name: Build image
17-
run: docker build . -f ./client/data_preparation/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
19+
run: git lfs pull ; docker build . -f ./client/data_preparation/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
1820

1921
- name: Log in to registry
2022
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

.github/workflows/build-job-prep-image.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
contents: read
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
lfs: 'true'
1517

1618
- name: Build image
17-
run: docker build . -f ./client/job_preparation/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
19+
run: git lfs pull ; docker build . -f ./client/job_preparation/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
1820

1921
- name: Log in to registry
2022
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

.github/workflows/build-server-image.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
contents: read
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
lfs: 'true'
1517

1618
- name: Build image
17-
run: docker build . -f ./server/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
19+
run: git lfs pull ; docker build . -f ./server/Dockerfile -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
1820

1921
- name: Log in to registry
2022
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

client/job_preparation/prepare_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
ssh_copy_file(ssh_client, sbatch_path, f"~/")
5454

5555
# Copy config file to supercomputer
56-
ssh_copy_file(ssh_client, options.config, f"~/.config/hpcs.conf")
56+
ssh_copy_file(ssh_client, options.config, f"~/.config/hpcs-client.conf")
5757

5858
# Create public encryption key for output data
5959
ident = x25519.Identity.generate()

utils/agent-on-the-fly.conf

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ plugins {
2828
discover_workload_path = true
2929
}
3030
}
31-
32-
WorkloadAttestor "systemd" {
33-
}
3431

3532
WorkloadAttestor "docker" {
3633
plugin_data {}

utils/ssh_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def ssh_connect(username: str) -> SSHClient:
3535
host,
3636
port,
3737
username=username,
38-
pkey=pkey,
39-
look_for_keys=False,
38+
pkey=pkey,
39+
look_for_keys=False,
4040
auth_timeout=30,
4141
timeout=30,
4242
)

0 commit comments

Comments
 (0)