Commit Graph

74 Commits (21e694386819c7a0b2ddad6d1adbfc526d053059)

Author SHA1 Message Date
Luka Vandervelden 21e6943868 service del-environment 2019-10-25 17:59:53 +02:00
Luka Vandervelden 1bc9181caa Internal changes in gen-config.
Most data are now read from service files instead of the process’
environment. Some environment variables are still being used to identify
the target service, however.
2019-10-25 15:14:56 +02:00
Luka Vandervelden 8d0708dee8 Scripts in utils/* are now installed properly. 2019-10-25 15:14:22 +02:00
Philippe PITTOLI d43eddf726 Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-10-25 15:01:43 +02:00
Philippe PITTOLI 3d4cdf335d Service gitea: adding -C, -w and -c parameters. 2019-10-25 15:01:12 +02:00
Luka Vandervelden fe4bce0a44 gen-config: grooming 2019-10-25 13:21:22 +02:00
Luka Vandervelden add94be507 `service del` takes service ids as parameters 2019-10-25 13:15:44 +02:00
Luka Vandervelden bf2075be9e get-port has a proper CLI. 2019-10-25 13:10:20 +02:00
Luka Vandervelden e4741daeb3 service status: full id used in lists at all times. 2019-10-25 12:36:30 +02:00
Luka Vandervelden 5501c62f56 New environments don’t have a `name` field in their specs. 2019-10-25 12:35:30 +02:00
Luka Vandervelden 0fa6ec01c9 Environment#name is obtained from filename and not specs. 2019-10-25 12:34:21 +02:00
Luka Vandervelden 479dffc6a0 Fixes and improves `service show`’s CLI. 2019-10-25 12:28:39 +02:00
Luka Vandervelden a3c32905ee ServiceDefinition#name based on filename and not specs. 2019-10-25 12:24:25 +02:00
Luka Vandervelden bdeb23c275 Better handling of commands. 2019-10-24 20:31:38 +02:00
Luka Vandervelden 3ca16cfcce `service help` updated slightly. 2019-10-24 18:52:30 +02:00
Luka Vandervelden f085cac64e `service list` removed. 2019-10-24 18:50:23 +02:00
Luka Vandervelden 7c66ce5a37 services/postgresql: typo in directory path 2019-10-24 18:48:29 +02:00
Luka Vandervelden de2b124d09 service add-environment <name>, bugfixes. 2019-10-24 18:29:22 +02:00
Luka Vandervelden c6dd306361 service: service add <service-id> [token=provider [...]] 2019-10-24 17:55:01 +02:00
Philippe PITTOLI 59b78e3af5 New service: gitea. 2019-10-24 15:54:15 +02:00
Luka Vandervelden 60dc0917d4 get-port: / characters are replaced internally. 2019-10-24 15:48:03 +02:00
Luka Vandervelden 5ab14d4ee4 service: providers are identified by full ids internally. 2019-10-24 15:41:53 +02:00
Luka Vandervelden 440fde06f8 service: $SERVICE_ID is the long service id 2019-10-24 15:29:22 +02:00
Luka Vandervelden 035420cc9a gen-config: port() gets its output chomp’d. 2019-10-24 14:57:29 +02:00
Luka Vandervelden 10dcca2392 gen-config: random_password(id, name) 2019-10-24 14:29:35 +02:00
Luka Vandervelden 46eb8fa9c4 Exception catching. 2019-10-24 12:59:19 +02:00
Luka Vandervelden 925a8ee0fd `service status`: improved UI 2019-10-24 12:55:30 +02:00
Luka Vandervelden efc31bac79 Templates installed in sharedir. 2019-10-24 12:53:18 +02:00
Philippe PITTOLI 79e2b3253c Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-10-24 12:04:19 +02:00
Philippe PITTOLI b4b5754e7c Postgresql user and database creation script. 2019-10-24 12:03:40 +02:00
Luka Vandervelden f9ad890e05 Installed files have better permissions.
Requires build.zsh 0.4.0.
2019-10-24 00:48:20 +02:00
Luka Vandervelden f40dbccc1f Template directories are Makefile-configured. 2019-10-24 00:41:55 +02:00
Luka Vandervelden 0c3a61f58d Templates are Makefile-installed. 2019-10-24 00:41:34 +02:00
Luka Vandervelden 75d5fd7874 `status` can take several parameters or none. 2019-10-23 19:38:08 +02:00
Philippe PITTOLI 7f9bd275b1 postgresql (spec + template) 2019-10-22 18:33:51 +02:00
Luka Vandervelden 6a0e35eecf gen-config binary added. 2019-10-20 18:09:43 +02:00
Luka Vandervelden 2dfcfcb979 Updates for configuration generation. 2019-10-20 18:05:31 +02:00
Luka Vandervelden 6237a9bb10 PID directory created as needed. 2019-10-19 18:43:40 +02:00
Luka Vandervelden 365e780055 Does not raise on missing directories. 2019-10-19 18:40:47 +02:00
Luka Vandervelden 794ffe16fa Bugfixes related to a dependency’s API changes. 2019-10-19 18:24:38 +02:00
Luka Vandervelden ca013e37d8 More stuff gets installed through `make install`. 2019-10-19 18:17:50 +02:00
Luka Vandervelden 3c20783f91 Updated dependencies and code for new Crystal version. 2019-10-19 18:08:34 +02:00
Luka Vandervelden 1c87371196 shard.yml: dependencies update 2019-10-19 18:04:40 +02:00
Luka Vandervelden c042a8eb84 CACHE_DIRECTORY in config.cr. 2019-10-19 18:01:29 +02:00
Luka Vandervelden 75e500adcf SpecFileParser update. 2019-08-15 17:29:52 +02:00
Luka Vandervelden 4eefe465f4 Providers are auto-guessed when adding services. 2019-08-10 22:29:11 +02:00
Luka Vandervelden 9e7921a803 `service add` can be specified token providers. 2019-08-10 22:02:11 +02:00
Luka Vandervelden efe2c0e964 Complete removal of YAML files. 2019-08-10 17:16:24 +02:00
Luka Vandervelden 3769303ad5 WIP support for .spec service files. 2019-08-08 17:12:23 +02:00
Luka Vandervelden 2e57922ffd Example (and test) service files added. 2019-07-08 02:59:01 +02:00