Skip to content
Snippets Groups Projects
Commit ca970c62 authored by Pernille Nødtvedt Welle-Watne's avatar Pernille Nødtvedt Welle-Watne
Browse files

Update .gitlab-ci.yml

parent 1303b4d9
No related branches found
No related tags found
No related merge requests found
Pipeline #111115 failed
...@@ -16,21 +16,21 @@ test: ...@@ -16,21 +16,21 @@ test:
- pip install -r requirements.txt - pip install -r requirements.txt
- python manage.py test - python manage.py test
build_image: image:
only: name: docker/compose:latest
- master services:
image: registry.gitlab.com/majorhayden/container-buildah - docker:dind
before_script:
- docker version
- docker-compose version
build:
stage: build stage: build
variables:
STORAGE_DRIVER: "vfs"
BUILDAH_FORMAT: "docker"
before_script:
- dnf install -y nodejs
- curl https://cli-assets.heroku.com/install.sh | sh
- sed -i "/^mountopt =.*/d" /etc/containers/storage.conf
script: script:
- buildah bud --iidfile iidfile -t rust-python-demo:$CI_COMMIT_SHORT_SHA . - apk add --no-cache docker-compose
- buildah push --creds=_:$(heroku auth:token) $(cat iidfile) registry.heroku.com/tdt4242-base/web - docker-compose up -d
release: release:
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment