Skip to content

Commit

Permalink
Release v1.15.0 (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumburovskalina authored Jun 13, 2024
1 parent f3f731b commit bdf2187
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 57 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 onetask.ai GmbH
Copyright 2024 Kern AI GmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 11 additions & 4 deletions refinery/kratos/kratos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v0.4.6-alpha.1
version: v1.1.0

dsn: memory

Expand All @@ -12,12 +12,14 @@ serve:

selfservice:
default_browser_return_url: http://localhost:4455/refinery/projects
whitelisted_return_urls:
allowed_return_urls:
- http://localhost:4455/

methods:
password:
enabled: true
link:
enabled: true

flows:
error:
Expand All @@ -30,10 +32,12 @@ selfservice:
recovery:
enabled: true
ui_url: http://localhost:4455/auth/recovery
use: link

verification:
enabled: true
ui_url: http://localhost:4455/auth/verify
use: link
after:
default_browser_return_url: http://localhost:4455/

Expand All @@ -55,7 +59,7 @@ selfservice:
hook: session

log:
level: debug
level: trace
format: text
leak_sensitive_values: true

Expand All @@ -72,7 +76,10 @@ hashers:
key_length: 16

identity:
default_schema_url: file:///etc/config/kratos/identity.schema.json
default_schema_id: default
schemas:
- id: default
url: file:///etc/config/kratos/identity.schema.json

courier:
smtp:
Expand Down
22 changes: 0 additions & 22 deletions refinery/oathkeeper/access-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,28 +83,6 @@
to: http://localhost:4455/auth/login
return_to_query_param: 'return_to'

-
id: "kernai:refinery-gateway:protected"
upstream:
preserve_host: true
url: "http://refinery-gateway:80"
match:
url: "http://localhost:4455/<{graphql/,graphql/**}>"
methods:
- GET
- POST
authenticators:
-
handler: cookie_session
authorizer:
handler: allow
mutators:
- handler: id_token
errors:
- handler: redirect
config:
to: http://localhost:4455/auth/login

- id: "kernai:refinery-gateway:fastapi"
upstream:
preserve_host: true
Expand Down
6 changes: 0 additions & 6 deletions refinery/oathkeeper/oathkeeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ authorizers:
mutators:
noop:
enabled: true

header:
enabled: true
config:
headers:
X-Onetask: "X"

id_token:
enabled: true
Expand Down
40 changes: 20 additions & 20 deletions refinery/versions.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"REFINERY": {
"AC_EXEC_ENV": "v1.14.0",
"AUTHORIZER": "v1.14.0",
"CONFIG": "v1.14.0",
"DOC_OCK": "v1.14.0",
"EMBEDDER": "v1.14.0",
"ENTRY": "v1.14.0",
"GATEWAY": "v1.14.0",
"GATEWAY_PROXY": "v1.14.0",
"ML_EXEC_ENV": "v1.14.0",
"LF_EXEC_ENV": "v1.14.0",
"NEURAL_SEARCH": "v1.14.0",
"REFINERY": "v1.14.0",
"RECORD_IDE_ENV": "v1.14.0",
"TOKENIZER": "v1.14.0",
"UI": "v1.14.0",
"UPDATER": "v1.14.0",
"WEAK_SUPERVISOR": "v1.14.0",
"WEBSOCKET": "v1.9.0",
"ZERO_SHOT": "v1.14.0"
"AC_EXEC_ENV": "v1.15.0",
"AUTHORIZER": "v1.15.0",
"CONFIG": "v1.15.0",
"DOC_OCK": "v1.15.0",
"EMBEDDER": "v1.15.0",
"ENTRY": "v1.15.0",
"GATEWAY": "v1.15.0",
"GATEWAY_PROXY": "v1.15.0",
"ML_EXEC_ENV": "v1.15.0",
"LF_EXEC_ENV": "v1.15.0",
"NEURAL_SEARCH": "v1.15.0",
"REFINERY": "v1.15.0",
"RECORD_IDE_ENV": "v1.15.0",
"TOKENIZER": "v1.15.0",
"UI": "v1.15.0",
"UPDATER": "v1.15.0",
"WEAK_SUPERVISOR": "v1.15.0",
"WEBSOCKET": "v1.15.0",
"ZERO_SHOT": "v1.15.0"
},
"THIRD_PARTY": {
"KRATOS": "v0.8.0-alpha.2-sqlite",
"KRATOS": "v1.1.0",
"MAILHOG": "v1.0.1",
"MINIO": "RELEASE.2022-10-24T18-35-07Z",
"OATHKEEPER": "v0.38.15-beta.1",
Expand Down
4 changes: 2 additions & 2 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ esac

MINIO_ENDPOINT="http://$HOST_IP:7053"

docker pull kernai/alfred:v1.13.0
docker pull kernai/alfred:v1.15.0

docker run -d --rm --name alfred \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$PWD/refinery:/refinery" \
kernai/alfred:v1.13.0 \
kernai/alfred:v1.15.0 \
python start.py "$PWD/refinery" $MINIO_ENDPOINT

docker logs -f alfred
4 changes: 2 additions & 2 deletions start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ set "PWD=/%PWD%"
REM grab MINIO_ENDPOINT from ipconfig
Call :setMinioEndpoint

docker pull kernai/alfred:v1.13.0
docker pull kernai/alfred:v1.15.0

docker run -d --rm ^
--name alfred ^
-v /var/run/docker.sock:/var/run/docker.sock ^
-v "%PWD%/refinery:/refinery" kernai/alfred:v1.13.0 ^
-v "%PWD%/refinery:/refinery" kernai/alfred:v1.15.0 ^
python start.py "%PWD%/refinery" %MINIO_ENDPOINT% > nul

docker logs -f alfred
Expand Down

0 comments on commit bdf2187

Please sign in to comment.