Commit Graph

16 Commits

Author SHA1 Message Date
Vincent Bernat
abca5e983d chore: modernize some code 2025-11-14 23:22:02 +01:00
Vincent Bernat
0f72ffd676 cmd: automatic restart of orchestrator on configuration change 2025-09-19 21:53:01 +02:00
Vincent Bernat
18beb310ee chore: replace interface{} with any 2025-07-29 07:42:49 +02:00
Vincent Bernat
9db516e424 build: don't use ioutil
This is deprecated.
2023-11-12 22:58:41 +01:00
Vincent Bernat
02e527915b cmd: test command checks 2023-07-30 20:27:38 +02:00
Vincent Bernat
9e1ab3fa6d cmd: remove blank line in import 2023-07-29 20:38:12 +02:00
Vincent Bernat
895c34fa82 cmd: accept an !include tag for YAML files 2023-02-13 23:32:45 +01:00
Vincent Bernat
cdbae1c643 Revert "cmd: accept an !include tag for YAML files"
This reverts commit b8698bc060. This
change is not complete, it is missing adaptations in docker-compose.yml.
2023-02-12 14:40:56 +01:00
Vincent Bernat
a912da7fa1 build: use gofumpt
Undecided if we need to use it. I think it's nice.
2023-02-11 10:03:45 +01:00
Vincent Bernat
b8698bc060 cmd: accept an !include tag for YAML files 2023-01-29 14:48:57 +01:00
Vincent Bernat
9884844adf cmd: switch to gopkg.in/yaml.v3 for YAML parsing 2023-01-29 13:09:22 +01:00
Vincent Bernat
9ee4554a7d cmd: add even more tests against configuration 2022-08-17 19:49:45 +02:00
Vincent Bernat
b4a29fab0e cmd: test orchestrator configuration
This should help catching bugs like the one fixed by the latest
commit.
2022-08-16 19:43:28 +02:00
Vincent Bernat
22eab774a4 cmd: change how default configuration values are built
For the orchestrator, we need to build default values for slice of
configurations. We introduce a Reset() method that will be called by
mapstructure.
2022-07-07 20:55:33 +02:00
Vincent Bernat
8be1bca4fd license: AGPL-3.0-only
```
git ls-files \*.js \*.go \
  | xargs sed -i '1i // SPDX-FileCopyrightText: 2022 Free Mobile\n// SPDX-License-Identifier: AGPL-3.0-only\n'
git ls-files \*.vue \
  | xargs sed -i '1i <!-- SPDX-FileCopyrightText: 2022 Free Mobile -->\n<!-- SPDX-License-Identifier: AGPL-3.0-only -->\n'
```
2022-06-29 11:42:28 +02:00
Vincent Bernat
93da599adf cmd: take configuration as a mandatory argument (+ other changes)
The other changes are:
 - rename configure service to orchestrator service
 - turn DefaultConfiguration variables into functions
2022-04-10 15:14:39 +02:00