Commit graph

266 commits

Author SHA1 Message Date
az
2a5f0d95fb Revert "[skip ci] Revert "[skip ci] refactor for ssh does not need to reconnect after user is sudoer without pw required""
This reverts commit 9334f0ae92.
2023-04-12 16:54:11 +02:00
az
9334f0ae92 [skip ci] Revert "[skip ci] refactor for ssh does not need to reconnect after user is sudoer without pw required"
This reverts commit cdb4281c72.
2023-04-12 09:20:12 +02:00
az
cdb4281c72 [skip ci] refactor for ssh does not need to reconnect after user is sudoer without pw required 2023-04-11 18:16:25 +02:00
az
b36f2f965a Merge branch 'master' into MEIS-2538--make-sudo-in-application 2023-04-11 18:01:28 +02:00
az
29b8a99655 [skip ci] remove unnecessary output line in case of <<returned result>> 2023-04-05 18:49:08 +02:00
az
3aeeacfebf [skip ci] add tests test_verifySpecConfig_fails & test_verifySpecConfig_succeeds 2023-04-03 17:39:00 +02:00
az
c9a7eb4142 add failure result to output if not yet included 2023-04-01 11:56:36 +02:00
az
075fe6cae1 pinning version of kubectl 2023-03-31 20:31:18 +02:00
az
587e978d63 [skip ci] fix test_configureSsh 2023-03-26 21:56:59 +02:00
az
e35caca49a [skip ci] disable very long running tests for desktop setup and remove 1 test 2023-03-26 19:49:16 +02:00
az
64471e9e3f [skip ci] remove redundant tag 2023-03-26 19:30:28 +02:00
az
1497d390f6 [skip ci] refactor ensureSudoWithoutPassword to application layer 2023-03-20 18:22:47 +01:00
az
52641f8665 Merge branch 'master' into local-sudoer-without-pw 2023-02-26 20:03:58 +01:00
az
8bb2e6e950 [skip ci] simplify and rename retrievePassword 2023-02-26 19:39:54 +01:00
az
d6d42c0733 [skip ci] add DesktopCliParsingSequence.md 2023-02-24 17:07:59 +01:00
az
61320b5dbe exclude NonCi tests from ci 2023-02-23 22:39:34 +01:00
az
f672624928 Merge branch 'master' into local-sudoer-without-pw 2023-02-23 21:10:42 +01:00
az
836dc3ca2a [skip ci] remove unsafe-operator 2023-02-16 18:39:04 +01:00
az
592dc53cc7 [skip ci] rename parameter sudo in createUser 2023-02-15 19:02:32 +01:00
az
b5d64095f4 Merge branch 'master' into local-sudoer-without-pw 2023-02-15 18:42:15 +01:00
a1192f4382 Fix DefaultConfigFileRepo Test 2023-02-10 12:49:16 +01:00
69fe472971 Fix CliArgumentParserTest 2023-02-10 10:18:45 +01:00
18c081893a Validate Application File 2023-02-10 08:47:52 +00:00
d7ad34bb83 Check the application.yaml for errors 2023-02-07 08:41:04 +00:00
az
1fecfedeca [skip ci] correct getConfig_fails_due_to_missing_file 2023-02-05 15:58:03 +01:00
az
c7ea95fbd4 [skip ci] fix DesktopServiceKtTest.kt 2023-01-31 19:08:48 +01:00
az
921fda2d91 [skip ci] update DesktopServiceKtTest.kt 2023-01-31 19:06:09 +01:00
252bf48d3d [Skip-CI] WIP start test-container with correct user 2023-01-18 09:33:28 +01:00
az
6537058ecf branch initial commit 2023-01-18 09:10:19 +01:00
c9b3c2a1eb [skip ci] mv Config file tests to config test package 2022-11-30 10:25:54 +01:00
az
546f2faf3a [skip ci] add tests DefaultConfigFileRepository.kt 2022-11-30 09:56:15 +01:00
az
71a3f778c8 [skip ci] change default syspec config to syspec-office-config.yaml 2022-09-15 19:17:47 +02:00
az
a4bb1d228c add recognition of ssh key type to determine ssh file names 2022-09-10 16:41:36 +02:00
az
552c6e9445 [skip ci] move provisionFirewall 2022-09-09 15:59:28 +02:00
az
7355f9f51d [skip ci] remove some extensions 2022-09-09 15:50:25 +02:00
ff4acea461 [skip ci] Refactor submodule -> onlyModule 2022-09-09 13:56:21 +02:00
az
a7cf154695 [skip ci] replace real file in test by resource file 2022-09-01 21:02:06 +02:00
az
f7e67625f0 add spec for s3 objects to syspec 2022-09-01 20:49:28 +02:00
az
ed8e86e758 remove check if config file exists from ServerCliCommand 2022-08-30 17:36:31 +02:00
az
8767716908 add FirefoxKtTest.kt 2022-08-30 17:15:33 +02:00
az
5a7e5a8535 Merge branch 'master' into improve-input-validation
# Conflicts:
#	src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/CliArgumentsParser.kt
#	src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sCliCommand.kt
#	src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sService.kt
2022-08-30 15:40:28 +02:00
cfe5d48b8e Refactorings 2022-08-30 15:25:44 +02:00
05821540fe Refactoring of input validation
Move application file validation to provisionK3s.
Add an ApplicationFileRepository. Also unit tests for the functions.
2022-08-26 10:52:45 +02:00
az
2525e0f2bb refactor DesktopType 2022-08-21 13:23:04 +02:00
6e2d669af5 Prepare for improve of input validation
We now check application and config files before starting provisioning
process. We also check serverType and target validity before starting.
This happens in unified manner in the main function.
2022-08-17 14:05:17 +02:00
az
1d61273fe2 change test provisionIDEDesktop from container test to manual integration test 2022-07-30 10:44:44 +02:00
c2237c8721 Moved traefik middleware 2022-07-29 14:35:33 +00:00
21f22916b2 rename & minor refactoring 2022-07-18 09:29:25 +02:00
bom
7e1c25fc32 Add tests for ssh.kt 2022-07-13 11:33:30 +02:00
8f876c138e fix tests 2022-07-05 20:38:49 +02:00
4e698da78f Adjusted installation of DeltaChat 2022-06-24 15:13:14 +02:00
see
b28d03a9e0 [skip ci] updated test 2022-06-17 14:35:53 +02:00
az
ce122ac13a add syspec-ide-config.yaml and syspec-office-config.yaml 2022-06-17 14:11:29 +02:00
az
0659a98532 add test provisionDesktop_fails_for_unknown_DesktopType 2022-06-17 13:22:00 +02:00
bf3a8db4c0 release-0.11.10 - rename workplace to desktop 2022-06-16 22:57:08 +02:00
bcd43a95be improve output layout for info texts 2022-06-16 22:34:11 +02:00
e2317b323e fix flaky findIpForHostname function 2022-06-14 19:22:04 +02:00
f0636067ef add function for printing info text 2022-06-14 18:34:11 +02:00
4b04d77cfb [skip ci] mark teams test as extensive 2022-06-10 13:02:04 +02:00
205795c5f8 move tests to correct folder 2022-06-10 12:42:49 +02:00
1384b6bbcf [skip ci] remove redundant test tags 2022-06-10 12:32:57 +02:00
83f9a0e40e add package gnupg2 to installation for teams 2022-06-10 12:22:46 +02:00
f219e70d83 Added 'only' option and ms-teams 2022-06-10 11:10:02 +02:00
201f296514 exclude tests from ci 2022-06-07 19:30:58 +02:00
744a4b2a86 add findIpForHostname 2022-06-07 16:58:17 +02:00
7157dc57dd fix marking failed levels as yellow if there are > 1 levels to ignore failed (i.e. marked yellow) 2022-05-31 21:30:52 +02:00
5fd7ab588f add alias k=kubectl to k3s 2022-05-29 18:10:24 +02:00
0f5afd9825 rename createParentDirs and make it only creating a result in case directories are actually created 2022-05-28 22:54:24 +02:00
c9b1643287 add parameter url to grafana 2022-05-18 21:49:28 +02:00
eb514fb8aa rename parameters createSymlink 2022-05-17 18:43:55 +02:00
a881310f48 fix configureVenv for idempotence, add createSymlink 2022-05-16 22:09:35 +02:00
7ca6723b4d createFile also creates a potentially missing directory, dependent on parameter createDirIfMissing 2022-05-14 12:26:39 +02:00
8ef505fb47 activate venv in termials 2022-05-12 09:24:19 +02:00
db04735df0 add tests 2022-05-09 16:00:14 +02:00
7590e2df2e add grafana only option 2022-05-09 15:41:01 +02:00
ef56118ccb replace assert in tests with junit assertTrue 2022-04-18 19:15:58 +02:00
efe158275b add task without requiring an explicit return value (ProvResult) 2022-04-18 18:45:52 +02:00
7eb7494fad remove install binaries 2022-04-18 17:12:49 +02:00
az
ba9b73be43 add targetFolderPath to gitClone and createDirs if dirs not yet existing 2022-04-10 19:56:21 +02:00
az
a667cdb57b exclude ProvisionKeysTest from ci 2022-04-08 17:14:58 +02:00
az
beae1093a7 release-0.9.22 2022-04-08 13:07:43 +02:00
az
92525f5444 add tests for syspec FileSpec 2022-04-08 12:51:28 +02:00
see
ecbcac81f8 added logic for folders and testlogic 2022-04-08 12:34:22 +02:00
az
5f0271bf2b add check for already installed packages before installing them 2022-04-08 11:19:03 +02:00
az
e1b4dabb26 fix installKubectlAndTools 2022-03-28 20:11:23 +02:00
az
906deb4ac7 add fileContent for large files 2022-03-28 20:07:14 +02:00
az
1135312c7b improve echoCommandForText_in_ubuntu_container 2022-03-28 18:38:59 +02:00
894cfefa12 refactor name DesktopConfigRepository.kt 2022-03-26 18:20:21 +01:00
8bb574ece7 simplify SyspecConfigRepo.kt 2022-03-26 18:17:04 +01:00
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
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