Commit Graph

99 Commits (df718d2a9ebf7fad149d1fe81a13a016fe69c26e)

Author SHA1 Message Date
Luka Vandervelden df718d2a9e gitea gets require-domain and its domain used in templates. 2019-10-28 13:24:41 +01:00
Luka Vandervelden 55dbfa7999 Some services now require a domain name to be provided. 2019-10-28 13:22:15 +01:00
Luka Vandervelden e336abdee5 Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-28 06:39:32 +01:00
Luka Vandervelden 3a3db5bde1 Grooming. 2019-10-28 06:37:57 +01:00
Luka Vandervelden 86f3294689 gen-config: 'service' replaces several variables. 2019-10-28 06:17:45 +01:00
Luka Vandervelden 0f89791a76 Debug message removed. 2019-10-28 06:08:58 +01:00
Luka Vandervelden 36829e8664 Grooming. 2019-10-28 06:08:58 +01:00
Luka Vandervelden c80360e380 Grooming. 2019-10-28 06:08:58 +01:00
Luka Vandervelden 9a74130efa wip, stuff 2019-10-28 06:08:58 +01:00
Philippe PITTOLI 358c7441e6 first attempt at adding the nginx service 2019-10-28 06:08:58 +01:00
Luka Vandervelden 5b6e3e64fd Debug message removed. 2019-10-28 06:08:08 +01:00
Luka Vandervelden 00f9a2b228 Grooming. 2019-10-28 06:06:18 +01:00
Luka Vandervelden a29db9142a Grooming. 2019-10-28 05:46:44 +01:00
Luka Vandervelden 0c720683f6 wip, stuff 2019-10-27 23:02:45 +01:00
Luka Vandervelden 19f825dba4 Fixes service loading issue in gen-config. 2019-10-27 22:14:11 +01:00
Philippe PITTOLI 7864d5b6a2 first attempt at adding the nginx service 2019-10-27 22:13:40 +01:00
Luka Vandervelden ff4c1cc08d WIP consumers in gen-config. 2019-10-27 22:11:07 +01:00
Luka Vandervelden 12cb9ee4dd shard.yml: targets removed 2019-10-27 21:42:18 +01:00
Luka Vandervelden 134da2dea4 pg_create_user: extracts more environment variables 2019-10-26 15:44:35 +02:00
Luka Vandervelden f53db2c6cc Service definitions get some sugar.
- %configuration template target
  - %directory target
  - Services are started in their “root directory” if no “directory”
    option is provided.
2019-10-26 15:24:22 +02:00
Luka Vandervelden 7b02cffb9e %check entries are now called %pre-start hooks. 2019-10-26 14:50:03 +02:00
Luka Vandervelden 34a2982ef4 Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-10-26 14:00:27 +02:00
Luka Vandervelden 27c9a525f6 Service#root, Environment#root. 2019-10-26 14:00:11 +02:00
Philippe PITTOLI 85cd6b6355 pg_create_user script: user and db deletion 2019-10-26 13:09:39 +02:00
Luka Vandervelden 1f9264f97b Improved `service del`, `service stop`, grooming. 2019-10-25 18:40:27 +02:00
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