#cache: # key: blender-source # paths: # - /opt/blender-git/blender # Blender git repository source # - /opt/blender-git/lib # Blender Subversion lib package # policy: pull # #update-cache: # stage: .pre # cache: # key: blender-source # image: stilobique/csv:latest # script: # - mkdir -p /opt/blender-git/lib # - cd /opt/blender-git # - git clone https://projects.blender.org/blender/blender.git # - cd /opt/blender-git/blender # - git submodule update --init --recursive # - cd /opt/blender-git/lib # - svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_centos7_x86_64 # #build-dockerfile: # image: docker:19.03.12 # rules: # - changes: # - build.json # stage: build # services: # - docker:dind # cache: # key: blender-source # script: # - apk add python3 # - apk add py3-pip # - python3 -m pip install --upgrade pip # - python3 -m pip install -r requirement-build.txt # - python3 main.py # - python3 main.py --tag=latest