mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-23 14:50:20 +01:00
Remove Drone CI
This commit is contained in:
parent
45dfe7851f
commit
a7fd70bf10
117
.drone.yml
117
.drone.yml
@ -1,117 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: python310
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: setup
|
|
||||||
image: postgres:15-alpine
|
|
||||||
environment:
|
|
||||||
PGPASSWORD: postgres
|
|
||||||
commands:
|
|
||||||
- id
|
|
||||||
- psql --version
|
|
||||||
- sleep 5
|
|
||||||
- pg_isready -h database -U postgres -d dspacestatistics
|
|
||||||
- createuser -h database -U postgres dspacestatistics
|
|
||||||
- psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'"
|
|
||||||
- psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql
|
|
||||||
|
|
||||||
- name: test
|
|
||||||
image: python:3.10-slim
|
|
||||||
environment:
|
|
||||||
PGPASSWORD: dspacestatistics
|
|
||||||
DATABASE_HOST: database
|
|
||||||
commands:
|
|
||||||
- id
|
|
||||||
- python -V
|
|
||||||
- apt update && apt install -y gcc git libpq-dev
|
|
||||||
- pip install -r requirements-dev.txt
|
|
||||||
- pytest
|
|
||||||
|
|
||||||
services:
|
|
||||||
- name: database
|
|
||||||
image: postgres:15-alpine
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: postgres
|
|
||||||
POSTGRES_PASSWORD: postgres
|
|
||||||
POSTGRES_DB: dspacestatistics
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: python39
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: setup
|
|
||||||
image: postgres:15-alpine
|
|
||||||
environment:
|
|
||||||
PGPASSWORD: postgres
|
|
||||||
commands:
|
|
||||||
- id
|
|
||||||
- psql --version
|
|
||||||
- sleep 5
|
|
||||||
- pg_isready -h database -U postgres -d dspacestatistics
|
|
||||||
- createuser -h database -U postgres dspacestatistics
|
|
||||||
- psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'"
|
|
||||||
- psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql
|
|
||||||
|
|
||||||
- name: test
|
|
||||||
image: python:3.9-slim
|
|
||||||
environment:
|
|
||||||
PGPASSWORD: dspacestatistics
|
|
||||||
DATABASE_HOST: database
|
|
||||||
commands:
|
|
||||||
- id
|
|
||||||
- python -V
|
|
||||||
- apt update && apt install -y gcc git libpq-dev
|
|
||||||
- pip install -r requirements-dev.txt
|
|
||||||
- pytest
|
|
||||||
|
|
||||||
services:
|
|
||||||
- name: database
|
|
||||||
image: postgres:15-alpine
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: postgres
|
|
||||||
POSTGRES_PASSWORD: postgres
|
|
||||||
POSTGRES_DB: dspacestatistics
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: python38
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: database
|
|
||||||
image: postgres:15-alpine
|
|
||||||
detach: true
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: postgres
|
|
||||||
POSTGRES_PASSWORD: postgres
|
|
||||||
POSTGRES_DB: dspacestatistics
|
|
||||||
|
|
||||||
- name: setup
|
|
||||||
image: postgres:15-alpine
|
|
||||||
environment:
|
|
||||||
PGPASSWORD: postgres
|
|
||||||
commands:
|
|
||||||
- id
|
|
||||||
- psql --version
|
|
||||||
- sleep 5
|
|
||||||
- pg_isready -h database -U postgres -d dspacestatistics
|
|
||||||
- createuser -h database -U postgres dspacestatistics
|
|
||||||
- psql -h database -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'"
|
|
||||||
- psql -h database -U postgres -d dspacestatistics < tests/dspacestatistics.sql
|
|
||||||
|
|
||||||
- name: test
|
|
||||||
image: python:3.8-slim
|
|
||||||
environment:
|
|
||||||
PGPASSWORD: dspacestatistics
|
|
||||||
DATABASE_HOST: database
|
|
||||||
commands:
|
|
||||||
- id
|
|
||||||
- python -V
|
|
||||||
- apt update && apt install -y gcc git libpq-dev
|
|
||||||
- pip install -r requirements-dev.txt
|
|
||||||
- pytest
|
|
||||||
|
|
||||||
# vim: ts=2 sw=2 et
|
|
@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Updated
|
### Updated
|
||||||
- Falcon 3.1.1
|
- Falcon 3.1.1
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- Drone CI
|
||||||
|
|
||||||
## 1.4.3 - 2022-03-26
|
## 1.4.3 - 2022-03-26
|
||||||
### Updated
|
### Updated
|
||||||
- Update dependencies with `poetry update`
|
- Update dependencies with `poetry update`
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<h1 align="center">DSpace Statistics API</h1>
|
<h1 align="center">DSpace Statistics API</h1>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://ci.mjanja.ch/alanorth/dspace-statistics-api"><img alt="Build Status" src="https://ci.mjanja.ch/api/badges/alanorth/dspace-statistics-api/status.svg?ref=refs/heads/v6_x"></a>
|
|
||||||
<a href="https://github.com/ilri/dspace-statistics-api/actions"><img alt="Build and Test" src="https://github.com/ilri/dspace-statistics-api/actions/workflows/python-app.yml/badge.svg"></a>
|
<a href="https://github.com/ilri/dspace-statistics-api/actions"><img alt="Build and Test" src="https://github.com/ilri/dspace-statistics-api/actions/workflows/python-app.yml/badge.svg"></a>
|
||||||
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
|
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user