libgnt/libgnt

Create a zip file for the docs

10 months ago, Gary Kramlich
11e76ef096a3
Parents c59e9d4a6772
Children e9f4e4f0cf13
Create a zip file for the docs

This make it easier and faster to get them into the image for
docs.imfreedom.org.

Testing Done:
Built locally. I also updated the debian-bookworm-amd64 image to add zip.

Reviewed at https://reviews.imfreedom.org/r/2464/
  • +7 -3
    convey.yml
  • --- a/convey.yml Mon Jun 05 00:06:34 2023 -0500
    +++ b/convey.yml Thu Jun 15 01:59:52 2023 -0500
    @@ -1,7 +1,7 @@
    environment:
    - REGISTRY_HOST=docker.io
    - REPOSITORY=libgnt/builders
    - - DOCS_BUILD_IMAGE=${REGISTRY_HOST}/${REPOSITORY}:debian-bullseye-amd64
    + - DOCS_BUILD_IMAGE=${REGISTRY_HOST}/${REPOSITORY}:debian-bookworm-amd64
    tasks:
    build:
    @@ -15,23 +15,27 @@
    - debian-bullseye-amd64
    - fedora-34-amd64
    - libgnt-docs
    + - libgnt-docs.zip
    docs-clean:
    type: convey/clean
    files:
    - libgnt-docs
    + - libgnt-docs.zip
    docs-build:
    type: docker/run
    image: ${DOCS_BUILD_IMAGE}
    workdir: ${CONVEY_WORKSPACE}
    script:
    - set -ex
    - - meson build-docs
    + - meson setup build-docs -Ddoc=true
    - ninja -C build-docs doc
    + - cd build-docs/doc
    + - zip -9r libgnt-docs.zip libgnt
    docs-export:
    type: docker/export
    files:
    - - build-docs/doc/libgnt:libgnt-docs
    + - build-docs/doc/libgnt-docs.zip:libgnt-docs.zip
    export:
    type: docker/export