Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
open-source
MetaGer
Commits
fa361e23
Commit
fa361e23
authored
Oct 02, 2019
by
Dominik Hebeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated CI
parent
7644778f
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
68 deletions
+4
-68
.gitlab-ci.yml
.gitlab-ci.yml
+2
-66
build.sh
build.sh
+2
-2
No files found.
.gitlab-ci.yml
View file @
fa361e23
...
...
@@ -10,39 +10,7 @@ update(144.76.113.134):
-
which php
-
which sqlite3
script
:
# Pfad zum neu geklonten Repo
-
path=`pwd`
-
cd ~/
-
if [ -d MetaGer_neu ]; then rm -rf MetaGer_neu;fi
-
git clone "$path" MetaGer_neu
-
cd MetaGer_neu
-
composer install
-
scp -P 63824 metager@metager3.de:~/.env .
-
cp $SUMAS config/sumas.json
-
cp $SUMASEN config/sumasEn.json
-
scp -P 63824 metager@metager3.de:~/blacklistUrl.txt config/
-
scp -P 63824 metager@metager3.de:~/blacklistDomains.txt config/
-
scp -P 63824 metager@metager3.de:~/adBlacklistUrl.txt config/
-
scp -P 63824 metager@metager3.de:~/adBlacklistDomains.txt config/
-
scp -P 63824 metager@metager3.de:~/spam.txt config/
-
scp -P 63824 metager@metager3.de:~/UsersSeeder.php database/seeds/
-
touch storage/logs/laravel.log
-
touch storage/logs/worker.log
-
touch database/metager.sqlite
-
chmod 777 config/sumas.json config/sumas.json database/metager.sqlite
-
chmod -R 777 storage
-
chmod -R 777 bootstrap/cache
-
npm install
-
npm run production
-
php artisan migrate --force
-
php artisan db:seed --force
-
php artisan requests:gather
-
if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
-
cd ~/
-
while [ -d ~/MetaGer ]; do rm -rf ~/MetaGer;done
-
mv MetaGer_neu MetaGer
-
sudo pkill --signal SIGHUP supervisord
-
php ~/MetaGer/artisan up
-
sh build.sh
update(metager2)
:
tags
:
...
...
@@ -56,39 +24,7 @@ update(metager2):
-
which php
-
which sqlite3
script
:
# Pfad zum neu geklonten Repo
-
path=`pwd`
-
cd ~/
-
if [ -d MetaGer_neu ]; then rm -rf MetaGer_neu;fi
-
git clone "$path" MetaGer_neu
-
cd MetaGer_neu
-
composer install
-
scp -P 63824 metager@metager3.de:~/.env .
-
cp $SUMAS config/sumas.json
-
cp $SUMASEN config/sumasEn.json
-
scp -P 63824 metager@metager3.de:~/blacklistUrl.txt config/
-
scp -P 63824 metager@metager3.de:~/blacklistDomains.txt config/
-
scp -P 63824 metager@metager3.de:~/adBlacklistUrl.txt config/
-
scp -P 63824 metager@metager3.de:~/adBlacklistDomains.txt config/
-
scp -P 63824 metager@metager3.de:~/spam.txt config/
-
scp -P 63824 metager@metager3.de:~/UsersSeeder.php database/seeds/
-
touch storage/logs/laravel.log
-
touch storage/logs/worker.log
-
touch database/metager.sqlite
-
chmod 777 config/sumas.json config/sumas.json database/metager.sqlite
-
chmod -R 777 storage
-
chmod -R 777 bootstrap/cache
-
npm install
-
npm run production
-
php artisan migrate --force
-
php artisan db:seed --force
-
php artisan requests:gather
-
if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
-
cd ~/
-
while [ -d ~/MetaGer ]; do rm -rf ~/MetaGer;done
-
mv MetaGer_neu MetaGer
-
sudo pkill --signal SIGHUP supervisord
-
php ~/MetaGer/artisan up
-
sh build.sh
update(metager3.de)
:
tags
:
...
...
build.sh
View file @
fa361e23
...
...
@@ -9,8 +9,8 @@ git clone "$path" MetaGer_neu
cd
MetaGer_neu
composer
install
scp
-P
63824 metager@metager3.de:~/.env
.
s
cp
-P
63824 metager@metager3.de:~
/sumas.json
config/
s
cp
-P
63824 metager@metager3.de:~
/sumasEn.json
config/
cp
$SUMAS
config
/sumas.json
cp
$SUMASEN
config
/sumasEn.json
scp
-P
63824 metager@metager3.de:~/blacklistUrl.txt config/
scp
-P
63824 metager@metager3.de:~/blacklistDomains.txt config/
scp
-P
63824 metager@metager3.de:~/adBlacklistUrl.txt config/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment