Skip to content

Commit

Permalink
Merge pull request #5 from sanger/develop
Browse files Browse the repository at this point in the history
Develop to master
  • Loading branch information
emrojo authored Jul 22, 2022
2 parents 0edae24 + 27b3b25 commit a87f817
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 191 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/automated_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ jobs:

- uses: nelonoel/[email protected]

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install pipenv
run: |
pip install pipenv
- name: Install dependencies
run: |
pipenv sync --dev --system
# Actually run our build
- name: Create Build
run: python -m build
Expand Down
2 changes: 1 addition & 1 deletion .release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.2
44 changes: 0 additions & 44 deletions Dockerfile

This file was deleted.

29 changes: 5 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# tol-lab-share

Rabbitmq consumer for TOL data input
# lab-share-lib

Library to build consumers for the lab-share framework

## Getting Started

Expand All @@ -23,24 +22,12 @@ Use pipenv to install the required python packages for the application and devel
pipenv install --dev
```

## Configuring

### Setting up with Docker

If you want to setup a local development environment with Docker please check
the instructions in [SETUP_DOCKER.md](SETUP_DOCKER.md)


## Running

1. Enter the python virtual environment using:
```bash
pipenv shell
```

1. Run the app using:
Run this command inside the project you want to add this library:

```bash
python tol-lab-share
pipenv install -e git+https://github.com/sanger/lab-share[email protected]#egg=lab-share-lib
```

## Testing
Expand All @@ -50,9 +37,3 @@ Run the tests using pytest (flags are for verbose and exit early):
```bash
python -m pytest -vx
```

## Deployment

This project uses a Docker image as the unit of deployment. Update `.release-version` with
major/minor/patch. On merging a pull request into *develop* or *master*, a release will be created
along with the Docker image associated to that release.
9 changes: 0 additions & 9 deletions docker-compose-standalone.yml

This file was deleted.

9 changes: 0 additions & 9 deletions docker-compose.override.yml

This file was deleted.

57 changes: 0 additions & 57 deletions docker-compose.yml

This file was deleted.

17 changes: 0 additions & 17 deletions entrypoint.sh

This file was deleted.

6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "lab-share-lib"
version = "0.0.1"
dynamic = ['version']
authors = [
{ name="Stuart McHattie", email="[email protected]" },
]
Expand All @@ -26,6 +26,10 @@ classifiers = [
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = ".release-version"
pattern = "(?P<version>\\d+\\.\\d+\\.\\d+)"


[tool.black]
line-length = 120
Expand Down
29 changes: 0 additions & 29 deletions wait_for_connection.sh

This file was deleted.

0 comments on commit a87f817

Please sign in to comment.