This commit is contained in:
parent
5f919e0be2
commit
51c17b3223
48
.woodpecker/test-it.yaml
Normal file
48
.woodpecker/test-it.yaml
Normal file
|
@ -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"
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue