mirror of
https://github.com/zkitter/groups.git
synced 2026-01-09 13:08:01 -05:00
* feat: accept post requests parameters (since, until ...) (#15) * test committer group handler happy path * test committers group handler params validation * test voters group handler * test posting with since/until string parameters * update serverless functions * undo renaming of test setup file * update gh workflows to include push/pr to staging branch * chore: format/lint (#16) * update jest configs * format/lint * update test.ci script * refactor: serve whitelisted orgs (#19) * feat: accept post requests parameters (since, until ...) (#18) * feat: accept post requests parameters (since, until ...) (#15) * test committer group handler happy path * test committers group handler params validation * test voters group handler * test posting with since/until string parameters * update serverless functions * undo renaming of test setup file * update gh workflows to include push/pr to staging branch * chore: format/lint (#16) * update jest configs * format/lint * update test.ci script * feat:test: define gql, gh, snapshot repositories * refactor: Get contributed repo by user and repos by org * feat: get repos of multiple orgs * refactor SnapshotRepository * chore: use barrels * refactor: get committers by org * test(whitelist-service): add org * update graphql files * test: whitelist service * test whitelistService.refresh * fix: decorate WhitelistService with typedi Service * fix: catch error on fetching repos if org not found * test prisma db connection * test refresh whitelist handler * add refresh serverless function * refactor: select only some props * update whitelist service test * rename file * stub User service and controller * rename var, import * fix compilation errors * add refresh serverless function * rename vars * feat: deploy as express server (#20) * feat: deploy as express server * add fly.toml * feat: Containerize app (#21) * feat: Containerize app * Add Dockerfile-deploy (for fly.io deployment) * Update PORT * Add deploy workflow * feat:test: Add get all whitelisted orgs endpoint (#22) * feat:test: Can return orgs in short (default) or long formats (#23) * fix paths trigger for GH deploy workflow * feat:test: get groups by username (#27) * define intersect util * feat:test: define user service * chore: format * feat:test: add user controller/service * refactor:test: whitelist router * doc: Update README (#28) * doc: Update README * update path-ignore * Update README * chore: Update deploy workflows * remove files * rename workflows
21 lines
326 B
YAML
21 lines
326 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
environment:
|
|
DATABASE_URL_FILE: /run/secrets/database-url
|
|
GH_PAT_FILE: /run/secrets/gh-pat
|
|
secrets:
|
|
- database-url
|
|
- gh-pat
|
|
ports:
|
|
- '8080:8080'
|
|
|
|
secrets:
|
|
gh-pat:
|
|
file: .gh-pat
|
|
database-url:
|
|
file: .database-url
|