diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3498234 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,8 @@ +image: kdeneon/plasma + +before_script: + - sudo chmod +x gitlab-build.sh + +build: + stage: build + script: ./gitlab-build.sh diff --git a/gitlab-build.sh b/gitlab-build.sh new file mode 100644 index 0000000..9502839 --- /dev/null +++ b/gitlab-build.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +sudo apt-get update; sudo apt-get install linux-modules-$(uname -r) -y +sudo apt-get install sshpass fuse -y ; sudo modprobe fuse + +wget https://raw.githubusercontent.com/Nitrux/nitrux-repository-util/master/build-vvave.sh + +chmod +x build-vvave.sh + +./build-vvave.sh + + +export SSHPASS=$DEPLOY_PASS + +sshpass -e scp -q -o stricthostkeychecking=no *.AppImage $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH +#sshpass -e ssh $DEPLOY_USER@$DEPLOY_HOST 'bash /home/packager/repositories/nomad-desktop/repositories_util.sh'