From 7ee2c13be3f179174014a80bc3dfa294a78533a9 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 17 Mar 2021 10:16:40 +0200 Subject: cleanup --- ci-prod-distixes.ick | 121 ------------- ci-prod-misc.ick | 38 ---- ci-prod-obnam.ick | 3 +- ci-prod-programs.ick | 493 +-------------------------------------------------- ci-prod-systrees.ick | 15 -- demo.ick | 153 ---------------- status.sh | 5 - 7 files changed, 3 insertions(+), 825 deletions(-) delete mode 100644 ci-prod-distixes.ick delete mode 100644 ci-prod-misc.ick delete mode 100644 demo.ick delete mode 100755 status.sh diff --git a/ci-prod-distixes.ick b/ci-prod-distixes.ick deleted file mode 100644 index 6b0cd77..0000000 --- a/ci-prod-distixes.ick +++ /dev/null @@ -1,121 +0,0 @@ -# Some projetcts to build static web sites from distix repos. - -projects: - - - project: stretch-distix-systree - parameters: - systree_name: systrees-debian-stretch-base - artifact_name: systrees-debian-stretch-distix - packages: - - locales-all - - distix - notify: [liw@liw.fi] - apt_sources: - - url: http://ci-prod-controller.vm.liw.fi/debian - dist: stretch-ci - section: main - apt_signing_pub_keys: - code.liw.fi: | - -----BEGIN PGP PUBLIC KEY BLOCK----- - - mQINBFrLO7kBEADdz6mHstYmKU5Dp6OSjxWtWaqTDOX1sJdmmaIK/9EKVIH0Maxp - 5kvVO5G6mULLAjv/kLG0MxasHPrq8I2A/y8AqKAGVL8QelwLjQMIFZ30/VbGQPHS - +T5TZXEnoQtNce1GUhFwJ38ZyjjwHBFV9tSec7rZ2Q3YeM3nNnGPf6DacXGfEOPO - HIN4sXAN2hzNXNjKRzTIvxQseb6nr7afUh/SlZ3yhQOCrIzmYlD7tP9WJe7ofL0p - JY4pDQYw8rT6nC2BE/ioemh84kERCT1vCe+OVFlSRuMlqfEv+ZpKQ+itOmPDQ/lM - jpUm1K2hrW/lWpxT/ZxHKo/w1K36J5WshgMZxfUu5BMCL9LMqMcrXNhNjDMfxDMM - 3yBPOvQ4ls6fecOZ/bsFo1p8VzMk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NewrhAY7Kod - GWXTer9RxzTGA3EXFGvNr+BBOOxSj0SfWTl0Olo7J5dnxof+jLAUS1VHpceHGHps - GSJSdir7NkZidgwoCPA7BTqsb5LN - =dXB0 - -----END PGP PUBLIC KEY BLOCK----- - pipelines: - - ick/setup_container - - ick/add_apt_signing_keys - - ick/add_apt_sources - - ick/install_debian_packages - - ick/archive_systree - - - project: dummy_distix - parameters: &distix_params - rsync_src: html - systree_name: systrees-debian-stretch-distix - notify: [liw@liw.fi] - pipelines: &distix_pipelines - - ick/setup_container - - ick/get_sources - - distix_html - - - project: bugs@liw.fi - parameters: - <<: *distix_params - rsync_target: ickliwfi@bugs.liw.fi:/srv/http/bugs.liw.fi - sources: - - name: source - ref: master - location: src - repo: ssh://git@git.liw.fi/bugs-liw-fi-distix - pipelines: *distix_pipelines - - - project: tickets@distix.eu - parameters: - <<: *distix_params - rsync_target: ickliwfi@tickets.distix.eu:/srv/http/tickets.distix.eu - sources: - - name: source - ref: master - location: src - repo: ssh://git@git.liw.fi/distix-bugs - pipelines: *distix_pipelines - - - project: ick-support - parameters: - <<: *distix_params - rsync_target: ickliwfi@ick-support.liw.fi:/srv/http/ick-support.liw.fi - sources: - - name: source - ref: master - location: src - repo: ssh://git@git.liw.fi/ick-devel-distix - pipelines: *distix_pipelines - -pipelines: - - - pipeline: distix_html - parameters: - - sources - - rsync_src - - rsync_target - actions: - - python: | - import os, re, subprocess - def RUN(*args, cwd=None): - print('Executing:', args, 'cwd:', cwd) - subprocess.check_call(args, cwd=cwd) - sources = params['sources'] - - RUN('rm', '-rf', 'html') - for source in sources: - dirname = source['location'] - RUN('distix', 'html', '/workspace/html', cwd=dirname) - where: container - - - action: rsync - where: host - diff --git a/ci-prod-misc.ick b/ci-prod-misc.ick deleted file mode 100644 index 1aaa654..0000000 --- a/ci-prod-misc.ick +++ /dev/null @@ -1,38 +0,0 @@ -projects: - -- project: debootstrap-unstable-on-sid - parameters: - systree_name: systrees-debian-sid-base - debootstrap_suite: unstable - notify: [liw@liw.fi] - pipelines: - - ick/setup_container - - debootstrap - -- project: debootstrap-stable-on-sid - parameters: - systree_name: systrees-debian-sid-base - debootstrap_suite: stable - notify: [liw@liw.fi] - pipelines: - - ick/setup_container - - debootstrap - - -pipelines: - -- pipeline: debootstrap - parameters: - - debootstrap_suite - actions: - - where: container - shell: | - apt-get update - apt-get upgrade -y - - - where: container - shell: | - suite="$(params | jq -r .debootstrap_suite)" - apt-get install -y debootstrap - debootstrap "$suite" "$suite" http://deb.debian.org/debian - find "$suite" -ls diff --git a/ci-prod-obnam.ick b/ci-prod-obnam.ick index de31a5d..83990e9 100644 --- a/ci-prod-obnam.ick +++ b/ci-prod-obnam.ick @@ -388,8 +388,7 @@ pipelines: rm -f ../*_*.* git clean -fdx -e target - ls -l /workspace - + git archive HEAD | xz > "../${name}_${upstream}.orig.tar.xz" dch --no-conf -v "$civersion" -D "${distribution}-ci" --force-distribution "CI build" diff --git a/ci-prod-programs.ick b/ci-prod-programs.ick index 7bb9aeb..dcddb01 100644 --- a/ci-prod-programs.ick +++ b/ci-prod-programs.ick @@ -291,134 +291,9 @@ projects: section: main pipelines: *deb_release_pipelines -# This are test projects for playing with CI and pipelines. - -# - project: heippapy-release-stretch -# parameters: -# <<: *dummy_release_stretch_params -# workspace_name: workspace-heippapy-stretch -# deb_artifact: debian-heippapy-stretch -# sources: &heippapy_sources -# - name: code -# repo: git://git.liw.fi/heippapy -# ref: master -# location: src -# pipelines: *deb_release_pipelines - -# - project: heippapy-release-sid -# parameters: -# <<: *dummy_release_unstable_params -# workspace_name: workspace-heippapy-sid -# deb_artifact: debian-heippapy-sid -# sources: *heippapy_sources -# pipelines: *deb_release_pipelines - # Real projects follow. Each project is duplicated with a stretch and # sid version, for CI, and for release. -- project: coverage-test-runner-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &coverage_test_runner_sources - - name: code - repo: git://git.liw.fi/coverage-test-runner - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: coverage-test-runner-ci-sid - parameters: - <<: *dummy_sid_params - sources: *coverage_test_runner_sources - pipelines: *deb_ci_pipelines - -- project: coverage-test-runner-release-stretch - parameters: - <<: *dummy_release_stretch_params - sources: *coverage_test_runner_sources - deb_artifact: debian-coverage-test-runner-stretch - workspace_name: workspace-coverage-test-runner-stretch - pipelines: *deb_release_pipelines - -- project: coverage-test-runner-release-sid - parameters: - <<: *dummy_release_unstable_params - sources: *coverage_test_runner_sources - deb_artifact: debian-coverage-test-runner-sid - workspace_name: workspace-coverage-test-runner-sid - pipelines: *deb_release_pipelines - - - -- project: cliapp-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &cliapp_sources - - name: code - repo: git://git.liw.fi/cliapp - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: cliapp-ci-sid - parameters: - <<: *dummy_sid_params - sources: *cliapp_sources - pipelines: *deb_ci_pipelines - -- project: cliapp-release-stretch - parameters: - <<: *dummy_release_stretch_params - sources: *cliapp_sources - deb_artifact: debian-cliapp-stretch - workspace_name: workspace-cliapp-stretch - pipelines: *deb_release_pipelines - -- project: cliapp-release-sid - parameters: - <<: *dummy_release_unstable_params - sources: *cliapp_sources - deb_artifact: debian-cliapp-sid - workspace_name: workspace-cliapp-sid - pipelines: *deb_release_pipelines - - - -- project: cachedir-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &cachedir_sources - - name: code - repo: git://git.liw.fi/cachedir - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: cachedir-ci-sid - parameters: - <<: *dummy_sid_params - sources: *cachedir_sources - pipelines: *deb_ci_pipelines - - -- project: bumper-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &bumper_sources - - name: code - repo: git://git.liw.fi/bumper - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: bumper-ci-sid - parameters: - <<: *dummy_sid_params - sources: *bumper_sources - pipelines: *deb_ci_pipelines - - - - project: clab-ci-stretch parameters: <<: *dummy_stretch_params @@ -437,79 +312,6 @@ projects: -- project: ttystatus-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &ttystatus_sources - - name: code - repo: git://git.liw.fi/ttystatus - ref: master - location: src - pipelines: *deb_ci_pipelines - -# commented out while pylint3 is uninstallable in sid -# - project: ttystatus-sid -# parameters: -# <<: *dummy_sid_params -# sources: *ttystatus_sources -# pipelines: *deb_ci_pipelines - - - -- project: copyright-statement-lint-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: ©right_statement_lint_sources - - name: code - repo: git://git.liw.fi/copyright-statement-lint - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: copyright-statement-lint-ci-sid - parameters: - <<: *dummy_sid_params - sources: *copyright_statement_lint_sources - pipelines: *deb_ci_pipelines - - - -- project: py_pgpwordlist-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &py_pgpwordlist_sources - - name: code - repo: git://git.liw.fi/py_pgpwordlist - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: py_pgpwordlist-ci-sid - parameters: - <<: *dummy_sid_params - sources: *py_pgpwordlist_sources - pipelines: *deb_ci_pipelines - - - -- project: distix-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &distix_sources - - name: code - repo: git://git.liw.fi/distix - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: distix-ci-sid - parameters: - <<: *dummy_sid_params - sources: *distix_sources - pipelines: *deb_ci_pipelines - - - - project: extrautils-ci-sid parameters: <<: *dummy_sid_params @@ -522,45 +324,9 @@ projects: -- project: cmdtest-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &cmdtest_sources - - name: code - repo: git://git.liw.fi/cmdtest - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: cmdtest-ci-sid - parameters: - <<: *dummy_sid_params - sources: *cmdtest_sources - pipelines: *deb_ci_pipelines - - - -- project: genbackupdata-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &genbackupdata_sources - - name: code - repo: git://git.liw.fi/genbackupdata - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: genbackupdata-ci-sid +- project: jt-ci-sid parameters: <<: *dummy_sid_params - sources: *genbackupdata_sources - pipelines: *deb_ci_pipelines - - - -- project: jt-ci-stretch - parameters: - <<: *dummy_stretch_params sources: &jt_sources - name: code repo: git://git.liw.fi/jt @@ -568,35 +334,11 @@ projects: location: src pipelines: *deb_ci_pipelines -- project: jt-ci-sid - parameters: - <<: *dummy_sid_params - sources: *jt_sources - pipelines: *deb_ci_pipelines - -- project: dupfiles-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &dupfiles_sources - - name: code - repo: git://git.liw.fi/dupfiles - ref: master - location: src - pipelines: *deb_ci_pipelines - -- project: dupfiles-ci-sid +- project: liw-automation-ci-sid parameters: <<: *dummy_sid_params - sources: *dupfiles_sources - pipelines: *deb_ci_pipelines - - - -- project: liw-automation-ci-stretch - parameters: - <<: *dummy_stretch_params sources: &liw_automation_sources - name: code repo: git://git.liw.fi/liw-automation @@ -604,12 +346,6 @@ projects: location: src pipelines: *deb_ci_pipelines -- project: liw-automation-ci-sid - parameters: - <<: *dummy_sid_params - sources: *liw_automation_sources - pipelines: *deb_ci_pipelines - - project: summain-rs-ci-sid @@ -653,17 +389,9 @@ projects: - ick/add_apt_signing_keys - ick/add_apt_sources - ick/restore_workspace - - list_workspace - - ick/get_sources - - list_workspace - - ick/install_debian_build_dependencies - - list_workspace - - rustup - - list_workspace - - build_rust_project_as_deb - ick/upload_debs - docgen_and_publish_subplots @@ -692,31 +420,6 @@ projects: - -- project: apifw-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &apifw_sources - - name: code - repo: git://git.liw.fi/apifw - ref: master - location: src - pipelines: *deb_ci_pipelines - - - -- project: slog-ci-stretch - parameters: - <<: *dummy_stretch_params - sources: &slog_sources - - name: code - repo: git://git.liw.fi/slog - ref: master - location: src - pipelines: *deb_ci_pipelines - - - # No vmdb2 stretch build. It doesn't build there. - project: vmdb2-ci-sid @@ -742,186 +445,8 @@ projects: - ick/build_deb_ci - ick/upload_debs - - - -- project: qvisqve-ci-stretch - parameters: - <<: *dummy_stretch_params - apt_sources: - - url: http://ci-prod-controller.vm.liw.fi/debian - dist: stretch-ci - section: main - - url: http://deb.debian.org/debian - dist: stretch-backports - section: main - sources: &qvisqve_sources - - name: code - repo: git://git.liw.fi/qvisqve - ref: master - location: src - pipelines: *deb_ci_pipelines - - - -- project: muck-poc-ci-stretch - parameters: - <<: *dummy_stretch_params - apt_sources: - - url: http://ci-prod-controller.vm.liw.fi/debian - dist: stretch-ci - section: main - - url: http://deb.debian.org/debian - dist: stretch-backports - section: main - sources: &muck_poc_sources - - name: code - repo: git://git.liw.fi/muck-poc - ref: master - location: src - pipelines: *deb_ci_pipelines - - -- project: ickui - parameters: - apt_signing_pub_keys: - nodesource: | - -----BEGIN PGP PUBLIC KEY BLOCK----- - Version: GnuPG v1 - Comment: GPGTools - https://gpgtools.org - - mQINBFObJLYBEADkFW8HMjsoYRJQ4nCYC/6Eh0yLWHWfCh+/9ZSIj4w/pOe2V6V+ - W6DHY3kK3a+2bxrax9EqKe7uxkSKf95gfns+I9+R+RJfRpb1qvljURr54y35IZgs - fMG22Np+TmM2RLgdFCZa18h0+RbH9i0b+ZrB9XPZmLb/h9ou7SowGqQ3wwOtT3Vy - qmif0A2GCcjFTqWW6TXaY8eZJ9BCEqW3k/0Cjw7K/mSy/utxYiUIvZNKgaG/P8U7 - 89QyvxeRxAf93YFAVzMXhoKxu12IuH4VnSwAfb8gQyxKRyiGOUwk0YoBPpqRnMmD - Dl7SdmY3oQHEJzBelTMjTM8AjbB9mWoPBX5G8t4u47/FZ6PgdfmRg9hsKXhkLJc7 - C1btblOHNgDx19fzASWX+xOjZiKpP6MkEEzq1bilUFul6RDtxkTWsTa5TGixgCB/ - G2fK8I9JL/yQhDc6OGY9mjPOxMb5PgUlT8ox3v8wt25erWj9z30QoEBwfSg4tzLc - Jq6N/iepQemNfo6Is+TG+JzI6vhXjlsBm/Xmz0ZiFPPObAH/vGCY5I6886vXQ7ft - qWHYHT8jz/R4tigMGC+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RxnO9A/4 - xxECi0l/BzNxeU1gK88hEaNjIfviPR/h6Gq6KOcNKZ8rVFdwFpjbvwHMQBWhrqfu - G3KaePvbnObKHXpfIKoAM7X2qfO+IFnLGTPyhFTcrl6vZBTMZTfZiC1XDQLuGUnd - sckuXINIU3DFWzZGr0QrqkuE/jyr7FXeUJj9B7cLo+s/TXo+RaVfi3kOc9BoxIvy - /qiNGs/TKy2/Ujqp/affmIMoMXSozKmga81JSwkADO1JMgUy6dApXz9kP4EE3g== - =CLGF - -----END PGP PUBLIC KEY BLOCK----- - apt_sources: - - url: https://deb.nodesource.com/node_10.x - dist: stretch - section: main - sources: - - name: code - repo: git://git.liw.fi/ickui - ref: master - location: src - rsync_src: src/dist - rsync_target: root@ick-ui.vm.liw.fi:/srv/http/ick-ui.vm.liw.fi - systree_name: systrees-debian-stretch-build-essential - notify: [liw@liw.fi, ivan@dolgov.fi] - pipelines: - - ick/setup_container - - ick/add_apt_signing_keys - - ick/add_apt_sources - - ick/get_sources - - ickui - pipelines: -- pipeline: ickui - parameters: - - rsync_src - - rsync_target - actions: - - where: container - shell: | - apt update - apt upgrade -y - apt install -y build-essential nodejs - cd src - make install - make build - - - action: rsync - where: host - -- pipeline: run_ansible - parameters: - - notify - actions: - - where: host - shell: | - cp -a /home/_ickwm/.ssh dot-ssh - - - where: container - shell: | - mv dot-ssh /root/.ssh - chown -R root:root /root/.ssh - - - where: container - shell: | - echo StrictHostKeyChecking no >> /etc/ssh/ssh_config - - export ANSIBLE_ROLES_PATH=/workspace/debian-ansible/roles - apt install -y ansible - cd src - ansible-playbook -i hosts.effi effi.yml -e reg_domain=effi-reg.vm.liw.fi -e @/workspace/vars/effi-reg.yml - -- pipeline: vmdb2_build_deb_ci - parameters: - - sources - - distribution_ci - actions: - - - shell: | - apt-get install -y debhelper build-essential git - where: container - - - where: container - shell: | - curl -s https://ci-prod-controller.vm.liw.fi/projects/vmdb2-manual/+trigger - rm -rf ick-helpers - git clone git://git.liw.fi/ick-helpers - - - python: | - import sys - sys.path.insert(0, '/workspace/ick-helpers') - import ick_helpers - ick_helpers.ci_build_debian(params) - where: container - - pipeline: vmdb2_trigger_manual actions: - where: container @@ -1083,17 +608,3 @@ pipelines: done echo ======================================== echo "Finished building release debs (if any)" - -- pipeline: get_debian_cloud_image - actions: - - where: container - shell: | - cd /workspace - URL="https://cloud.debian.org/images/cloud/OpenStack/current-10/debian-10-openstack-amd64.qcow2" - curl -s "$URL" > debian.qcow2 - -- pipeline: list_workspace - actions: - - where: container - shell: | - ls -la /workspace diff --git a/ci-prod-systrees.ick b/ci-prod-systrees.ick index 5bdb8a5..093d638 100644 --- a/ci-prod-systrees.ick +++ b/ci-prod-systrees.ick @@ -12,21 +12,6 @@ projects: pipelines: - ick/build_debian_systree - - project: stretch-build-essential - parameters: - systree_name: systrees-debian-stretch-base - artifact_name: systrees-debian-stretch-build-essential - packages: - - apt-transport-https - - build-essential - - git - - devscripts - notify: [liw@liw.fi] - pipelines: - - ick/setup_container - - ick/install_debian_packages - - ick/archive_systree - - project: buster-base parameters: <<: *systree_base diff --git a/demo.ick b/demo.ick deleted file mode 100644 index b55e476..0000000 --- a/demo.ick +++ /dev/null @@ -1,153 +0,0 @@ -projects: - - - project: stretch_systree - pipelines: - - build_debian_systree - parameters: - debian_codename: stretch - packages: - - apt-transport-https - - build-essential - - git - - jq - artifact_name: stretch_systree - - - project: hello - pipelines: - - prepare_container - - hello - parameters: - systree_name: stretch_systree - - - project: ickui - parameters: - apt_signing_pub_keys: - nodesource: | - -----BEGIN PGP PUBLIC KEY BLOCK----- - Version: GnuPG v1 - Comment: GPGTools - https://gpgtools.org - - mQINBFObJLYBEADkFW8HMjsoYRJQ4nCYC/6Eh0yLWHWfCh+/9ZSIj4w/pOe2V6V+ - W6DHY3kK3a+2bxrax9EqKe7uxkSKf95gfns+I9+R+RJfRpb1qvljURr54y35IZgs - fMG22Np+TmM2RLgdFCZa18h0+RbH9i0b+ZrB9XPZmLb/h9ou7SowGqQ3wwOtT3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ZZ/hgYv5so6Y1HcJNARuzmffQKozS/rxqec - 0xM3wceL1AIMuGhlXFeGd0wRv/RVzeZjnTGwhN1DnCDy1I66hUTgehONsfVanuP1 - PZKoL38EAxsMzdYgkYH6T9a4wJH/IPt+uuFTFFy3o8TKMvKaJk98+Jsp2X/QuNxh - qpcIGaVbtQ1bn7m+k5Qe/fz+bFuUeXPivafLLlGc6KbdgMvSW9EVMO7yBy/2JE15 - ZJgl7lXKLQ31VQPAHT3an5IV2C/ie12eEqZWlnCiHV/wT+zhOkSpWdrheWfBT+ac - hR4jDH80AS3F8jo3byQATJb3RoCYUCVc3u1ouhNZa5yLgYZ/iZkpk5gKjxHPudFb - DdWjbGflN9k17VCf4Z9yAb9QMqHzHwIGXrb7ryFcuROMCLLVUp07PrTrRxnO9A/4 - xxECi0l/BzNxeU1gK88hEaNjIfviPR/h6Gq6KOcNKZ8rVFdwFpjbvwHMQBWhrqfu - G3KaePvbnObKHXpfIKoAM7X2qfO+IFnLGTPyhFTcrl6vZBTMZTfZiC1XDQLuGUnd - sckuXINIU3DFWzZGr0QrqkuE/jyr7FXeUJj9B7cLo+s/TXo+RaVfi3kOc9BoxIvy - /qiNGs/TKy2/Ujqp/affmIMoMXSozKmga81JSwkADO1JMgUy6dApXz9kP4EE3g== - =CLGF - -----END PGP PUBLIC KEY BLOCK----- - apt_sources: - - url: https://deb.nodesource.com/node_10.x - dist: stretch - section: main - sources: - - name: code - repo: git://git.liw.fi/ickui - ref: master - location: src - rsync_src: src/dist - rsync_target: root@ick-ui.vm.liw.fi:/srv/http/ick-ui.vm.liw.fi - systree_name: stretch_systree - notify: [liw@liw.fi, ivan@dolgov.fi] - pipelines: - - ick/setup_container - - ick/add_apt_signing_keys - - ick/add_apt_sources - - ick/get_sources - - ickui - -pipelines: - - - pipeline: ickui - parameters: - - rsync_src - - rsync_target - actions: - - where: container - shell: | - apt update - apt upgrade -y - apt install -y build-essential nodejs - cd src - make install - make build - - - action: rsync - where: host - - - pipeline: build_debian_systree - parameters: - - debian_codename - - packages - - artifact_name - actions: - - debootstrap: auto - mirror: http://deb.debian.org/debian - where: host - - - shell: | - apt-get install -y python3 - where: chroot - - - python: | - import os, subprocess - def runcmd(argv, **kwargs): - subprocess.check_call(argv, **kwargs) - runcmd(['apt-get', 'install', '-y'] + params['packages']) - where: chroot - - - archive: workspace - where: host - - # Prepare container for building: get systree from artifact store. - - - pipeline: prepare_container - actions: - - action: populate_systree - where: host - - - pipeline: hello - actions: - - shell: | - echo hello, world - pwd - where: container diff --git a/status.sh b/status.sh deleted file mode 100755 index ffd9403..0000000 --- a/status.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -set -eu -icktool status | awk '$1 == "project" || /^-/ || $3 != "done"' | grep -v 'dummy' - -- cgit v1.2.1