-
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.
Functional POC. Co-authored-by: Jesse Zwaan <[email protected]>
- Loading branch information
Showing
24 changed files
with
1,965 additions
and
845 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
on: | ||
pull_request: | ||
push: | ||
|
||
name: Syntax | ||
jobs: | ||
nocommit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "nocommit checker" | ||
uses: nobssoftware/nocommit@v2 |
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 |
---|---|---|
@@ -1 +1,7 @@ | ||
.venv | ||
.venv | ||
.envrc | ||
.terraform* | ||
data | ||
__pycache__ | ||
result | ||
.direnv |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Brrr: high performance workflow scheduling | ||
|
||
Brrr is a POC for ultra high performance workflow scheduling. | ||
|
||
## Copyright & License | ||
|
||
Brrr was written by Hraban Luyat and Jesse Zwaan. It is available under the AGPLv3 license (not later). | ||
|
||
See the [LICENSE](LICENSE) file. |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright © 2024 Brrr Authors | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, version 3 of the License. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
# Brrr-demo module for process-compose-flake | ||
|
||
{ config, pkgs, name, lib, ... }: { | ||
options = with lib.types; { | ||
# You’ll want to override this unless you use an overlay | ||
package = lib.mkPackageOption pkgs "brrr-demo" { }; | ||
args = lib.mkOption { | ||
default = []; | ||
type = listOf str; | ||
}; | ||
environment = lib.mkOption { | ||
type = types.attrsOf types.str; | ||
default = { }; | ||
example = { | ||
AWS_ENDPOINT_URL = "http://localhost:12345"; | ||
}; | ||
description = '' | ||
Extra environment variables passed to the `brrr-demo` process. | ||
''; | ||
}; | ||
}; | ||
config = { | ||
outputs.settings.processes.${name} = { | ||
environment = config.environment; | ||
command = "${lib.getExe config.package} ${lib.escapeShellArgs config.args}"; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.