From 51c17b3223e61653f8adc05e024881575b18d5dc Mon Sep 17 00:00:00 2001 From: Ludger Sicking <sicking@comenius.de> Date: Wed, 12 Mar 2025 10:19:40 +0100 Subject: [PATCH] =?UTF-8?q?wenn=20der=20Include=20Path=20auf=20md=20einges?= =?UTF-8?q?chr=C3=A4nkt=20ist,=20sollte=20man=20da=20auch=20was=20=C3=A4nd?= =?UTF-8?q?ern...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/test-it.yaml | 48 ++++++++++++++++++++++++++++++++++++ foerbico-projekplan-gantt.md | 1 + 2 files changed, 49 insertions(+) create mode 100644 .woodpecker/test-it.yaml diff --git a/.woodpecker/test-it.yaml b/.woodpecker/test-it.yaml new file mode 100644 index 0000000..4b118f1 --- /dev/null +++ b/.woodpecker/test-it.yaml @@ -0,0 +1,48 @@ +steps: + + - name: test_quoting_ash_or_bash + image: alpine + environment: + SSH_HOST: + from_secret: ssh_host + SSH_USER: + from_secret: ssh_user + SSH_KEY: + from_secret: ssh_key + SSH_PORT: + from_secret: ssh_port + TARGET_PATH: + from_secret: target_path + + commands: + - echo "Alpine Linux is using BusyBox that means `ash`!" + - echo '' + + - apk add --no-cache openssh + - mkdir -p ~/.ssh + - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/deployKey + - chmod 600 ~/.ssh/deployKey + - ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts + - chmod 600 ~/.ssh/known_hosts + + # - apk add --no-cache bash + # - which bash + # - rm /bin/sh + # - ln -s /bin/bash /bin/sh + + - echo '#############################################################' + - BLOG_FOLDER_BASENAME=oer-community-blog + - BLOG_FOLDER=$TARGET_PATH/$BLOG_FOLDER_BASENAME + - SCRIPT_FOLDER=$BLOG_FOLDER/scripts + - TEST_FOLDER=$BLOG_FOLDER/test-folder + + - echo $TARGET_PATH; echo $BLOG_FOLDER; echo $SCRIPT_FOLDER; echo $TEST_FOLDER + - pwd + - which sh + - ls -l $(which sh) + - sh --version + - /bin/busybox --list | grep who + - echo "wenn ich das wüsste..." + - echo "#~~########" + #- ssh -i ~/.ssh/deployKey -p "$SSH_PORT" "$SSH_USER"@"$SSH_HOST" "mkdir -p $SCRIPT_FOLDER; mkdir -p $TEST_FOLDER" + diff --git a/foerbico-projekplan-gantt.md b/foerbico-projekplan-gantt.md index 2c39ec3..e30d0e5 100644 --- a/foerbico-projekplan-gantt.md +++ b/foerbico-projekplan-gantt.md @@ -21,6 +21,7 @@ gantt AP 3-3 Community-Hub für Management & ÖA nutzen: active, AP3-3, 2024-12, 2026-06 AP 11-2 Fortbildungsformate weiterentwickeln: crit, AP11-2, 2024-12, 2026-10 AP 8-3 Wissenschaftliches Netzwerk erweitern: active, AP8-3, 2024-12, 2027-01 + AP 100-5 Woodpecker möchte auch zu seinem Recht kommen!: insolvent, AP8-3, 2024-12, 2027-01 section 2025 AP 4-3 Metadaten-Generator für OEP/OER entwickeln: AP4-3, 2025-06, 2025-09 AP 6-1 Fortbildungsformate für OER entwickeln: active, crit, AP6-1, 2025-03, 2025-09