Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
64347b05
Unverified
Commit
64347b05
authored
Apr 13, 2023
by
OlivierDehaene
Committed by
GitHub
Apr 13, 2023
Browse files
fix(ci): fix CVE in github-slug-action (#174)
parent
e3a63b6f
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
681 additions
and
345 deletions
+681
-345
.github/workflows/build.yaml
.github/workflows/build.yaml
+2
-2
Cargo.lock
Cargo.lock
+22
-4
router/Cargo.toml
router/Cargo.toml
+2
-2
server/poetry.lock
server/poetry.lock
+654
-336
server/pyproject.toml
server/pyproject.toml
+1
-1
No files found.
.github/workflows/build.yaml
View file @
64347b05
...
...
@@ -39,7 +39,7 @@ jobs:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
Inject slug/short variables
uses
:
rlespinasse/github-slug-action@v4
uses
:
rlespinasse/github-slug-action@v4
.4.1
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v2
with
:
...
...
@@ -101,7 +101,7 @@ jobs:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
Inject slug/short variables
uses
:
rlespinasse/github-slug-action@v4
uses
:
rlespinasse/github-slug-action@v4
.4.1
-
name
:
Login to internal Container Registry
uses
:
docker/login-action@v2.1.0
with
:
...
...
Cargo.lock
View file @
64347b05
...
...
@@ -176,16 +176,16 @@ dependencies = [
[[package]]
name = "axum-tracing-opentelemetry"
version = "0.
9
.0"
version = "0.
10
.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "
4a43f5b506fc945900d08e541de14b5b9c82860637702ae082888b0fc2654d86
"
checksum = "
164b95427e83b79583c7699a72b4a6b485a12bbdef5b5c054ee5ff2296d82f52
"
dependencies = [
"axum",
"futures",
"http",
"opentelemetry",
"tower",
"tower-http",
"tower-http
0.3.5
",
"tracing",
"tracing-opentelemetry",
]
...
...
@@ -2424,7 +2424,7 @@ dependencies = [
"thiserror",
"tokenizers",
"tokio",
"tower-http",
"tower-http
0.4.0
",
"tracing",
"tracing-opentelemetry",
"tracing-subscriber",
...
...
@@ -2688,6 +2688,24 @@ dependencies = [
"tracing",
]
[[package]]
name = "tower-http"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d1d42a9b3f3ec46ba828e8d376aec14592ea199f70a06a548587ecd1c4ab658"
dependencies = [
"bitflags",
"bytes",
"futures-core",
"futures-util",
"http",
"http-body",
"http-range-header",
"pin-project-lite",
"tower-layer",
"tower-service",
]
[[package]]
name = "tower-layer"
version = "0.3.2"
...
...
router/Cargo.toml
View file @
64347b05
...
...
@@ -15,7 +15,7 @@ path = "src/main.rs"
[dependencies]
async-stream
=
"0.3.3"
axum
=
{
version
=
"0.6.4"
,
features
=
["json"]
}
axum-tracing-opentelemetry
=
"0.
9
.0"
axum-tracing-opentelemetry
=
"0.
10
.0"
text-generation-client
=
{
path
=
"client"
}
clap
=
{
version
=
"4.1.4"
,
features
=
[
"derive"
,
"env"
]
}
flume
=
"0.10.14"
...
...
@@ -32,7 +32,7 @@ serde_json = "1.0.93"
thiserror
=
"1.0.38"
tokenizers
=
"0.13.3"
tokio
=
{
version
=
"1.25.0"
,
features
=
[
"rt"
,
"rt-multi-thread"
,
"parking_lot"
,
"signal"
,
"sync"
]
}
tower-http
=
{
version
=
"0.
3.5
"
,
features
=
["cors"]
}
tower-http
=
{
version
=
"0.
4.0
"
,
features
=
["cors"]
}
tracing
=
"0.1.37"
tracing-opentelemetry
=
"0.18.0"
tracing-subscriber
=
{
version
=
"0.3.16"
,
features
=
[
"json"
,
"env-filter"
]
}
...
...
server/poetry.lock
View file @
64347b05
This diff is collapsed.
Click to expand it.
server/pyproject.toml
View file @
64347b05
...
...
@@ -31,7 +31,7 @@ bnb = ["bitsandbytes"]
[tool.poetry.group.dev.dependencies]
grpcio-tools
=
"^1.51.1"
pytest
=
"^7.
2
.0"
pytest
=
"^7.
3
.0"
[build-system]
requires
=
["poetry-core>=1.0.0"]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment