Skip to content

Commit

Permalink
Move job to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Ivars-Ribes committed Jul 18, 2020
1 parent 09adc66 commit 303ed25
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
stages:
- programs

libreoffice:
image: python:3.8
services:
- docker:dind
stage: programs
script: ./programs/libreoffice/libreoffice-valencia.sh
rules:
- if: '$PROGRAM == "LIBREOFFICE"'
12 changes: 12 additions & 0 deletions programs/libreoffice/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
requests = "*"

[requires]
python_version = "3.8"
57 changes: 57 additions & 0 deletions programs/libreoffice/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion programs/libreoffice/libreoffice-valencia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ sed -i -e "s|^:END$|s\/^\\\(\\\\\"Language-Team\\\): .*\\\\\\\n/\\\\1: $team\\\\
rm -R "translations/*"

# Cridem l'script de Python que fa la feina
./libreoffice-valencia.py
pip3 install pipenv
pipenv install requests
pipenv run python ./libreoffice-valencia.py


# Neteja
Expand Down

0 comments on commit 303ed25

Please sign in to comment.