IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

20 lignes
787B

  1. base: gitea-latest
  2. steps:
  3. - copy:
  4. - [ files/resize.py,
  5. /tmp/resize.py ]
  6. - run: |
  7. ASSUME_ALWAYS_YES=yes pkg install py37-pillow && \
  8. export LOGO_URL=https://adared.ch/wp-content/uploads/2017/04/adared_logo_20170403-2.png && \
  9. export FAVICON_URL=https://adared.ch/wp-content/uploads/2017/04/cropped-adared_favicon-192x192.png && \
  10. export GITEA_IMG=/usr/local/share/gitea/public/img && \
  11. fetch $LOGO_URL -o logo.png && \
  12. fetch $FAVICON_URL -o $GITEA_IMG/favicon.png && \
  13. python3.7 /tmp/resize.py logo.png && \
  14. mv -v gitea-*.png $GITEA_IMG/ && \
  15. rm -v logo.png && \
  16. rm -v /tmp/resize.py && \
  17. ASSUME_ALWAYS_YES=yes pkg remove py37-pillow && \
  18. ASSUME_ALWAYS_YES=yes pkg autoremove