Skip to content

Commit

Permalink
Merge pull request #19 from ag-computational-bio/feat/backend_rework
Browse files Browse the repository at this point in the history
[0.6.x] Feat/backend rework Go -> Rust
  • Loading branch information
oschwengers authored Nov 25, 2024
2 parents ea26348 + b77202b commit 24665c6
Show file tree
Hide file tree
Showing 41 changed files with 4,300 additions and 3,340 deletions.
11 changes: 11 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SOCKET_ADDR=127.0.0.1:8080
ARGO_TOKEN=token
ARGO_URL=https://argo.example.com
ARGO_NAMESPACE=argo
S3_ACCESS_KEY=access_key
S3_SECRET_KEY=secret_key
S3_BUCKET=bucket
S3_ENDPOINT=https://s3.example.com
BAKTA_VERSION=0.1.0
DATABASE_VERSION=0.1.0
BACKEND_VERSION=0.2.0
20 changes: 1 addition & 19 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,13 @@ on:

env:
# TODO: Change variable to your image's name.
IMAGE_NAME: bakta-web-gateway
IMAGE_NAME: bakta-web-backend

jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run tests
run: |
if [ -f docker-compose.test.yml ]; then
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --file Dockerfile
fi

# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
# Ensure test job passes before pushing image.
needs: test

runs-on: ubuntu-latest
if: github.event_name == 'push'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# Test binary, built with `go test -c`
*.test
/target

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
Expand Down
Loading

0 comments on commit 24665c6

Please sign in to comment.