Skip to content

Commit

Permalink
fix: updated the native ui to build
Browse files Browse the repository at this point in the history
  • Loading branch information
kasp1 committed May 11, 2023
1 parent f4f496f commit 78d164b
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 84 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [4.2.0](https://github.com/kasp1/Dozer/compare/v4.1.0...v4.2.0) (2023-05-11)


### Features

* `--key=<value>` specifies any environment variable for the pipeline steps ([15bf07d](https://github.com/kasp1/Dozer/commit/15bf07dec4450506bd573d1d21fc60b90aa82d29))

# [4.1.0](https://github.com/kasp1/Dozer/compare/v4.0.2...v4.1.0) (2022-10-27)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dozer ci.yaml # [--gui|--webui|--no-api]
- `--no-api` disables the Websockets API, no UI will be able to connect and display the progress and outputs.
- `--api-port <number>` changes the port that the user interfaces should connect to, `8220` by default.
- `--root <dir>` changes the starting working directory. Overrides the YAML `runtimeDirectory` option. Both `\` and `/` can be specified as path separators.
- `--key=<value>` specifies any environment variable called `key` for the pipeline steps with the value of `<value>`. Examples: `--foo=bar`, `--CI_MY_VAR=Hi`, `"--CI_MY_VAR=Hi there!"`.
- `--key=<value>` specifies any environment variable called `key` for the pipeline steps with the value of `<value>`. Examples: `--foo=bar`, `--CI_MY_VAR=Hi`, `"--CI_MY_VAR=Hi there!"` (Dozer 4.2.0+).

> Warning: it is a bad practice and a security risk to have your pipeline steps output sensitive data. If you don't specify the `--no-api` argument while running Dozer, and if the machine's IP is public, anyone in the world can connect to the Dozer runner and see the output logs. For ease of use, Dozer will open the UI API by default.
Expand Down
3 changes: 1 addition & 2 deletions nativeui/lib/views/pipeline_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,8 @@ class _PipelineScreenState extends State<PipelineScreen> with WindowListener {
height: kOneLineTileHeight,
child: ShaderMask(
shaderCallback: (rect) {
final color = appTheme.color.resolveFromReverseBrightness(
final color = appTheme.color.defaultBrushFor(
theme.brightness,
level: theme.brightness == Brightness.light ? 0 : 2,
);
return LinearGradient(
colors: [
Expand Down
Loading

0 comments on commit 78d164b

Please sign in to comment.