Commit 199a139d authored by Michael Lundquist's avatar Michael Lundquist
Browse files

Reverting the .gitlab-ci.yml back to the state master was in.

parent c781ab61
Pipeline #4535 failed with stage
in 25 seconds
# .gitlab-ci.yml
image: docker
services: services:
- docker:dind - mysql:5.7
build:
script: variables:
- apk add --no-cache py-pip python-dev libffi-dev openssl-dev gcc libc-dev make MYSQL_DATABASE: wopen
- pip install docker-compose MYSQL_ROOT_PASSWORD: root
- docker-compose up -d
types:
- test
# before_script: before_script:
# - apt-get update -qy - apt-get update -qy
# - apt-get upgrade -qy - apt-get install -y mysql-client default-libmysqlclient-dev python-mysqldb
# - apt-get install -qy software-properties-common gdal-bin libproj-dev proj-data proj-bin binutils
# - apt-get update -qy - cd whats-open/
# - apt-get upgrade -qy - pip install pipenv
# - add-apt-repository --yes 'deb http://archive.ubuntu.com/ubuntu trusty universe' - pipenv install --system --deploy
# - apt-get update -qy - export WOPEN_SECRET_KEY=$(dd if=/dev/urandom count=100 | tr -dc "A-Za-z0-9"
# - apt-get upgrade -qy | fold -w 60 | head -n1 2>/dev/null)
# - apt-get install -y mysql-client default-libmysqlclient-dev python-mysqldb - export WOPEN_EMAIL_DOMAIN="@masonlive.gmu.edu"
# gdal-bin libproj-dev proj-data proj-bin binutils - export WOPEN_DB_NAME="wopen"
# - cd whats-open/ - export WOPEN_DB_USER="root"
# - pip install pipenv - export WOPEN_DB_PASSWORD="root"
# - pipenv install --system --deploy - export WOPEN_DB_HOST="mysql"
# - export WOPEN_SECRET_KEY=$(dd if=/dev/urandom count=100 | tr -dc "A-Za-z0-9" - export WOPEN_DB_PORT=3306
# | fold -w 60 | head -n1 2>/dev/null) - export WOPEN_SUPERUSER=admin
# - export WOPEN_EMAIL_DOMAIN="@masonlive.gmu.edu" - export WOPEN_ENV=dev
# - export WOPEN_DB_NAME="wopen" - python manage.py makemigrations
# - export WOPEN_DB_USER="root" - python manage.py makemigrations api
# - export WOPEN_DB_PASSWORD="root" - python manage.py migrate
# - export WOPEN_DB_HOST="mysql" - echo "from django.contrib.auth import get_user_model; User =
# - export WOPEN_DB_PORT=3306 get_user_model(); User.objects.create_superuser('root',
# - export WOPEN_SUPERUSER=admin 'root@srct.gmu.edu', 'root') " | python manage.py shell
# - export WOPEN_ENV=dev
# - python manage.py makemigrations
# - python manage.py makemigrations api
# - python manage.py migrate
# - echo "from django.contrib.auth import get_user_model; User =
# get_user_model(); User.objects.create_superuser('root',
# 'root@srct.gmu.edu', 'root') " | python manage.py shell
# whats-open-py3.7: whats-open-py3.7:
# image: library/python:3.7 image: library/python:3.7
# type: test type: test
# script: script:
# - echo "Done 😄" - echo "Done 😄"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment