diff --git a/.gitattributes b/.gitattributes index df988ff5..d78cd2d8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,3 @@ -.git_archival.txt export-subst python/.git_archival.txt export-subst +.git_archival.txt export-subst diff --git a/.github/workflows/deploy_dockerhub.yml b/.github/workflows/deploy_dockerhub.yml index a9be1fc3..88fe9581 100644 --- a/.github/workflows/deploy_dockerhub.yml +++ b/.github/workflows/deploy_dockerhub.yml @@ -24,13 +24,13 @@ jobs: if: needs.check-secret.outputs.secrets-defined == 'true' steps: - uses: actions/checkout@master - - run: git archive -v -o container/charliecloud/parpe_base/parpe.tar.gz --format=tar.gz HEAD + - run: git archive -v -o container/charliecloud/container_files/parpe.tar.gz --format=tar.gz HEAD - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 with: name: dweindl/parpe username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - workdir: container/charliecloud/parpe_base/ + workdir: container/charliecloud/ dockerfile: Dockerfile tag_names: true diff --git a/container/charliecloud/parpe_base/Dockerfile b/container/charliecloud/Dockerfile similarity index 62% rename from container/charliecloud/parpe_base/Dockerfile rename to container/charliecloud/Dockerfile index 5389e867..35e29ea1 100644 --- a/container/charliecloud/parpe_base/Dockerfile +++ b/container/charliecloud/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:24.04 -COPY . /container-files +COPY /container_files /container-files RUN /container-files/install.sh && rm -rf /tmp && mkdir /tmp @@ -9,7 +9,7 @@ ENV CC clang ENV CXX clang++ ENV OMPI_CC clang ENV OMPI_CXX clang++ -RUN /container-files/install_parpe.sh +RUN /container-files/install_parpe.sh && echo "source /parPE/build/venv/bin/activate" >> /etc/bash.bashrc ENV PARPE_DIR "/parPE" diff --git a/container/charliecloud/parpe_base/90forceyes b/container/charliecloud/container_files/90forceyes similarity index 100% rename from container/charliecloud/parpe_base/90forceyes rename to container/charliecloud/container_files/90forceyes diff --git a/container/charliecloud/parpe_base/config b/container/charliecloud/container_files/config similarity index 100% rename from container/charliecloud/parpe_base/config rename to container/charliecloud/container_files/config diff --git a/container/charliecloud/parpe_base/gbl_env.sh b/container/charliecloud/container_files/gbl_env.sh similarity index 100% rename from container/charliecloud/parpe_base/gbl_env.sh rename to container/charliecloud/container_files/gbl_env.sh diff --git a/container/charliecloud/parpe_base/install.sh b/container/charliecloud/container_files/install.sh similarity index 100% rename from container/charliecloud/parpe_base/install.sh rename to container/charliecloud/container_files/install.sh diff --git a/container/charliecloud/parpe_base/install_parpe.sh b/container/charliecloud/container_files/install_parpe.sh similarity index 100% rename from container/charliecloud/parpe_base/install_parpe.sh rename to container/charliecloud/container_files/install_parpe.sh diff --git a/doc/parpe_with_charliecloud.md b/doc/parpe_with_charliecloud.md index 3bbab213..9db3ca78 100644 --- a/doc/parpe_with_charliecloud.md +++ b/doc/parpe_with_charliecloud.md @@ -22,8 +22,8 @@ This will create the parPE base image *from parPE from github* takes about 10'): ```shell -git archive -v -o container/charliecloud/parpe_base/parpe.tar.gz --format=tar.gz HEAD -cd container/charliecloud/parpe_base +git archive -v -o container/charliecloud/container_files/parpe.tar.gz --format=tar.gz HEAD +cd container/charliecloud/ ch-build -t parpe . ``` diff --git a/python/pyproject.toml b/python/pyproject.toml index bd08f20c..ca518b6f 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "setuptools-scm"] +requires = ["setuptools>=64", "setuptools-scm>=8"] build-backend = "setuptools.build_meta" [project]