Commit graph

526 commits

Author SHA1 Message Date
45223d4669 [skip ci] refactor SyspecConfigRepo.kt using kotlin.Result 2022-03-26 13:14:34 +01:00
fcc172156a release-0.9.18 - add pipeline artifacts for syspec 2022-03-26 12:07:16 +01:00
df124f0c25 add spec from resource 2022-03-25 21:25:00 +01:00
a0f6fb135c add syspec jar 2022-03-25 16:31:29 +01:00
394dc9edf2 add syspec 2022-03-25 15:21:11 +01:00
14690a089d improve layout of result line for FAILED results 2022-03-22 20:13:10 +01:00
a00f0e9de0 correct function names for tests for chk 2022-03-19 20:48:15 +01:00
ab561ded3a add test for output if failure is not taken into account 2022-03-19 20:45:57 +01:00
d2a2ee6b00 fix problem with potential wrong color due to success not overwritten in logic in printResults 2022-03-19 20:39:31 +01:00
10e5bf933e move ssh function as trustHost to correct file 2022-03-18 22:39:52 +01:00
2cd5ae5c7c add function checkDir, make dirExists deprecated 2022-03-18 22:29:01 +01:00
d778c75937 add function checkFile, make fileExists deprecated 2022-03-18 22:24:50 +01:00
16c6292ca3 make function def deprecated replace by task 2022-03-18 22:04:32 +01:00
908ac00a3b avoid emphasis with color red on failed results that do not count 2022-03-18 21:31:25 +01:00
d4c7c19126 [skip ci] cleanup 2022-03-18 21:24:42 +01:00
f0a7fe569d restart provisioner after reconfiguration 2022-03-18 18:39:08 +01:00
bom
b509bb4228 added local-path-provisioner config 2022-03-18 15:43:36 +01:00
3f3974794a [skip ci] change default desktop config to desktop-config.yaml 2022-03-17 20:13:27 +01:00
d572705a15 refactor K3s.kt with type File etc 2022-03-14 22:27:42 +01:00
f770e026d2 add ssh utils following the same scheme as k8s-create... 2022-03-14 16:42:51 +01:00
a3fbd13474 add ssh utils following the same scheme as k8s-create... 2022-03-14 16:42:27 +01:00
1836b9efdb fix todos in class Prov & method names refactorings 2022-03-12 18:41:07 +01:00
d8ff355893 [skip ci] hide Prov instanceName as currently no extern usage is known 2022-03-12 17:45:45 +01:00
fba09f5337 [skip ci] cleanup apple 2022-03-12 17:41:49 +01:00
a8c8864f75 add provisioning of an additional k3s application 2022-03-12 15:33:14 +01:00
a9b74342a7 introduce metallb 2022-03-11 17:51:03 +01:00
bd83b4a0f8 remove apple, add echo, adjust to new k3s 2022-03-11 16:26:39 +01:00
2a48b541b8 add k3s echo service 2022-03-11 15:22:52 +01:00
e03d8d5d58 refactor k3s: split install & configure 2022-03-11 10:09:56 +01:00
31c60931dd add creation of default server-config.yaml if not existing 2022-03-10 22:10:59 +01:00
c52a367dc8 [skip ci] add tests for yaml 2022-03-10 21:46:00 +01:00
dfd656739e release-0.9.12 2022-03-10 21:24:17 +01:00
064243da60 add possibility for k8s apple service with selfsigned certificate 2022-03-10 20:30:59 +01:00
03cd8f4b2b improve readability of error messages for filename of config 2022-03-05 09:26:48 +01:00
cf327184b6 [skip ci] documentation changes 2022-02-26 21:13:12 +01:00
9c29d229e6 [skip ci] improve cli messages 2022-02-26 12:37:48 +01:00
5b8a0a6371 release-0.9.10 2022-02-26 12:20:39 +01:00
8b033c56a1 update installed binaries to version 0.9.9 2022-02-26 11:38:21 +01:00
c9c4a31144 add more tags extensivecontainertest & fix downloadFromURL_local_file_with_incorrect_checksum 2022-02-25 21:52:46 +01:00
63c207c2e7 [skip ci] add tag extensivecontainertest 2022-02-25 21:38:50 +01:00
a005e51729 release-0.9.9 add c4kbinaries download 2022-02-25 21:11:04 +01:00
6be97d82de use newest nextcloud 2022-02-25 17:03:43 +01:00
ec0cd59e56 add more c4k modules 2022-02-25 15:47:19 +01:00
241bc4fef3 [skip ci] wip 2022-02-25 15:29:10 +01:00
2212286ea7 [skip ci] update provs binaries to version 0.9.8 2022-02-25 15:05:26 +01:00
800c974668 [skip ci] update README.md 2022-02-25 14:35:39 +01:00
baf9e19c86 add install BinariesC4k.kt 2022-02-25 09:46:30 +01:00
32e4c04175 add only to cli 2022-02-24 22:27:01 +01:00
478f058fd7 change cli to new format 2022-02-24 19:21:18 +01:00
2d26bafe4d [skip ci] add installation of jarwrapper 2022-02-22 22:39:44 +01:00
70b411baa8 add modules to desktop cli 2022-02-22 22:36:48 +01:00
c8e880eba4 [skip ci] fix empty arguments exception 2022-02-22 17:42:40 +01:00
2a30cad76a refactor gopass, change gopass config to latest format, omit configureGopass if config already in place 2022-02-21 22:58:31 +01:00
94bb87ce0a add return value to result of subtask evaluation 2022-02-21 22:47:45 +01:00
29300d20ca remove ping test 2022-02-21 22:40:59 +01:00
5fbe77f013 add installation of shadow-cljs to IDE 2022-02-17 19:35:59 +01:00
6f45f6355f fix test 2022-02-16 21:41:50 +01:00
988339323f fix issuer url & tests 2022-02-12 20:50:21 +01:00
4928d94e95 fix ln 2022-02-12 19:56:47 +01:00
fde64d0122 certmanager values should match to c4k ... 2022-02-12 19:47:57 +01:00
7f1400fd1f add parameter overwrite to downloadFromUrl 2022-02-12 17:45:53 +01:00
1deb7fe574 added link for cluster initialization 2022-02-11 10:16:25 +01:00
zwa
388c515494 add BashKtTest.kt & fix some filesystem functions 2022-02-10 22:17:26 +01:00
zwa
6996be5fb0 fix typo 2022-02-06 20:32:19 +01:00
zwa
3bf2015716 non-strict parse of configs 2022-02-06 20:30:53 +01:00
zwa
0178a09b80 fix CliWorkplaceKtTest.kt 2022-02-06 19:46:38 +01:00
gittestuser
fa4f8beae4 fixe bashrcd issue 2022-02-04 11:22:57 +01:00
gittestuser
f9bf72313f fixed desktop resource path 2022-02-04 11:22:30 +01:00
gittestuser
6109323640 fixed server resource path 2022-02-04 11:06:12 +01:00
gittestuser
4c36eec49e use latest version 2022-02-04 10:24:37 +01:00
gittestuser
942377700f minor changes 2022-02-03 23:23:43 +01:00
gittestuser
9d4634737c add cmd to desktop 2022-02-03 23:22:01 +01:00
gittestuser
5b3a4ea4ac introduce certmgm & apple 2022-02-03 23:21:27 +01:00
gittestuser
4c578bcf81 dual stack option for network 2022-02-03 23:19:29 +01:00
jem
83d590f1c9 add prov installation for desktop 2022-02-03 21:11:36 +01:00
jem
d7fc90b343 no longer needed 2022-02-03 21:10:50 +01:00
jem
718bc99d55 create common kernel 2022-02-03 09:24:46 +01:00
jem
03cf8ee3ce rafactoring for provs-desktop 2022-02-03 09:06:03 +01:00
jem
118fc4ea13 fix test 2022-02-02 18:38:01 +01:00
jem
2da49816a7 minor fixes 2022-02-02 18:21:45 +01:00
jem
1a8877d419 config by file 2022-02-02 17:57:51 +01:00
jem
d401615303 introduce k3sServerConfig 2022-02-01 20:42:39 +01:00
3f1fdb754e make deleteFile idem-potent, refactor sudo in file functions 2022-01-31 19:33:44 +01:00
jem
08e9dd1e1a minor fix 2022-01-31 09:15:49 +01:00
c4d5f38f9d chg createFile for large files, fix LocationsKtTest.kt, rename const (NGINX_CONFIG_FILE) 2022-01-30 21:39:20 +01:00
b3b98d8a2b fix tests & introduce run/test configurations "test" (without tag containertest) and "testall" (incl. tag containertest) 2022-01-30 20:00:09 +01:00
jem
fbac808491 enabled dualstack on traefic 2022-01-29 21:32:16 +01:00
jem
55e35d8167 renamed resource files 2022-01-29 20:47:53 +01:00
jem
be34a6543c certmanager tut 2022-01-29 20:43:07 +01:00
ac6d989bb2 fix tests in pipeline 2022-01-29 11:15:24 +01:00
e7c2c73907 correct test_createFile_in_container 2022-01-28 23:39:33 +01:00
8846c9c170 [skip ci] add k3s waiting for cert-manager 2022-01-28 23:37:33 +01:00
79eccf9755 [skip ci] limit length result line 2022-01-28 23:34:54 +01:00
579bbd42f8 fix createFile 2022-01-28 19:17:51 +01:00
c5052ce483 fix test 2022-01-28 17:46:19 +01:00
507dfc137d add cert-manager 2022-01-28 17:34:31 +01:00
jem
84260b5e3c apple tut 2022-01-28 16:44:59 +01:00
jem
c2b36de571 provision ipv4 / dual now works till flannel 2022-01-28 13:12:34 +01:00
jem
c7448b0a2f Error: /bin/bash: Argument list too long\n 2022-01-27 18:40:47 +01:00
jem
09c90f1297 prepare dual-stack 2022-01-26 17:21:11 +01:00
bfc459b667 improve function resolve 2022-01-25 18:30:45 +01:00
c2fc62e13a fix k3s options for options=null 2022-01-23 19:19:48 +01:00
ee658622b7 add function resolve() for substitution of placeholders in Strings resp. files at runtime 2022-01-22 19:38:07 +01:00
58eaf14f0e [skip ci] disabled long-running rarely used tests 2022-01-22 14:43:37 +01:00
213541fc3b [skip ci] cleanup - remove EntryKt & other cleanup 2022-01-22 14:38:48 +01:00
3b29bfd2ce add missing tag to test 2022-01-21 18:47:05 +01:00
see
c7c93c34f5 Merge branch 'master' of gitlab.com:domaindrivenarchitecture/provs 2022-01-21 18:29:36 +01:00
see
3235d490d1 added leiningen and pwgen 2022-01-21 18:29:18 +01:00
jem
e6bb2ee550 K3s provision does work without security 2022-01-21 18:15:23 +01:00
jem
1defd46c97 refactor domain & infra for k3s 2022-01-21 16:05:09 +01:00
jem
e9f79ed0a3 cli with submodules 2022-01-21 15:38:34 +01:00
ea9188dfdf simplify output formatting code & some cleanup 2022-01-21 13:04:11 +01:00
740306cb86 [skip ci] cleanup tests 2022-01-21 13:03:48 +01:00
d220d172a7 fix tests 2022-01-21 12:27:04 +01:00
jem
af8ab62604 refactor: finished server refactoring 2022-01-18 20:19:04 +01:00
jem
b06b9ab8a2 refactor: *.k3s -> server 2022-01-18 20:10:18 +01:00
jem
1cdc05f352 refactor: ubuntu -> framework.ubuntu & extensions -> framework.extensions 2022-01-18 19:57:18 +01:00
jem
d110373f26 refactor: core -> framework.core 2022-01-18 19:42:39 +01:00
404235a9e2 v0.8.36 add options to k3s 2022-01-17 21:11:00 +01:00
080b006d6e fix test createUser 2022-01-17 20:38:21 +01:00
24c0b796f0 fix userHome for root user 2022-01-17 19:28:58 +01:00
b92feb08d4 [skip ci] add installation example for app apple 2022-01-16 21:06:52 +01:00
664073fad3 [skip ci] fix ProvisionUserKtTest for missing .ssh 2022-01-16 21:03:03 +01:00
7c34d89c7f remove comment 2022-01-07 17:10:36 +01:00
see
42e8948fe4 add installVSCodium, updated joker 2022-01-07 17:03:24 +01:00
186d8375e0 fix trustHost 2022-01-06 20:34:10 +01:00
adc12d85ba [skip ci] add copyFileFromLocal 2022-01-06 19:00:36 +01:00
9581b9460c [skip ci] refactor installations 2022-01-06 18:26:18 +01:00
fc01387ff6 [skip ci] add installing jdk-17 2022-01-06 11:26:39 +01:00
3c7a1baa8c [skip ci] fix python pip/pip3 installation 2022-01-04 20:27:45 +01:00
f676d0329b [skip ci] improve info for missing sudo 2022-01-04 13:30:16 +01:00
20369f6d92 v0.8.34 2022-01-03 20:46:28 +01:00
18989f34d4 [skip ci] correct comment 2022-01-01 20:13:59 +01:00
c055317bd0 [skip ci] change log-level for tests 2022-01-01 19:36:29 +01:00
cb23a563e8 add ConfigRepositoryKtTest.kt & improve error messages for missing config file resp. wrong config format 2022-01-01 15:45:11 +01:00
f3f3121395 [skip ci] remove import 2021-12-30 21:59:57 +01:00
b007104a50 [skip ci] add WorkplaceConfigExample.yaml 2021-12-30 21:59:09 +01:00
2d454ce3f7 [skip ci] fix logback config 2021-12-28 13:06:10 +01:00
3dff3c1631 v0.8.33-SNAPSHOT - upd deps, fix fatJar Main class 2021-12-27 22:18:55 +01:00
2ea30ab6c2 v0.8.32 simplify cli 2021-12-27 21:17:19 +01:00
835d777c90 fix for: new ssh session is required after making user a sudoer without password 2021-12-15 22:51:55 +01:00
f5a544a7b2 refactorings, add python to IDE 2021-12-15 20:07:14 +01:00
acfc5ae753 refactoring workplace Application.kt & improve CliApplication.puml 2021-12-15 19:41:36 +01:00
0a5640d262 fun sh add removal of backslash+newline 2021-12-15 18:27:02 +01:00
0f85161df0 fix bash dir and add gopass autocompletion 2021-12-10 13:54:16 +01:00
70321a8bf5 [skip ci] add check gopass config folder with ~ 2021-12-07 13:26:10 +01:00
gittestuser
7d26c4c98a major refactoring of workplace for ddd and common cli reuse, add tests and puml 2021-12-06 21:47:02 +01:00
az
268c421897 [skip ci] cleanup 2021-12-06 15:11:00 +01:00
az
9dd8f55de8 refactor cli parse and add cli command for k3d 2021-12-06 15:04:41 +01:00
az
3bd9cdb6d9 fix repeatTaskUntilSuccess and k3d test 2021-12-03 10:21:20 +01:00
az
211f66d1ce [skip ci] improve prov test instance name 2021-12-02 17:28:49 +01:00
az
1c48d7353b temporarily exclude mockk and some tests 2021-12-02 13:23:08 +01:00
az
130a9b4786 refactor createProvInstance & add tests 2021-12-02 10:59:21 +01:00
az
b3bdc26e3f add server jar for k3s 2021-12-01 21:19:08 +01:00
az
6c906118cf [skip ci] Idempotence code installation check for install via apt 2021-11-30 19:31:52 +01:00
az
2a02a0afb2 fix test for pipeline 2021-11-30 12:40:37 +01:00
az
8de2f25d00 add task for k3s running in docker containers 2021-11-30 11:57:05 +01:00
az
b9245468ae [skip ci] exclude configureGopassBridge from ci 2021-11-29 15:41:39 +01:00
az
e913a4aa13 fix cli 2021-11-29 15:00:53 +01:00
az
00da46762d [skip ci] add options to container start 2021-11-29 14:55:58 +01:00
az
6a4badbd82 [skip ci] add options to container start 2021-11-29 14:53:20 +01:00
az
dd96949ed3 [skip ci] add image to docker method in Utils 2021-11-29 14:49:04 +01:00
az
85dd64c0d3 [skip ci] k3s add ingress tp apple service 2021-11-29 14:43:54 +01:00
az
403c442a96 [skip ci] fix: root does not need sudo 2021-11-29 14:39:22 +01:00
az
fc625a8124 [skip ci] add test escaping raw String 2021-11-29 14:17:57 +01:00
az
5fef5add99 [skip ci] refactor packages nginx 2021-11-27 10:40:20 +01:00
az
d56ef884e5 [skip ci] refactor packages 2021-11-27 10:35:00 +01:00
az
1ea82db32e add test app apple for k3s 2021-11-26 19:16:01 +01:00
az
c31d115ea5 v0.8.22-SNAPSHOT add k3s 2021-11-25 11:09:26 +01:00
az
2f308cbbb2 v0.8.21 rename fatjar and correct README.md 2021-11-25 10:36:05 +01:00
az
c2e2c12e76 make target mandatory (either local or remote) 2021-11-25 10:11:14 +01:00
az
cae96ca42f rename method provisionKeysCurrentUser 2021-11-24 23:16:13 +01:00
az
e354e7f9be v0.8.21 make either localHost or remoteHost mandatory 2021-11-24 23:14:30 +01:00
az
9edaabff98 v0.8.20 fix provisioning a workplace 2021-11-24 23:07:06 +01:00
az
f2fcc5ab77 v0.8.19 fix fatjar 2021-11-24 22:04:53 +01:00
az
73ec38f576 check github ssh keys against fingerprints 2021-11-24 12:09:25 +01:00
az
732b373200 fix test 2021-11-23 16:08:29 +01:00
az
fa06e92a14 use automatic key retrieval for github 2021-11-23 13:47:20 +01:00
7fe16d9c0d add creating folder .bashrc.d when installing kubectl 2021-10-09 15:13:51 +02:00
038c775c3f fix compiler warnings 2021-10-09 13:41:25 +02:00
az
1493977672 add installKubectlAndTools 2021-10-09 11:54:10 +02:00
az
73a40498a0 [skip-ci] improve comments 2021-10-09 11:25:43 +02:00
az
20b9296c2a remove in ci failing test from ci 2021-10-08 17:27:08 +02:00
az
08e060ff00 add task with custom name to class Prov 2021-10-08 17:11:46 +02:00
az
3653620369 add util function getResourceAsText 2021-10-08 16:55:34 +02:00
jem
39db40cd5e add k8s context env 2021-10-01 14:03:00 +02:00
bom
3f40845111 Comment out kubectl stuff 2021-10-01 14:02:08 +02:00
jem
29ad28627c add k8s context env 2021-10-01 13:44:55 +02:00
jem
d7f9b3092b add k8s context env 2021-10-01 13:42:25 +02:00
jem
c7b72db2b0 add k8s context env 2021-10-01 13:38:28 +02:00
jem
eeb767dae3 add k8s context env 2021-10-01 13:27:50 +02:00
jem
862f40432c add python, bashrc.d & devops install
refactor gopass
2021-09-24 17:09:17 +02:00
az
b8ebbbdcfb fix missing ProvResult 2021-09-15 19:31:57 +02:00
leo
eb0547b51d added awsCredentials function 2021-09-15 19:26:15 +02:00
jem
f5f8ac1bd4 package refactoring 2021-09-09 18:37:41 +02:00
jem
a5856fb422 Introduce DDD & add terraform installation 2021-09-07 17:59:03 +02:00
az
25c60b28a2 fix createUser authorized ssh keys 2021-09-03 19:08:52 +02:00
az
58f2065607 fix GopassBridgeKtTest.kt with sha256 checksums 2021-08-25 20:53:08 +02:00
az
a0fde38bd2 add sha256sum checksum check to downloadFormUrl 2021-08-25 19:10:54 +02:00
az
f518e00208 code cleanup 2021-08-25 09:31:08 +02:00
az
7230dbaaff remove WinProv.kt 2021-08-25 08:52:09 +02:00
az
67c7bf317d replace deprecated function 2021-08-24 17:43:50 +02:00
az
ca529b79d5 v0.8.15 removed Windows support 2021-08-17 20:29:43 +02:00
az
12b0be4520 exclude test from ci 2021-08-16 18:23:03 +02:00
az
21d9862852 exclude test from ci 2021-08-16 17:59:18 +02:00
az
545be02d47 add warning for users who need to enter a password to sudo 2021-08-16 17:43:43 +02:00
az
27a803a591 refactor package extensions 2021-08-07 18:58:52 +02:00
az
3810fe6723 v0.8.14-SNAPSHOT rename packages to org.domaindrivenarchitecture 2021-08-07 18:52:39 +02:00
az
8cbe6da736 fix test gpgFingerprint_returnsCorrectFingerprint in pipeline 2021-08-07 17:36:53 +02:00
az
64eae8235e fix test gpgFingerprint_returnsCorrectFingerprint in pipeline 2021-08-07 17:21:38 +02:00
az
77f2cf7c10 refactor packages 2021-08-07 16:58:56 +02:00
az
f5bf7865d5 add code from provs-ubuntu resp. provs-ubuntu-extensions 2021-08-07 15:50:55 +02:00
az
5b8bf87ef4 add parameters to function call in EntryKt 2021-07-17 15:49:00 +02:00
122fa68850 make progress info level configurable 2021-05-15 19:33:56 +02:00
2d4607964f Added sshj logger to logback.xml 2021-05-07 10:04:22 +02:00
4864a5b103 fix xecNoLog 2021-04-30 12:34:17 +02:00
52c4300346 suppress result output for xecNoLog 2021-04-30 12:29:55 +02:00
az
6577067f48 fix tests for ci 2021-04-27 18:32:08 +02:00
az
5eaf320d58 add sudo to cmd and sh 2021-04-27 18:14:58 +02:00
az
b3afde6c93 v0.8.9-SNAPSHOT fix double result in getSecret 2021-04-19 21:02:21 +02:00
az
5baedbb32e v0.8.8 - add ip-address validation, rename method check due to naming conflict with Kotlin's check 2021-04-16 13:45:05 +02:00
az
2623eb857f use ubuntu_plus_user as default test container image 2021-03-31 12:09:03 +02:00
az
4587938e0b v0.8.8-SNAPSHOT - refactor test package in TestSetup.kt 2021-03-31 11:16:54 +02:00
az
fd6e993f18 v0.8.6 add testFixtures 2021-02-26 20:32:49 +01:00
az
19469a07fd run container tests in ci 2021-02-25 19:57:06 +01:00
az
4766ffe18e initial commit 2021-02-10 20:24:43 +01:00