Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
ff23f7f8
Commit
ff23f7f8
authored
8 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
5f3c4bb0
No related branches found
Branches containing commit
No related tags found
1 merge request
!1365
Resolve "Filter Options for MetaGer"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+37
-0
37 additions, 0 deletions
.gitlab-ci.yml
with
37 additions
and
0 deletions
.gitlab-ci.yml
+
37
−
0
View file @
ff23f7f8
...
@@ -34,6 +34,43 @@ update(144.76.113.134):
...
@@ -34,6 +34,43 @@ update(144.76.113.134):
-
php ~/MetaGer/artisan queue:restart
-
php ~/MetaGer/artisan queue:restart
-
php ~/MetaGer/artisan migrate --force
-
php ~/MetaGer/artisan migrate --force
-
php ~/MetaGer/artisan up
-
php ~/MetaGer/artisan up
update(metager2)
:
tags
:
-
metager2
only
:
-
development
before_script
:
# Abhängigkeiten überprüfen
-
which composer
-
which git
-
which php7.0
-
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 metager@metager3.de:~/.env .
-
scp metager@metager3.de:~/sumas.xml config/
-
scp metager@metager3.de:~/sumasEn.xml config/
-
scp metager@metager3.de:~/blacklistUrl.txt config/
-
scp metager@metager3.de:~/blacklistDomains.txt config/
-
touch storage/logs/laravel.log
-
touch storage/logs/worker.log
-
chmod 777 config/sumas.xml config/sumasEn.xml database/metager.sqlite
-
chmod -R 777 storage
-
chmod -R 777 bootstrap/cache
-
if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
-
cd ~/
-
rm -rf MetaGer
-
mv MetaGer_neu MetaGer
-
php ~/MetaGer/artisan queue:restart
-
php ~/MetaGer/artisan migrate --force
-
php ~/MetaGer/artisan up
update(metager3.de)
:
update(metager3.de)
:
tags
:
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment