diff options
author | Helmut Grohne <helmut@subdivi.de> | 2022-12-21 08:03:44 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2022-12-21 10:21:13 +0100 |
commit | 6bc5e62e50a7f91d1a8786651f1594640ddb5115 (patch) | |
tree | 42d2b0ae8b6fa2a626395f966b641d880707e489 | |
parent | 1fd150b05016fd67b0ff7a097cdadcde9c8f464e (diff) | |
download | debvm-6bc5e62e50a7f91d1a8786651f1594640ddb5115.tar.gz |
experiment with a simple .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e6e30d6 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +image: registry.salsa.debian.org/salsa-ci-team/pipeline/base:unstable + +shellcheck: + stage: test + script: + - apt-get update + - apt-get dist-upgrade --yes + - apt-get --no-install-recommends --yes install shellcheck + - shellcheck debvm-* + +codespell: + stage: test + script: + - apt-get update + - apt-get dist-upgrade --yes + - apt-get --no-install-recommends --yes install codespell + - codespell debvm-* + +simpletest: + stage: test + script: + - apt-get update + - apt-get dist-upgrade --yes + - apt-get --no-install-recommends --yes install e2fsprogs genext2fs mmdebstrap openssh-client qemu-kvm timelimit + - ssh-keygen -f ~/.ssh/id -N '' + - ./debvm-create -k ~/.ssh/id.pub -r unstable + - timelimit -t 120 -T 10 ./debvm-run -s 2222 & + - sleep 10 + - ssh -o StrictHostKeyChecking=no -i ~/.ssh/id -p 2222 root@localhost poweroff |