Commit Graph

12 Commits

Author SHA1 Message Date
Dreaded_X 915fb3f1a0 feat(config)!: Changed default config location
Build and deploy / build (push) Successful in 10m51s
Build and deploy / Deploy container (push) Has been skipped
2025-10-19 05:05:05 +02:00
Dreaded_X 8bb17e1440 feat(config)!: Reworked how configuration is loaded
The environment variable `AUTOMATION_CONFIG` has been renamed to
`AUTOMATION__ENTRYPOINT` and can now also be set in `automation.toml` by
specifying:
```
automation = "<path>"
```

Directly accessing the environment variables in lua in no longer
possible. To pass in configuration or secrets you can now instead make
use of the `variables` and `secrets` modules.

To set values in these modules you can either specify them in
`automation.toml`:
```
[variables]
<name> = <value>

[secrets]
<name> = <value>
```
Note that these values will get converted to a string.

You can also specify the environment variables
`AUTOMATION__VARIABLES__<name>` and `AUTOMATION__SECRETS__<name>` to
set variables and secrets respectively. By adding the suffix `__FILE` to
the environment variable name the contents of a file can be loaded into
the variable or secret.

Note that variables and secrets are identical in functionality and the
name difference exists purely to make it clear that secret values are
meant to be kept secret.
2025-09-05 04:48:00 +02:00
Dreaded_X c5262dcf35 Update to rust 1.89 and edition 2024 2025-08-31 00:38:58 +02:00
Dreaded_X 01e88eeb3b Use new and improved rust workflow and Dockerfile 2025-08-31 00:38:58 +02:00
Dreaded_X 5bf6e6bc3c Fixed build after gitea update 2024-07-08 23:25:20 +02:00
Dreaded_X 2ff59872b2 Moved last config items to lua + small cleanup 2024-05-07 00:05:37 +02:00
Dreaded_X c77064b5b9 Feature: Use Gitea Actions to build automation_rs
Build and deploy automation_rs / Build (push) Successful in 6m39s
Build and deploy automation_rs / Create Docker container (push) Successful in 1m1s
Builds automation_rs and the corresponding docker image.
The binary is uploaded as an artifact and the image is uploaded to the
registry.

In order to improve caching the nightly version is locked using
rust-toolchain.toml
2023-11-22 00:40:05 +01:00
Dreaded_X 74161d909e Fixed build to use yml file
continuous-integration/drone/push Build is passing
2023-11-06 00:20:12 +01:00
Dreaded_X 7ee40f6bb8 Fixed glibc mismatch
continuous-integration/drone/push Build is passing
2023-09-02 06:33:08 +02:00
Dreaded_X f8d1975f85 Fixed build
continuous-integration/drone/push Build is passing
2023-04-12 05:28:51 +02:00
Dreaded_X 90eedbf86e Improved Dockerfile
continuous-integration/drone/push Build is passing
2023-01-17 18:01:37 +01:00
Dreaded_X 917deb717f Added Dockerfile and drone config to auto build and deploy new versions
continuous-integration/drone/push Build is passing
2023-01-17 17:41:47 +01:00