diff --git a/.github/workflows/gitpod-build+deploy.yaml b/.github/workflows/gitpod-build+deploy.yaml deleted file mode 100644 index 1549cb0..0000000 --- a/.github/workflows/gitpod-build+deploy.yaml +++ /dev/null @@ -1,40 +0,0 @@ -on: - push: - branches: - - 'master' - paths: - - 'gitpod/**' - pull_request: - branches: - - 'master' - paths: - - 'gitpod/**' - -jobs: - docker: - runs-on: ubuntu-latest - name: Build & deploy ``gitpod`` - steps: - - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: gitpod - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - tags: | - eoshep/gitpod:latest - eoshep/gitpod:${{ github.sha }} - cache-from: type=gha - cache-to: type=gha,mode=max diff --git a/.github/workflows/manylinux_2_28-build+deploy.yaml b/.github/workflows/manylinux_2_28-build+deploy.yaml deleted file mode 100644 index 2bddb0f..0000000 --- a/.github/workflows/manylinux_2_28-build+deploy.yaml +++ /dev/null @@ -1,112 +0,0 @@ -on: - push: - branches: - - 'master' - paths: - - 'manylinux_2_28/**' - pull_request: - branches: - - 'master' - paths: - - 'manylinux_2_28/**' - -jobs: - build: - name: Build & deploy ``manylinux_2_28`` images - strategy: - fail-fast: false - matrix: - include: - - { platform: linux/amd64, arch: x86_64, runner: ubuntu-24.04 } - - { platform: linux/arm64, arch: aarch64, runner: ubuntu-24.04-arm } - runs-on: ${{ matrix.runner }} - steps: - - - name: Checkout - uses: actions/checkout@v4 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: eoshep/manylinux_2_28 - tags: | - type=raw,value={{date 'YYYY-MM-DD'}}-{{sha}} - type=raw,value=latest - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - id: build - uses: docker/build-push-action@v3 - with: - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - context: manylinux_2_28/${{ matrix.arch }} - platforms: ${{ matrix.platform }} - labels: ${{ steps.meta.outputs.labels }} - outputs: type=image,name=eoshep/manylinux_2_28,push-by-digest=true,name-canonical=true,push=true - - - name: Export digest - run: | - mkdir -p /tmp/digests - digest="${{ steps.build.outputs.digest }}" - touch "/tmp/digests/${digest#sha256:}" - - - name: Upload digest - uses: actions/upload-artifact@v4 - with: - name: digest-${{ matrix.arch }} - path: /tmp/digests/* - if-no-files-found: error - retention-days: 1 - - merge: - runs-on: ubuntu-latest - needs: - - build - steps: - - - name: Download digests - uses: actions/download-artifact@v4 - with: - pattern: digest-* - path: /tmp/digests - merge-multiple: true - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: eoshep/manylinux_2_28 - tags: | - type=raw,value={{date 'YYYY-MM-DD'}}-{{sha}} - type=raw,value=latest - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Create manifest list and push - working-directory: /tmp/digests - run: | - docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ - $(printf 'eoshep/manylinux_2_28@sha256:%s ' *) - - - name: Inspect image - run: | - docker buildx imagetools inspect eoshep/manylinux_2_28:${{ steps.meta.outputs.version }} \ No newline at end of file diff --git a/gitpod/Dockerfile b/gitpod/Dockerfile deleted file mode 100644 index 09c20a7..0000000 --- a/gitpod/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM gitpod/workspace-full:2022-12-02-22-15-49 - -ENV DEBIAN_FRONTEND noninteractive -RUN sudo apt-get -qq update -RUN sudo apt-get install -y autoconf automake g++ clang-12 libtool pkg-config libboost-filesystem-dev \ - libboost-python-dev libboost-system-dev libgsl0-dev libyaml-cpp-dev \ - pandoc python3 python3-dev python3-pip python3-venv python3-h5py python3-matplotlib python3-numpy python3-scipy \ - make git texlive-latex-base texlive-latex-extra texlive-xetex cm-super dvipng - -# install pypmc -RUN pip3 install --user -U argcomplete cython dynesty numpy pypmc termcolor scipy wilson diff --git a/manylinux_2_28/aarch64/Dockerfile b/manylinux_2_28/aarch64/Dockerfile deleted file mode 100644 index 4df5b6a..0000000 --- a/manylinux_2_28/aarch64/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -FROM quay.io/pypa/manylinux_2_28_aarch64:2025-05-16-b59c0c7 - -RUN yum -y install chrpath cmake git libtool \ - && yum -y clean all \ - && rm -rf /var/cache/yum - -# installation destination of the pkg-config file is hardcoded to /usr/lib/pkgconfig -RUN mkdir -p /yaml/build \ - && pushd /yaml \ - && curl -L -O https://github.com/jbeder/yaml-cpp/archive/refs/tags/0.8.0.tar.gz \ - && tar zxf 0.8.0.tar.gz \ - && pushd build \ - && export CXXFLAGS="-O2 -g -fPIC -DPIC" \ - && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_SHARED_LIBS=on -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ../yaml-cpp-0.8.0 \ - && make -j4 \ - && make install \ - && popd \ - && popd \ - && rm -Rf yaml - -# install GSL -RUN mkdir /gsl \ - && pushd /gsl \ - && curl -L -O https://ftp.gnu.org/gnu/gsl/gsl-2.7.tar.gz \ - && tar zxf /gsl/gsl-2.7.tar.gz \ - && pushd gsl-2.7 \ - && ./configure --prefix=/usr \ - && make -j4 \ - && make install \ - && popd \ - && popd \ - && rm -Rf gsl - -# python version-dependent part - -ARG PYTHON_VERSIONS="3.10 3.11 3.12 3.13 3.14" - -# install boost -# - fix bug when linking against boost/phoenix -RUN mkdir /boost \ - && pushd /boost \ - && curl -L -O https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.gz \ - && tar zxf /boost/boost_1_88_0.tar.gz \ - && pushd boost_1_88_0 \ - && sed -i -e '/^#include =2' scipy termcolor twine pyhf pypmc pyyaml wheel wilson ; \ - done - -# make pkg.m4 available to aclocal -RUN cp /usr/share/aclocal/pkg.m4 /usr/local/share/aclocal/pkg.m4 diff --git a/manylinux_2_28/x86_64/Dockerfile b/manylinux_2_28/x86_64/Dockerfile deleted file mode 100644 index 64d7394..0000000 --- a/manylinux_2_28/x86_64/Dockerfile +++ /dev/null @@ -1,64 +0,0 @@ -FROM quay.io/pypa/manylinux_2_28_x86_64:2025-05-16-b59c0c7 - -RUN yum -y install chrpath cmake git gsl gsl-devel libtool - -# installation destination of the pkg-config file is hardcoded to /usr/lib/pkgconfig -# - using -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to avoid https://github.com/jbeder/yaml-cpp/issues/1352 -RUN mkdir -p /yaml/build \ - && pushd /yaml \ - && curl -L -O https://github.com/jbeder/yaml-cpp/archive/refs/tags/0.8.0.tar.gz \ - && tar zxf 0.8.0.tar.gz \ - && pushd build \ - && export CXXFLAGS="-O2 -g -march=x86-64 -fPIC -DPIC" \ - && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_SHARED_LIBS=on -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ../yaml-cpp-0.8.0 \ - && make -j2 \ - && make install \ - && popd \ - && popd \ - && rm -Rf yaml - -# install GSL -RUN mkdir /gsl \ - && pushd /gsl \ - && curl -L -O https://ftp.gnu.org/gnu/gsl/gsl-2.7.tar.gz \ - && tar zxf /gsl/gsl-2.7.tar.gz \ - && pushd gsl-2.7 \ - && ./configure --prefix=/usr \ - && make -j4 \ - && make install \ - && popd \ - && popd \ - && rm -Rf gsl - -# python version-dependent part - -ARG PYTHON_VERSIONS="3.10 3.11 3.12 3.13 3.14" - -# install boost -# - fix bug when linking against boost/phoenix -RUN mkdir /boost \ - && pushd /boost \ - && curl -L -O https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.gz \ - && tar zxf /boost/boost_1_88_0.tar.gz \ - && pushd boost_1_88_0 \ - && sed -i -e '/^#include =2' scipy termcolor twine pyhf pypmc pyyaml wheel wilson ; \ - done - -# make pkg.m4 available to aclocal -RUN cp /usr/share/aclocal/pkg.m4 /usr/local/share/aclocal/pkg.m4