Skip to content

Commit

Permalink
Merge branch 'develop' into release-please--branches--develop--compon…
Browse files Browse the repository at this point in the history
…ents--eval-lb
  • Loading branch information
WarriorsSami authored Sep 21, 2024
2 parents 7efa37c + 86c427d commit 89d1012
Show file tree
Hide file tree
Showing 14 changed files with 163 additions and 84 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/anubis-eval-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
tags:
- "anubis/**"

env:
NAMESPACE: pantheonix
REPOSITORY: anubis
IMAGE_NAME: anubis-eval
BUILD_CONTEXT: anubis-eval

jobs:
build:
name: Build and Test Anubis Eval Microservice
Expand Down Expand Up @@ -50,13 +44,13 @@ jobs:
needs: build
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: anubis-eval
build_context: anubis-eval

deploy-to-docker-hub:
needs: build
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: anubis
build_context: anubis-eval
16 changes: 5 additions & 11 deletions .github/workflows/dapr-config-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,16 @@ on:
tags:
- "dapr/**"

env:
NAMESPACE: pantheonix
REPOSITORY: asgard-dapr
IMAGE_NAME: asgard-dapr-config
BUILD_CONTEXT: dapr

jobs:
deploy-to-ghcr:
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: asgard-dapr-config
build_context: dapr

deploy-to-docker-hub:
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: asgard-dapr
build_context: dapr
16 changes: 5 additions & 11 deletions .github/workflows/enki-problems-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
tags:
- "enki/**"

env:
NAMESPACE: pantheonix
REPOSITORY: enki
IMAGE_NAME: enki-problems
BUILD_CONTEXT: enki-problems

jobs:
build:
name: Build and Test Enki Problems Microservice
Expand All @@ -37,13 +31,13 @@ jobs:
needs: build
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: enki-problems
build_context: enki-problems

deploy-to-docker-hub:
needs: build
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: enki
build_context: enki-problems
16 changes: 5 additions & 11 deletions .github/workflows/eval-lb-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,16 @@ on:
tags:
- "eval-lb/**"

env:
NAMESPACE: pantheonix
REPOSITORY: eval-lb
IMAGE_NAME: asgard-eval-lb
BUILD_CONTEXT: anubis-eval/eval-lb

jobs:
deploy-to-ghcr:
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: asgard-eval-lb
build_context: anubis-eval/eval-lb

deploy-to-docker-hub:
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: eval-lb
build_context: anubis-eval/eval-lb
17 changes: 5 additions & 12 deletions .github/workflows/hermes-tests-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ on:
tags:
- "hermes/**"

env:
NAMESPACE: pantheonix
REPOSITORY: hermes
IMAGE_NAME: hermes-tests
BUILD_CONTEXT: hermes-tests
HERMES_CONFIG: ${{ secrets.HERMES_CONFIG }}

jobs:
build:
name: Build and Test Hermes Tests Microservice
Expand Down Expand Up @@ -43,13 +36,13 @@ jobs:
needs: build
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: hermes-tests
build_context: hermes-tests

deploy-to-docker-hub:
needs: build
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: hermes
build_context: hermes-tests
16 changes: 5 additions & 11 deletions .github/workflows/odin-gateway-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,17 @@ on:
tags:
- "odin/**"

env:
NAMESPACE: pantheonix
REPOSITORY: odin
IMAGE_NAME: odin-api-gateway
BUILD_CONTEXT: odin-gateway

jobs:
deploy-to-ghcr:
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: odin-api-gateway
build_context: odin-gateway

deploy-to-docker-hub:
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: odin
build_context: odin-gateway

16 changes: 5 additions & 11 deletions .github/workflows/quetzalcoatl-auth-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
tags:
- "quetzalcoatl/**"

env:
NAMESPACE: pantheonix
REPOSITORY: quetzalcoatl
IMAGE_NAME: quetzalcoatl-auth
BUILD_CONTEXT: quetzalcoatl-auth

jobs:
build:
name: Build and Test Quetzalcoatl Auth Microservice
Expand All @@ -37,13 +31,13 @@ jobs:
needs: build
uses: ./.github/workflows/step-deploy-to-ghcr.yaml
with:
image_name: ${{ env.IMAGE_NAME }}
build_context: ${{ env.BUILD_CONTEXT }}
image_name: quetzalcoatl-auth
build_context: quetzalcoatl-auth

deploy-to-docker-hub:
needs: build
uses: ./.github/workflows/step-deploy-to-docker-hub.yaml
with:
namespace: ${{ env.NAMESPACE }}
repository: ${{ env.REPOSITORY }}
build_context: ${{ env.BUILD_CONTEXT }}
namespace: pantheonix
repository: quetzalcoatl
build_context: quetzalcoatl-auth
11 changes: 5 additions & 6 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"quetzalcoatl": "2.0.0",
"enki": "2.0.0",
"hermes": "2.0.0",
"anubis": "2.0.0",
"odin": "2.0.0",
"dapr": "2.0.0",
"eval-lb": "2.0.0",
"anubis-eval/eval-lb": "1.0.0"
"enki-problems": "1.0.0"
"quetzalcoatl-auth": "1.0.0"
"hermes-tests": "1.0.0"
"odin-gateway": "1.0.0"
"anubis-eval": "0.1.0"
}
32 changes: 32 additions & 0 deletions anubis-eval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Changelog

## 0.1.0 (2024-09-21)


### Features

* **anubis-judge0:** add nginx lb between anubis and judge0 replicas ([13fbc85](https://github.com/Pantheonix/Asgard/commit/13fbc85d6ea9a4c436484668d040932d560d7265))
* **anubis:** add create/get test case dapr client methods ([35702ea](https://github.com/Pantheonix/Asgard/commit/35702ea227af61eb5a90e61bea5e2bf0a480e111))
* **anubis:** add endpoint for retrieving the highest score submissions per user (and problem if specified) ([251ff99](https://github.com/Pantheonix/Asgard/commit/251ff99bcc461c143114a37a04a0dac5891bb258))
* **cors:** enable cors policy for anubis, enki and quetzalcoatl ([6652dbc](https://github.com/Pantheonix/Asgard/commit/6652dbcdbfaceeb94c36369423fecb7b2682d9d5))
* **enki+anubis:** add pubsub support for eval metadata retrieval to improve performance ([35391c9](https://github.com/Pantheonix/Asgard/commit/35391c968ef2e91a89a86f20288890b866756bd7))


### Bug Fixes

* **anubis:** add cors preflight catcher ([80f5651](https://github.com/Pantheonix/Asgard/commit/80f5651f9ef37327db4edfc0f2c6d9d0a5337729))
* **anubis:** configure CORS policy for Rocket ([f25b830](https://github.com/Pantheonix/Asgard/commit/f25b83054e91ee37a52e16075e5c4e4bb0d85f98))
* **anubis:** fix compilation error in application error mapping ([54fa5ff](https://github.com/Pantheonix/Asgard/commit/54fa5ff4165f07ebfbe4f0ed1c2b5618697f69a7))
* **anubis:** remove unused import ([5984d6c](https://github.com/Pantheonix/Asgard/commit/5984d6cde4e9a4d2a32073b325c5d330d270f6ba))
* **anubis:** split submission batch into chunks ([8bc3f87](https://github.com/Pantheonix/Asgard/commit/8bc3f87e1440a456360a62fe606f9474869f2a49))
* **anubis:** update tests PK as the composition between id and problem_id ([87c7b5b](https://github.com/Pantheonix/Asgard/commit/87c7b5bd6c7ec9653071daabe9088b7f9e6cac8b))
* **submission source code:** show submission source code iff problem has been solved previously by user ([7b60949](https://github.com/Pantheonix/Asgard/commit/7b609495c69f89db2ad79e22b5c139b2790594f1))


### Performance Improvements

* **anubis:** add is_published field to submissions dtos ([a30c434](https://github.com/Pantheonix/Asgard/commit/a30c4348ae0505b34c1f69c16b45becee7a73937))
* **anubis:** add ocaml and lua support ([a8a79eb](https://github.com/Pantheonix/Asgard/commit/a8a79ebd32b973e936fc3f8890ff2d81a51f9ad2))
* **anubis:** add problem name to get all submissions endpoint response ([096f6b7](https://github.com/Pantheonix/Asgard/commit/096f6b70551eaafaa40d1e5d5b0713f926e110f0))
* **anubis:** add problem name to get submission by id endpoint response ([94fa6c6](https://github.com/Pantheonix/Asgard/commit/94fa6c619b183165de65c715b25a1f76dd03c707))
* **anubis:** improve http errors format using json ([d47cba0](https://github.com/Pantheonix/Asgard/commit/d47cba0b128c0e2ae8be36be16b9f47bea7cd046))
8 changes: 8 additions & 0 deletions dapr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

## [2.1.0](https://github.com/Pantheonix/Asgard/compare/dapr-v2.0.0...dapr/v2.1.0) (2024-09-21)


### Features

* **enki+anubis:** add pubsub support for eval metadata retrieval to improve performance ([35391c9](https://github.com/Pantheonix/Asgard/commit/35391c968ef2e91a89a86f20288890b866756bd7))
22 changes: 22 additions & 0 deletions enki-problems/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog

## 1.0.0 (2024-09-21)


### Features

* **anubis-judge0:** add nginx lb between anubis and judge0 replicas ([13fbc85](https://github.com/Pantheonix/Asgard/commit/13fbc85d6ea9a4c436484668d040932d560d7265))
* **cors:** enable cors policy for anubis, enki and quetzalcoatl ([6652dbc](https://github.com/Pantheonix/Asgard/commit/6652dbcdbfaceeb94c36369423fecb7b2682d9d5))
* **enki+anubis:** add pubsub support for eval metadata retrieval to improve performance ([35391c9](https://github.com/Pantheonix/Asgard/commit/35391c968ef2e91a89a86f20288890b866756bd7))
* **enki:** add delete problem endpoint (propagate deletion event against hermes too) ([f29eaa5](https://github.com/Pantheonix/Asgard/commit/f29eaa59984119224f0af2c2250265cbcb84e50e))


### Bug Fixes

* **enki:** allow proposer to keep the same name for an existing problem on problem update endpoint ([b1226a1](https://github.com/Pantheonix/Asgard/commit/b1226a17304bd8d334723aef6507e6b4373d78bd))
* **enki:** count items after filtering for correct pagination of problems (both published and unpublished) ([15a607b](https://github.com/Pantheonix/Asgard/commit/15a607bf6bb27f62149d8a85c0232b9f8c599e46))


### Performance Improvements

* **enki:** add authorization to GetListAsync and GetAsync methods ([be8e58b](https://github.com/Pantheonix/Asgard/commit/be8e58ba2d7b6a679aa67550428469cf1601304a))
9 changes: 9 additions & 0 deletions hermes-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Changelog

## 1.0.0 (2024-09-21)


### Features

* **cors:** enable cors policy for anubis, enki and quetzalcoatl ([6652dbc](https://github.com/Pantheonix/Asgard/commit/6652dbcdbfaceeb94c36369423fecb7b2682d9d5))

## 1.0.0

- Initial version.
23 changes: 23 additions & 0 deletions odin-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog

## 1.0.0 (2024-09-21)


### Features

* Add logging and error handling to refresh token endpoint ([fdfc9ba](https://github.com/Pantheonix/Asgard/commit/fdfc9baee1ff9d693e6221ea337fcf824a3a94a9))


### Bug Fixes

* **odin:** remove certs dependency as they are already set in lb ([92ec8a0](https://github.com/Pantheonix/Asgard/commit/92ec8a024559c4b5aaf9f60d68eb54d449b36f44))
* **odin:** remove https redirection ([11cdfb6](https://github.com/Pantheonix/Asgard/commit/11cdfb66ff40c5c4736a6f6a337cd11eeb6f0c70))
* **odin:** use correct name for access token ([d7aabcb](https://github.com/Pantheonix/Asgard/commit/d7aabcb7e8508fb095942a24e84547b020e89442))


### Performance Improvements

* **odin:** add https support ([17d199d](https://github.com/Pantheonix/Asgard/commit/17d199d6329cea36a0f0c363a144067c190ec750))
* **odin:** add lua filter for appending access/refresh tokens from/to requests/responses ([884b168](https://github.com/Pantheonix/Asgard/commit/884b1685d1a2067f8758b2d1fb6d1418f6c2c47f))
* **odin:** increase expiry time for newly created access tokens ([9e86619](https://github.com/Pantheonix/Asgard/commit/9e86619c839023e53060f6724eb380dbaf13703e))
* **prod:** update SameSite attribute for cookies to None ([7d143ad](https://github.com/Pantheonix/Asgard/commit/7d143adde34b824adc3a90f6a062bb5453038912))
29 changes: 29 additions & 0 deletions quetzalcoatl-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Changelog

## 1.0.0 (2024-09-21)


### Features

* **cors:** enable cors policy for anubis, enki and quetzalcoatl ([6652dbc](https://github.com/Pantheonix/Asgard/commit/6652dbcdbfaceeb94c36369423fecb7b2682d9d5))
* **images:** allow anonymous users to access the image endpoint ([9689d00](https://github.com/Pantheonix/Asgard/commit/9689d003b1b09b5c4b01abd0577a21844f26af8a))
* **roles:** add endpoints for roles management ([33e1b88](https://github.com/Pantheonix/Asgard/commit/33e1b88092bfd53c6e1aee14c6a05d36ec525f9e))
* **users:** add support for filtering-sorting-pagination for users endpoint ([464b181](https://github.com/Pantheonix/Asgard/commit/464b1810efe519e155309573d55da5603bcb0a53))


### Bug Fixes

* **quetzalcoatl:** check profile picture not to be null before adding its id to dtos ([f869580](https://github.com/Pantheonix/Asgard/commit/f8695804e16dc01123b4e70f6726d3555885bb58))
* **quetzalcoatl:** get total count of items after filtering for correct user pagination on GetAll endpoint ([8fdd7ec](https://github.com/Pantheonix/Asgard/commit/8fdd7ec9fbae2dc880b373abdab2f115bbd4e40d))
* **remove role:** add role information to user response ([c1ad42e](https://github.com/Pantheonix/Asgard/commit/c1ad42efd1e1f497e1a84009bea0f81aef9a2479))


### Performance Improvements

* **prod:** update SameSite attribute for cookies to None ([7d143ad](https://github.com/Pantheonix/Asgard/commit/7d143adde34b824adc3a90f6a062bb5453038912))
* **quetzalcoatl:** extract cors origins in envvar ([cffef24](https://github.com/Pantheonix/Asgard/commit/cffef24f5af89ee8c3328e0a8fd88e091c0f0939))
* **quetzalcoatl:** set cookies as samesite none ([6108f12](https://github.com/Pantheonix/Asgard/commit/6108f12a86e7060eab56506a7059bf13745bed5e))
* **quetzalcoatl:** simplify refresh token logic ([36f3105](https://github.com/Pantheonix/Asgard/commit/36f3105b35d0be6469a7afeae2a0f33a34ba0365))
* **quetzalcoatl:** update user dtos to use ProfilePictureId instead of ProfilePictureUrl ([67da983](https://github.com/Pantheonix/Asgard/commit/67da983e7155937f9ea956afa2717e7d9144837f))
* **register:** set auth tokens as samesite lax ([c4537b6](https://github.com/Pantheonix/Asgard/commit/c4537b6524e956215f278c32194b4a63a51634ba))
* **users:** define all fsp params as optional ([54ec5c2](https://github.com/Pantheonix/Asgard/commit/54ec5c24bebfe674ffaf973c1bb61b2b79cf5170))

0 comments on commit 89d1012

Please sign in to comment.