Commit Graph

531 Commits (main)

Author SHA1 Message Date
jerger ed33c1b0c2 add one additional private address-pool 2 years ago
erik 0ef50ea233 Refactor into configuration package
Implement existence check in k3sService.
2 years ago
erik 5cf191568e Introduce check for config file 2 years ago
az 874cd7ee22 add downloadGopassBridge and installGopassBridgeJsonApi to IDE installation 2 years ago
az 0d11749db1 trim newline suffix of gopass secret 2 years ago
jerger fe83442708 fix k3s scripts 2 years ago
az 30a4e99660 trim config fileName 2 years ago
erik 762f9889b1 Update package bundles 2 years ago
az 71a3f778c8 [skip ci] change default syspec config to syspec-office-config.yaml 2 years ago
az e689e1c8c4 fix logic of syspec verifications for desktop types ide and office if onlyModules are null as well as are not 2 years ago
az 00a94342d8 fix path of syspec resource files for ide and office verification 2 years ago
az 4dcbc448ff add missing class SshKeyPair 2 years ago
az a4bb1d228c add recognition of ssh key type to determine ssh file names 2 years ago
az 552c6e9445 [skip ci] move provisionFirewall 2 years ago
az 7355f9f51d [skip ci] remove some extensions 2 years ago
erik ff4acea461 [skip ci] Refactor submodule -> onlyModule 2 years ago
az db84284f8c [skip ci] refactoring method names and reprovision logic 2 years ago
erik 503ca3dee4 Merge branch 'reprovision-cli-option'
# 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
2 years ago
erik 4f78ddbc00 Update Files 2 years ago
erik 8e83cf11d0 Refactor reprovisioning options
Moved config reprovision check to provisionK3s as it does not
influence the provisionNetwork() function.
Reprovisioning from CLI now overrides reprovisioning from config.
2 years ago
erik 7d091f8ada Merge branch 'master' of gitlab.com:domaindrivenarchitecture/provs 2 years ago
erik 3323e50a43 Added VERIFY option for ide and office
-o verify can now be used with provs.
Also added an -o firefox option for convenience.
2 years ago
az 756b29006c [skip ci] fix format of result for s3 object verification in syspec 2 years ago
az a7cf154695 [skip ci] replace real file in test by resource file 2 years ago
az f7e67625f0 add spec for s3 objects to syspec 2 years ago
erik 9b66ea038d Refactoring non semantic function names 2 years ago
erik 89bd841b4d Update execution mode of gopass_wrapper.sh
ux -> Ux.
This at least scrubs environment variables before executing the script.
For px and cx we would need to create a profile for gopass_wrapper.sh.
ix inherits the firefox profile, which leads to errors.
2 years ago
erik ef2e5c6cb7 Clarify usage options print
Update subcommand validation.
2 years ago
erik aeba7f221a Add installFirefox() to provisionBasicDesktop() 2 years ago
az a17d63e1a5 make enableGopassWrapperShForFirefox working not only for local execution 2 years ago
az 4bd919f4a2 [skip ci] replace string concatenation 2 years ago
az acd42c63c6 refactor checkLocalFile 2 years ago
erik 99590c2dd6 [skip-ci] Allow execution of gopass_wrapper.sh
Firefox wasn't allowed to execute the gopass_wrapper.sh in Ubuntu 22.04.
Explicitly adding it to the Apparmor firefox profile solves this.
Lower jsonApiVersion.
2 years ago
erik ee48355b9f [skip-ci] Allow execution of gopass_wrapper.sh
Firefox wasn't allowed to execute the gopass_wrapper.sh in Ubuntu 22.04.
Explicitly adding it to the Apparmor firefox profile solves this.
Lower jsonApiVersion.
2 years ago
az ed8e86e758 remove check if config file exists from ServerCliCommand 2 years ago
az 8767716908 add FirefoxKtTest.kt 2 years ago
erik e428287790 [skip-ci] Add firefox from ppa installation 2 years ago
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
2 years ago
erik cfe5d48b8e Refactorings 2 years ago
erik 7940d29169 [skip-ci] Remove reprovision cli option 2 years ago
erik 05821540fe Refactoring of input validation
Move application file validation to provisionK3s.
Add an ApplicationFileRepository. Also unit tests for the functions.
2 years ago
jerger 1ad357ba44 mob 2 years ago
erik d9d8678b82 [skip-ci] Add todo messages. 2 years ago
erik 83f86db0d1 [skip-ci] Update README and gopass versions
A few clarifications in the readme.
Also updated versions of gopassJsonAPI and gopassBridge.
Clarified variable name.
2 years ago
erik 17a814a11a Move reprovision cmd line option to new branch 2 years ago
az 2525e0f2bb refactor DesktopType 2 years ago
az 4cc1ce756a resolve unsafe operator 2 years ago
erik 46b822d4cd Review 2 years ago
erik 949fe0c1af Correct server type check
Checking the serverType/subcommand from string input.
Before the check was done after parsing string input,
when an unknown server type was entered a "Too many
arguments!" error was issued due to the parser falsely
interpreting the input.
2 years ago
erik 81350db43d Update command flow
Catch invalid server type befor creating provInstance
2 years ago
erik 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.
2 years ago
erik 77351933fe Prepare for add cli option
-r or --reprovision for convenience
2 years ago
az 1d61273fe2 change test provisionIDEDesktop from container test to manual integration test 2 years ago
Michael Jerger c2237c8721 Moved traefik middleware 2 years ago
bom a36d25e02d Update default shared-ip value 2 years ago
erik f43b06f7ba Change externalTrafficPolicy
From Local to Cluster.
2 years ago
erik 1e33fcd9fb Update Annotations
Consider correct syntax for helm charts.
Change IP-Address range back to single address.
2 years ago
erik 9fb30341de Update traefik template
Enable multiple loadBalancerIPs for metallb.
Apply the traefik template.
2 years ago
bom 3d385fa8ac Use node_ipv4 in traefik
As we are now using NodePools with more than one IP this ensures that the traefik and subsequently ingresses always have the IP-Address associated with the DNS entry and not a randomly selected one.
2 years ago
bom a5eebfbf22 Use valid ipv4 CIDR ranges 2 years ago
az f7628101af [skip ci] refactor installNextcloudClient in own file - fix 2 years ago
az 4a3a25e21c [skip ci] refactor installNextcloudClient in own file 2 years ago
az 751d315299 rename provisionBaseDesktop to provisionBasicDesktop 2 years ago
jerger 830a93a468 release 2 years ago
jerger 21f22916b2 rename & minor refactoring 2 years ago
bom 7e1c25fc32 Add tests for ssh.kt 2 years ago
bom 93933af0d0 Invert check for ssh hardening config
configureSsh() was never actually doing anything, as the hardening config does not exist in a default ssh setup.
2 years ago
az a94cbc24b0 rename task lambda from "task" to "taskLambda" 2 years ago
jerger 0378e0cf4a enabled other domain names 2 years ago
bom 9e1ae05c12 Configure ssh while provisioning K3s 2 years ago
bom 72ed2951ee Update ssh.kt with all files 2 years ago
bom 942b7ab3a9 Move ssh configs 2 years ago
Clemens Geibel d8865839a1 Merge remote-tracking branch 'origin/master' 2 years ago
Clemens Geibel 14e98a84d3 Added sshd configure. 2 years ago
bom 51c2ce31ab Add config files for ssh hardening 2 years ago
erik 42376c7e69 Removed python3.8 from installPython3
Using python3 prefix uses latest python version for current distro.
Ensures compatibility with later versions of Ubuntu.
2 years ago
az e85be4cc20 optimize defaultTestContainer startup 2 years ago
jerger 8f876c138e fix tests 2 years ago
jerger 5b99f3828c review 2 years ago
jerger 46cd2af19e Merge remote-tracking branch 'origin/master' 2 years ago
jerger a608382a58 refactrored desktop mappings 2 years ago
see a60b98c8a5 Release, ToDos, Refactorings
Cleanup todos and refactor some functions.
This also removes some overloading.
New release v0.12.1
2 years ago
jerger b265824b63 refactrored desktop mappings 2 years ago
jerger 24ff5b7c15 reviewed 2 years ago
jerger 79806eefab Merge remote-tracking branch 'origin/master' 2 years ago
jerger 3267bafa6f gopass export-keys ist nützlich ... 2 years ago
see 515197ac27 Added covenience functions
There is now an alias "k" for kubectl.
Autocomplete works now for kubectl.
2 years ago
Clemens Geibel 148a0821c1 Added openboard to DRAWING_TOOLS. 2 years ago
Clemens Geibel 4e698da78f Adjusted installation of DeltaChat 2 years ago
Clemens Geibel c7e6266eb0 Added deltachat-desktop 2 years ago
see b28d03a9e0 [skip ci] updated test 2 years ago
az ce122ac13a add syspec-ide-config.yaml and syspec-office-config.yaml 2 years ago
az 0659a98532 add test provisionDesktop_fails_for_unknown_DesktopType 2 years ago
see 15dfba6b6e [skip-ci] refactor: removed overloaded valueOf 2 years ago
ansgarz bf3a8db4c0 release-0.11.10 - rename workplace to desktop 2 years ago
ansgarz bcd43a95be improve output layout for info texts 2 years ago
ansgarz 8319951810 replace DesktopType by extendable class 2 years ago
ansgarz e2317b323e fix flaky findIpForHostname function 2 years ago
ansgarz f0636067ef add function for printing info text 2 years ago
ansgarz 65669ee185 [skip ci] remove deprecated funtions 2 years ago
Clemens Geibel 1ebc1ee98d Added doc comments for citrix 2 years ago
ansgarz 4b04d77cfb [skip ci] mark teams test as extensive 2 years ago
ansgarz 205795c5f8 move tests to correct folder 2 years ago
ansgarz 1384b6bbcf [skip ci] remove redundant test tags 2 years ago
ansgarz 83f9a0e40e add package gnupg2 to installation for teams 2 years ago
Clemens Geibel f219e70d83 Added 'only' option and ms-teams 2 years ago
ansgarz f4920b5786 release-0.11.6 2 years ago
ansgarz 201f296514 exclude tests from ci 2 years ago
ansgarz 744a4b2a86 add findIpForHostname 2 years ago
ansgarz 7157dc57dd fix marking failed levels as yellow if there are > 1 levels to ignore failed (i.e. marked yellow) 2 years ago
ansgarz 5fd7ab588f add alias k=kubectl to k3s 2 years ago
ansgarz 0f5afd9825 rename createParentDirs and make it only creating a result in case directories are actually created 2 years ago
ansgarz 3f9121f8f5 pin image version node-exporter:v1.3.1 2 years ago
ansgarz c65210043e fix isPackageInstalled 2 years ago
see 00c8c715fc fixed traefik.yaml 2 years ago
ansgarz 91e334c3fa pinning k3s version 2 years ago
ansgarz 47ba42bd0b pinning k3s version 2 years ago
ansgarz 8f9543dc08 update traefik.yaml 2 years ago
ansgarz 7f17679906 update traefik.yaml - now with "ipFamilyPolicy: PreferDualStack" to have dual-stack ingress support 2 years ago
ansgarz c9b1643287 add parameter url to grafana 2 years ago
ansgarz eb514fb8aa rename parameters createSymlink 2 years ago
ansgarz a881310f48 fix configureVenv for idempotence, add createSymlink 2 years ago
ansgarz 876836f6a3 refactor provisionK3s 2 years ago
ansgarz 7ca6723b4d createFile also creates a potentially missing directory, dependent on parameter createDirIfMissing 2 years ago
jerger 8ef505fb47 activate venv in termials 2 years ago
ansgarz db04735df0 add tests 2 years ago
ansgarz 7590e2df2e add grafana only option 2 years ago
ansgarz 85697f43f9 add grafana-agent 2 years ago
ansgarz 968c5d01d6 rename handle to evaluate 2 years ago
ansgarz 13cad5b170 [skip ci] add comments 2 years ago
see 26a22044eb add a .devops folder to home 2 years ago
ansgarz 4fafe1ac56 release-0.11.1 2 years ago
ansgarz ef56118ccb replace assert in tests with junit assertTrue 2 years ago
ansgarz 478ea014f5 release-0.11.0 2 years ago
ansgarz efe158275b add task without requiring an explicit return value (ProvResult) 2 years ago
ansgarz 7eb7494fad remove install binaries 2 years ago
az ba9b73be43 add targetFolderPath to gitClone and createDirs if dirs not yet existing 2 years ago
az a667cdb57b exclude ProvisionKeysTest from ci 2 years ago
az beae1093a7 release-0.9.22 2 years ago
az 92525f5444 add tests for syspec FileSpec 2 years ago
see ecbcac81f8 added logic for folders and testlogic 2 years ago
see 9f4d40ae6a Merge branch 'master' of gitlab.com:domaindrivenarchitecture/provs 2 years ago
see 06162cf3ad added scrcpy 2 years ago
az 5f0271bf2b add check for already installed packages before installing them 2 years ago
bom 64511aa491 added context creation and connect scripts
k8s-connect.sh works on clusters set up with the old infrastructure

k3s-connect.sh works with the new infrastructure
2 years ago
az 0ee8383644 fix fileContentLargeFile for home dir ~/ 2 years ago
az e1b4dabb26 fix installKubectlAndTools 2 years ago
az 906deb4ac7 add fileContent for large files 2 years ago
az db33edf0f7 fix kubernetes bash completion 2 years ago
az 1135312c7b improve echoCommandForText_in_ubuntu_container 2 years ago
ansgarz 5f956ab42c fix findSpecConfigFromResource 2 years ago
ansgarz 894cfefa12 refactor name DesktopConfigRepository.kt 2 years ago
ansgarz 8bb574ece7 simplify SyspecConfigRepo.kt 2 years ago
ansgarz 9c5c170817 improve syspec output 2 years ago
ansgarz a6be9e36f7 simplify configRepo code 2 years ago
ansgarz 45223d4669 [skip ci] refactor SyspecConfigRepo.kt using kotlin.Result 2 years ago
ansgarz fcc172156a release-0.9.18 - add pipeline artifacts for syspec 2 years ago
ansgarz df124f0c25 add spec from resource 2 years ago
ansgarz a0f6fb135c add syspec jar 2 years ago
ansgarz 394dc9edf2 add syspec 2 years ago
ansgarz 14690a089d improve layout of result line for FAILED results 2 years ago
ansgarz a00f0e9de0 correct function names for tests for chk 2 years ago
ansgarz ab561ded3a add test for output if failure is not taken into account 2 years ago
ansgarz d2a2ee6b00 fix problem with potential wrong color due to success not overwritten in logic in printResults 2 years ago
ansgarz 10e5bf933e move ssh function as trustHost to correct file 2 years ago
ansgarz 2cd5ae5c7c add function checkDir, make dirExists deprecated 2 years ago
ansgarz d778c75937 add function checkFile, make fileExists deprecated 2 years ago
ansgarz 16c6292ca3 make function def deprecated replace by task 2 years ago
ansgarz 908ac00a3b avoid emphasis with color red on failed results that do not count 2 years ago
ansgarz d4c7c19126 [skip ci] cleanup 2 years ago
jerger f0a7fe569d restart provisioner after reconfiguration 2 years ago
bom b509bb4228 added local-path-provisioner config 2 years ago
ansgarz 3f3974794a [skip ci] change default desktop config to desktop-config.yaml 2 years ago
ansgarz d572705a15 refactor K3s.kt with type File etc 2 years ago
jerger f770e026d2 add ssh utils following the same scheme as k8s-create... 2 years ago
jerger a3fbd13474 add ssh utils following the same scheme as k8s-create... 2 years ago
ansgarz 1836b9efdb fix todos in class Prov & method names refactorings 2 years ago
ansgarz d8ff355893 [skip ci] hide Prov instanceName as currently no extern usage is known 2 years ago
ansgarz fba09f5337 [skip ci] cleanup apple 2 years ago
jerger a8c8864f75 add provisioning of an additional k3s application 2 years ago
jerger a9b74342a7 introduce metallb 2 years ago
jerger bd83b4a0f8 remove apple, add echo, adjust to new k3s 2 years ago
ansgarz 2a48b541b8 add k3s echo service 2 years ago
ansgarz e03d8d5d58 refactor k3s: split install & configure 2 years ago
ansgarz 31c60931dd add creation of default server-config.yaml if not existing 2 years ago
ansgarz c52a367dc8 [skip ci] add tests for yaml 2 years ago
ansgarz dfd656739e release-0.9.12 2 years ago
ansgarz 064243da60 add possibility for k8s apple service with selfsigned certificate 2 years ago
ansgarz 03cd8f4b2b improve readability of error messages for filename of config 2 years ago
ansgarz cf327184b6 [skip ci] documentation changes 2 years ago
ansgarz 9c29d229e6 [skip ci] improve cli messages 2 years ago
ansgarz 5b8a0a6371 release-0.9.10 2 years ago
ansgarz 8b033c56a1 update installed binaries to version 0.9.9 2 years ago
ansgarz c9c4a31144 add more tags extensivecontainertest & fix downloadFromURL_local_file_with_incorrect_checksum 2 years ago
ansgarz 63c207c2e7 [skip ci] add tag extensivecontainertest 2 years ago
ansgarz a005e51729 release-0.9.9 add c4kbinaries download 2 years ago
jerger 6be97d82de use newest nextcloud 2 years ago
jerger ec0cd59e56 add more c4k modules 2 years ago
ansgarz 241bc4fef3 [skip ci] wip 2 years ago
ansgarz 2212286ea7 [skip ci] update provs binaries to version 0.9.8 2 years ago