0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-05-03 07:30:53 +02:00

Replace Travis CI with GitHub actions (#939)

* Test build images using github actions

Signed-off-by: Tilo Spannagel <development@tilosp.de>

* Check for Changes by update.sh using github actions

Signed-off-by: Tilo Spannagel <development@tilosp.de>

* Remove travis.yml

Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
Tilo Spannagel 2020-06-30 02:12:41 +02:00 committed by GitHub
parent 1e70224108
commit baebdfefd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 71 additions and 102 deletions

View file

@ -100,8 +100,6 @@ function check_beta_released() {
printf '%s\n' "${fullversions_beta[@]}" | grep -qE "^$( echo "$1" | grep -oE '[[:digit:]]+(\.[[:digit:]]+){2}' )"
}
travisEnv=
function create_variant() {
dir="$1/$variant"
phpVersion=${php_version[$version]-${php_version[default]}}
@ -170,10 +168,6 @@ function create_variant() {
if [ "$variant" != "apache" ]; then
rm "$dir/config/apache-pretty-urls.config.php"
fi
for arch in i386 amd64; do
travisEnv=' - env: VERSION='"$1"' VARIANT='"$variant"' ARCH='"$arch"'\n'"$travisEnv"
done
}
curl -fsSL 'https://download.nextcloud.com/server/releases/' |tac|tac| \
@ -260,11 +254,3 @@ for version in "${versions_alpha[@]}"; do
fi
fi
done
# remove everything after '- stage: test images'
travis="$(awk '!p; /- stage: test images/ {p=1}' .travis.yml)"
echo "$travis" > .travis.yml
# replace the fist '-' with ' '
travisEnv="$(echo "$travisEnv" | sed '0,/-/{s/-/ /}')"
printf "$travisEnv" >> .travis.yml