1234567891011121314151617181920212223242526272829303132333435 |
- kind: pipeline
- name: default
- steps:
- - name: test
- image: alpine:3.15.0
- commands:
- - apk update
- - apk add brotli-libs build-base freetype g++ gcc lcms2-dev libbsd libffi-dev libimagequant-dev libjpeg libjpeg-turbo-dev libmd libpng libwebp-dev libxau libxcb libxdmcp libxml2-dev make musl-dev openjpeg-dev py3-olefile py3-pillow py3-pip py3-sqlparse py3-virtualenv tiff tk-dev zlib-dev zstd-libs sassc
- - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
- - pip install Django==2.2.16 django-cleanup==5.0.0
- - mkdir -p django/core/static/core/css || true
- - sassc -t compressed django/core/static/core/sass/estilos.sass django/core/static/core/css/estilos.min.css
- - cd django && cp -v personalsite/settings.py.example personalsite/settings.py
- - python3 manage.py makemigrations --no-input
- - python3 manage.py migrate --no-input
- - python3 manage.py collectstatic --no-input
- # - name: docker
- # image: plugins/docker
- # settings:
- # daemon_off: false
- # username:
- # from_secret: DOCKER_USER
- # password:
- # from_secret: DOCKER_PASS
- # repo:
- # from_secret: DOCKER_REPO
- # tags: latest
- # dockerfile: ./django/Dockerfile
- # context: ./django/
- # when:
- # branch: [master]
- # event: [push]
|