summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-18 08:57:10 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-18 08:57:10 +0200
commit90162f385d9c75c668278bd80eca3ea63aff0e89 (patch)
treec9ba752f80766c591894474cc1a8b19085e2c6d7
parente6c6d0291d4a4a0101e7b840695d8a9f44557fac (diff)
downloadliw-ci-90162f385d9c75c668278bd80eca3ea63aff0e89.tar.gz
ewww
-rw-r--r--ci-prod.ick298
1 files changed, 12 insertions, 286 deletions
diff --git a/ci-prod.ick b/ci-prod.ick
index 217075e..a9660b2 100644
--- a/ci-prod.ick
+++ b/ci-prod.ick
@@ -693,6 +693,18 @@ projects:
rsync_target: ickliwfi@http.liw.fi:/srv/http/vmadm.liw.fi
pipelines: *deb_ci_rustup_pipelines
+ - project: ewww
+ parameters:
+ <<: *dummy_program_params
+ sources:
+ - name: code
+ repo: git://git.liw.fi/ewww
+ ref: main
+ location: src
+ workspace_name: ewww
+ rsync_target: ickliwfi@http.liw.fi:/srv/http/ewww.liw.fi
+ pipelines: *deb_ci_rustup_pipelines
+
pipelines:
- pipeline: ikiwiki
@@ -859,113 +871,6 @@ pipelines:
-# projects:
-#
-# # The base dummy project: CI builds for stretch. Other dummy projects
-# # will build upon this. This defines the common parameters and
-# # pipelines, which will be reused by "subclasses" via YAML magic.
-#
-# # Dummy project to do RELEASE builds on stretch.
-#
-# - project: dummy-release-stretch
-# parameters: &dummy_release_stretch_params
-# <<: *dummy_stretch_params
-# apt_sources:
-# - url: http://ci-prod-controller.vm.liw.fi/debian
-# dist: stretch
-# section: main
-# pipelines: &deb_release_pipelines
-# - ick/setup_container
-# - ick/add_apt_signing_keys
-# - ick/add_apt_sources
-# - ick/restore_workspace
-# - ick/get_sources
-# - ick/install_debian_build_dependencies
-# - ick/build_debian_release
-# - ick/archive_debian_release
-# - ick/save_workspace
-#
-# # Real projects follow. Each project is duplicated with a stretch and
-# # sid version, for CI, and for release.
-#
-# - project: ewww-ci-sid
-# parameters:
-# <<: *dummy_buster_params
-# sources: &ewww_sources
-# - name: code
-# repo: git://git.liw.fi/ewww
-# ref: main
-# location: src
-# rsync_src: publish
-# rsync_target: ickliwfi@journal.liw.fi:/srv/http/ewww.liw.fi
-# pipelines:
-# - ick/setup_container
-# - ick/add_apt_signing_keys
-# - ick/add_apt_sources
-# - ick/get_sources
-# - ick/install_debian_build_dependencies
-# - build_deb_ci
-# - ick/upload_debs
-# - docgen_and_publish_subplots
-#
-# pipelines:
-#
-# - pipeline: build_rust_project_as_deb
-# actions:
-# - where: container
-# shell: |
-# export TMPDIR=/workspace
-#
-# rustup show
-# rustup default stable
-# rustc --version
-#
-# cd /workspace/src
-# git clean -fdxq -e target
-#
-# rm -f ../*_*.*
-# echo looking for new releases to build
-#
-# ls -l /workspace
-# [ -e /workspace/built_tags ] && cat /workspace/built_tags
-# git tag -l
-# python3 ./list_new_release_tags /workspace/built_tags > /workspace/new_tags
-# [ -e /workspace/built_tags ] && cat /workspace/built_tags
-# cat /workspace/new_tags
-#
-# cat /workspace/new_tags | while read tag
-# do
-# echo ----------------------------------------
-# echo "New release tag: $tag"
-# bash ./build_release_deb.sh /workspace "$tag"
-# echo "Finished building tag $tag"
-# done
-# echo ========================================
-# echo "Finished building release debs (if any)"
-
-
-# projects:
-#
-# - project: rust-systree
-# parameters:
-# debian_codename: buster
-# packages:
-# - apt-transport-https
-# - jq
-# - python3
-# - locales-all
-# - git
-# - build-essential
-# - devscripts
-# - cargo
-# - rustc
-# - graphviz
-# artifact_name: systrees-debian-buster-rust
-# notify:
-# - liw@liw.fi
-# pipelines:
-# - ick/build_debian_systree
-#
# - project: subplot
# parameters:
# sources:
@@ -983,63 +888,7 @@ pipelines:
# section: main
# rsync_src: examples
# rsync_target: ickliwfi@http.liw.fi:/srv/http/examples.subplot.liw.fi
-# pipelines: &deb_ci_pipelines
-# - ick/setup_container
-# - ick/add_apt_signing_keys
-# - ick/add_apt_sources
-# - ick/get_sources
-# - ick/install_debian_build_dependencies
-# - rustup
-# - build_subplot_deb
-# - ick/upload_debs
-# - ick/save_workspace
-#
-# pipelines:
-#
-# - pipeline: build_subplot_deb
-# actions:
-# - where: container
-# shell: |
-# export HOME=/workspace
-# export PATH="$HOME/.cargo/bin:$PATH"
-#
-# cd /workspace/src
-# name="$(dpkg-parsechangelog -S Source)"
-# version="$(dpkg-parsechangelog -S Version)"
-# distribution="$(dpkg-parsechangelog -S Distribution)"
-#
-# case "$version" in
-# *-*)
-# upstream="$(echo "$version" | sed 's/-[^-]*$//')"
-# debian="$(echo "$version" | sed 's/^.*-//')"
-# ;;
-# *)
-# upstream="$version"
-# debian=0
-# ;;
-# esac
-#
-# upstream="${upstream}.ci0.${BUILD_NUMBER}"
-# civersion="${upstream}-${debian}"
-#
-# git clean -fdx -e target
-# ./check -v
-# install -d /workspace/examples
-# install -m 0644 *.html *.pdf /workspace/examples/.
-#
-# export TMPDIR=/workspace
-# rm -f /workspace/*_*
-# ./build-deb /workspace
-#
-# cd /workspace
-# ls -l
-#
-# - action: rsync
-# where: host
-
-# projects:
-#
# - project: obnam
# parameters:
# sources:
@@ -1054,110 +903,11 @@ pipelines:
# rsync_src: examples
# rsync_target: ickliwfi@http.liw.fi:/srv/http/doc.obnam.org
# workspace_name: workspace-obnam
-# pipelines:
-# - ick/setup_container
-# - ick/add_apt_signing_keys
-# - ick/add_apt_sources
-# - ick/restore_workspace
-# - ick/get_sources
-# - rustup
-# - ick/install_debian_build_dependencies
-# - build_obnam_deb
-# - ick/upload_debs
-# - ick/save_workspace
-#
-#
#
# pipelines:
#
# - pipeline: build_obnam_deb
# actions:
-# # - where: container
-# # shell: |
-# # export HOME=/workspace
-# # export PATH="$HOME/.cargo/bin:$PATH"
-# # export TMPDIR=/workspace
-#
-# # cd /workspace/src
-#
-# # apt-get install -y sudo
-# # adduser --disabled-password --gecos worker worker
-# # chown -R worker:worker /workspace
-# # rustup show
-#
-# # if ! sudo -u worker bash -x ./check --save-on-failure=fail.tar.gz "unreadable file"
-# # then
-# # rustc --version
-# # cat test.log
-# # tar tvf fail.tar.gz
-# # exit 1
-# # fi
-#
-# # name="$(dpkg-parsechangelog -S Source)"
-# # version="$(dpkg-parsechangelog -S Version)"
-# # distribution="$(dpkg-parsechangelog -S Distribution)"
-#
-# # case "$version" in
-# # *-*)
-# # upstream="$(echo "$version" | sed 's/-[^-]*$//')"
-# # debian="$(echo "$version" | sed 's/^.*-//')"
-# # ;;
-# # *)
-# # upstream="$version"
-# # debian=0
-# # ;;
-# # esac
-#
-# # upstream="${upstream}.ci0.${BUILD_NUMBER}"
-# # civersion="${upstream}-${debian}"
-#
-# # rm -f ../*_*.*
-# # git clean -fdx -e target
-# # git archive HEAD | xz > "../${name}_${upstream}.orig.tar.xz"
-#
-# # dch --no-conf -v "$civersion" -D "${distribution}-ci" --force-distribution "CI build"
-#
-# # rustc --version
-# # rustup default stable
-# # sudo -u worker rustup default stable
-# # sudo -u worker rustc --version
-# # sudo -u worker env "PATH=$PATH" dpkg-buildpackage -us -uc -sa || cat /tmp/subplot_*.diff.* 2>&1
-#
-# # apt-get update
-# # apt-get install -y subplot \
-# # pandoc-citeproc \
-# # texlive-latex-base \
-# # texlive-latex-recommended \
-# # texlive-fonts-recommended \
-# # plantuml
-#
-# # rm -f obnam.html obnam.pdf
-# # sp-docgen obnam.md -o obnam.html
-# # sp-docgen obnam.md -o obnam.pdf
-# # install -d /workspace/examples
-# # install -m 0644 obnam.html obnam.pdf /workspace/examples/.
-#
-# # # Build new releases.
-# # echo ========================================
-# # echo looking for new releases to
-#
-# # # TEMPORARILY get the latest release tag
-# # rm -f /workspace/built_tags # FIXME
-# # touch /workspace/built_tags # FIXME
-# # python3 ./list_new_release_tags /workspace/built_tags
-# # tac < /workspace/built_tags | tail +2 > foo
-# # mv foo /workspace/built_tags
-#
-# # python3 ./list_new_release_tags /workspace/built_tags | while read tag
-# # do
-# # echo ----------------------------------------
-# # echo "New release tag: $tag"
-# # sudo -u worker env "PATH=$PATH" bash ./build_release_deb.sh /workspace "$tag"
-# # echo "Finished building tag $tag"
-# # done
-# # echo ========================================
-# # echo "Finished building release debs (if any)"
-#
# - where: container
# shell: |
# export HOME=/workspace
@@ -1223,27 +973,3 @@ pipelines:
# sp-docgen obnam.md -o obnam.pdf
# install -d /workspace/examples
# install -m 0644 obnam.html obnam.pdf /workspace/examples/.
-#
-# # # Build new releases.
-# # echo ========================================
-# # echo looking for new releases to build
-#
-# # # TEMPORARILY get the latest release tag
-# # rm -f /workspace/built_tags # FIXME
-# # touch /workspace/built_tags # FIXME
-# # python3 ./list_new_release_tags /workspace/built_tags
-# # tac < /workspace/built_tags | tail +2 > foo
-# # mv foo /workspace/built_tags
-#
-# # python3 ./list_new_release_tags /workspace/built_tags | while read tag
-# # do
-# # echo ----------------------------------------
-# # echo "New release tag: $tag"
-# # sudo -u worker env "PATH=$PATH" bash ./build_release_deb.sh /workspace "$tag"
-# # echo "Finished building tag $tag"
-# # done
-# # echo ========================================
-# # echo "Finished building release debs (if any)"
-#
-# - action: rsync
-# where: host