-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Map GitLab Runner Docker Parameters (#28)
We are currently only exposing a minimal set of adjustable parameters to the REST API of runnrs. In an effort to prepare for advanced use-cases this PR maps all available Docker Executor parameters of the GitLab documentation to the glrcfg. [GitLab Runners Docker Section](https://archives.docs.gitlab.com/15.11/runner/configuration/advanced-configuration.html#the-runnersdocker-section) We implement all types according to the specifications in the documentation. For parameters whose default is explicitly specified, it is taken over. --------- Co-authored-by: Florian Eich <[email protected]>
- Loading branch information
1 parent
5a4dca3
commit f795ea0
Showing
8 changed files
with
600 additions
and
205 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,18 @@ name = "glrcfg" | |
description = "A Rust implementation of the GitLab Runner Advanced Configuration file format" | ||
readme = "README.md" | ||
|
||
version = "0.1.0" | ||
version = "0.2.0" | ||
edition = "2021" | ||
|
||
license = "Apache-2.0" | ||
repository.workspace = true | ||
keywords = ["gitlab", "runner", "runners", "configuration", "config"] | ||
exclude = [".github"] | ||
|
||
authors = ["Florian Eich <[email protected]>"] | ||
authors = [ | ||
"Florian Eich <[email protected]>", | ||
"Fabio Meier <[email protected]>", | ||
] | ||
|
||
[dependencies] | ||
chrono = { version = "0.4.38", default-features = false, features = [ | ||
|
@@ -37,5 +40,6 @@ sqlx = ["dep:sqlx"] | |
indoc = "2.0.5" | ||
pretty_assertions = "1.4.0" | ||
proptest = "1.5.0" | ||
serde_json = "1.0.120" | ||
test-strategy = "0.4.0" | ||
toml = "0.8.12" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.