Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokeswar committed Oct 24, 2024
1 parent 155055a commit d617e3a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/minio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}")"/.. || exit 1

docker run \
--restart always \
--name minio \
--detach \
--volume "$(pwd)"/data/uploads:/data \
--env "MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY}" \
--env "MINIO_SECRET_KEY=${MINIO_SECRET_KEY}" \
-p 9000:9000 \
minio/minio server /data
13 changes: 13 additions & 0 deletions bin/posgres.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}" )"/.. || exit 1

docker run \
-p ${DATABASE_PORT}:5432 \
--name database \
--detach \
--restart always \
--env "POSTGRES_DB=${DATABASE_DB}" \
--env "POSTGRES_USER=${DATABASE_USER}" \
--env "POSTGRES_PASSWORD=${DATABASE_PASSWORD}" \
postgres:12.0-alpine
14 changes: 14 additions & 0 deletions etc/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SECRET_KEY=django-insecure-7667o_a@x0girb9#wl0dlwx4=((n(xezy*!-3yzs%u%6*lbr4$
GITLAB_URL=https://gitlab.com
DEBUG=True
SUBMISSION_STORAGE_TYPE=DISK
DATABASE_NAME=api
DATABASE_USER=djangouser
DATABASE_PASSWORD=password
DATABASE_HOST=localhost
DATABASE_PORT=10000
LOCUST_GITLAB_PRIVATE_TOKEN=aPrivateKey
LOCUST_GITLAB_PROJECT_ID=1234
PYTEST_GITLAB_PRIVATE_TOKEN=aPrivateKey
PYTEST_GITLAB_PROJECT_ID=1234
UWSGI_PROCESS_COUNT=2

0 comments on commit d617e3a

Please sign in to comment.