Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: maintenance bump #114

Merged
merged 9 commits into from
May 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
auth/ @aldy505
landing/ @elianiva
rce/ @aldy505
* @aldy505 @elianiva @RayWP
auth/ @aldy505
landing/ @elianiva
rce/ @aldy505 @elianiva
registration/ @RayWP
5 changes: 0 additions & 5 deletions .github/workflows/sdks-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: SDK

on:
pull_request:
paths:
- sdk/**
push:
branches:
- master

jobs:
go-sdk:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/systems-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ name: Main System

on:
pull_request:
paths:
- auth/**
- landing/**
- rce/**
- registration/**
- dogfood/**

env:
REGISTRY: ghcr.io
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ See [our website](https://pesto.teknologiumum.com) for details.

## Who uses Pesto

* Sadly, we don't know yet
* [Teknologi Umum Bot](https://github.com/teknologi-umum/bot)
* You?

Are you using Pesto on your project, if so, please put it here!

## Structure

| Codebase | Description |
| ------------ | ----------------------------------------- |
|--------------|-------------------------------------------|
| auth | Authentication middleware for Pesto's API |
| landing | Frontend service and entrypoint |
| rce | Remote code execution engine service |
Expand Down
2 changes: 1 addition & 1 deletion auth/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/francoispqt/onelog v0.0.0-20190306043706-8c2bb31b10a4
github.com/getsentry/sentry-go v0.20.0
github.com/getsentry/sentry-go v0.21.0
github.com/go-redis/redis/v9 v9.0.0-rc.2
)

Expand Down
4 changes: 2 additions & 2 deletions auth/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/francoispqt/gojay v0.0.0-20181220093123-f2cc13a668ca/go.mod h1:H8Wgri
github.com/francoispqt/onelog v0.0.0-20190306043706-8c2bb31b10a4 h1:N9eG+1y9e3tnNPXKjssLMa8MumIBDWWoJQWM7htGWUc=
github.com/francoispqt/onelog v0.0.0-20190306043706-8c2bb31b10a4/go.mod h1:v1Il1fkBpjiYPpEJcGxqgrPUPcHuTC7eHh9zBV3CLBE=
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
github.com/getsentry/sentry-go v0.20.0 h1:bwXW98iMRIWxn+4FgPW7vMrjmbym6HblXALmhjHmQaQ=
github.com/getsentry/sentry-go v0.20.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
github.com/getsentry/sentry-go v0.21.0 h1:c9l5F1nPF30JIppulk4veau90PK6Smu3abgVtVQWon4=
github.com/getsentry/sentry-go v0.21.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
github.com/go-redis/redis/v9 v9.0.0-rc.2 h1:IN1eI8AvJJeWHjMW/hlFAv2sAfvTun2DVksDDJ3a6a0=
github.com/go-redis/redis/v9 v9.0.0-rc.2/go.mod h1:cgBknjwcBJa2prbnuHH/4k/Mlj4r0pWNV2HBanHujfY=
Expand Down
2 changes: 1 addition & 1 deletion auth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func main() {
return 0
}

return 0.5
return 0.4
},
})
if err != nil {
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ services:
environment:
<<: [ *defaults ]
PORT: 80
ASPNETCORE_SentryDsn: ${REGISTRATION_SENTRY_DSN}
ASPNETCORE_RedisUrl: db:6739
SENTRY_DSN: ${REGISTRATION_SENTRY_DSN}
SentryDsn: ${REGISTRATION_SENTRY_DSN}
RedisUrl: db:6739
labels:
- "traefik.enable=true"
- "traefik.http.routers.registration.entrypoints=web,websecure"
Expand Down
19 changes: 10 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
max-size: 10m
max-file: 3
healthcheck:
test: curl -f http://localhost:3000/ || exit 1
test: "curl -f http://localhost:3000/ || exit 1"
interval: 15s
timeout: 10s
retries: 5
Expand Down Expand Up @@ -130,7 +130,7 @@ services:
max-size: 10m
max-file: 3
healthcheck:
test: curl -f http://localhost:3000/healthz || exit 1
test: "curl -f http://localhost:3000/healthz || exit 1"
interval: 15s
timeout: 10s
retries: 5
Expand Down Expand Up @@ -202,7 +202,7 @@ services:
max-size: 10m
max-file: 3
healthcheck:
test: curl -f http://localhost:50051/healthz || exit 1
test: "curl -f http://localhost:50051/healthz || exit 1"
interval: 15s
timeout: 5s
retries: 5
Expand All @@ -227,11 +227,12 @@ services:
image: ghcr.io/teknologi-umum/pesto-registration:edge
environment:
<<: [ *defaults ]
PORT: 80
ASPNETCORE_Sentry__Dsn: ${REGISTRATION_SENTRY_DSN}
ASPNETCORE_Sentry__Debug: false
ASPNETCORE_Sentry__Environment: production
ASPNETCORE_RedisUrl: db:6379
PORT: "80"
SENTRY_DSN: ${REGISTRATION_SENTRY_DSN}
Sentry__Dsn: ${REGISTRATION_SENTRY_DSN}
Sentry__Debug: false
Sentry__Environment: production
RedisUrl: "db:6379"
labels:
- "traefik.enable=true"
- "traefik.http.routers.registration.entrypoints=web,websecure"
Expand Down Expand Up @@ -272,7 +273,7 @@ services:
max-size: 10m
max-file: 3
healthcheck:
test: curl -f http://localhost:80/healthz || exit 1
test: "curl -f http://localhost:80/healthz || exit 1"
interval: 15s
timeout: 10s
retries: 5
Expand Down
Loading