Commit graph

685 commits

Author SHA1 Message Date
az
4dcbc448ff add missing class SshKeyPair 2022-09-10 16:48:34 +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
az
8304b2d8a3 [skip ci] 0.16.1-SNAPSHOT 2022-09-09 14:01:34 +02:00
az
8d984b4ded release-0.16.0 2022-09-09 14:00:37 +02:00
ff4acea461 [skip ci] Refactor submodule -> onlyModule 2022-09-09 13:56:21 +02:00
az
db84284f8c [skip ci] refactoring method names and reprovision logic 2022-09-09 13:32:17 +02:00
70b5dda4a7 [skip-ci] Update readme 2022-09-07 14:15:26 +02:00
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
2022-09-06 13:57:19 +02:00
4f78ddbc00 Update Files 2022-09-06 13:49:23 +02:00
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.
2022-09-06 13:16:26 +02:00
7d091f8ada Merge branch 'master' of gitlab.com:domaindrivenarchitecture/provs 2022-09-05 17:53:13 +02:00
3323e50a43 Added VERIFY option for ide and office
-o verify can now be used with provs.
Also added an -o firefox option for convenience.
2022-09-05 17:49:06 +02:00
az
756b29006c [skip ci] fix format of result for s3 object verification in syspec 2022-09-01 21:06:40 +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
9b66ea038d Refactoring non semantic function names 2022-09-01 17:31:34 +02:00
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.
2022-09-01 14:31:49 +02:00
ef2e5c6cb7 Clarify usage options print
Update subcommand validation.
2022-09-01 14:00:07 +02:00
aeba7f221a Add installFirefox() to provisionBasicDesktop() 2022-09-01 12:56:53 +02:00
az
a17d63e1a5 make enableGopassWrapperShForFirefox working not only for local execution 2022-08-31 19:11:51 +02:00
az
4bd919f4a2 [skip ci] replace string concatenation 2022-08-31 19:07:43 +02:00
az
acd42c63c6 refactor checkLocalFile 2022-08-31 18:53:20 +02:00
66dc4ee8bc 0.15.4-SNAPSHOT 2022-08-31 15:17:15 +02:00
45444f948b release-0.15.4 2022-08-31 15:16:02 +02:00
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.
2022-08-31 15:11:44 +02:00
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.
2022-08-31 15:06:34 +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
e428287790 [skip-ci] Add firefox from ppa installation 2022-08-30 16:14:07 +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
7940d29169 [skip-ci] Remove reprovision cli option 2022-08-26 11:07:37 +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
1ad357ba44 mob 2022-08-26 09:30:27 +02:00
az
806a1108bd 0.15.4-SNAPSHOT 2022-08-25 17:48:49 +02:00
az
232b59b862 release-0.15.3 2022-08-25 17:46:12 +02:00
d9d8678b82 [skip-ci] Add todo messages. 2022-08-25 16:50:47 +02:00
83f86db0d1 [skip-ci] Update README and gopass versions
A few clarifications in the readme.
Also updated versions of gopassJsonAPI and gopassBridge.
Clarified variable name.
2022-08-25 16:15:50 +02:00
17a814a11a Move reprovision cmd line option to new branch 2022-08-24 13:21:43 +02:00
az
411003f04a [skip ci] update README.md 2022-08-21 14:00:00 +02:00
az
2525e0f2bb refactor DesktopType 2022-08-21 13:23:04 +02:00
az
4cc1ce756a resolve unsafe operator 2022-08-21 13:06:49 +02:00
46b822d4cd Review 2022-08-18 17:38:35 +02:00
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.
2022-08-17 15:32:38 +02:00
81350db43d Update command flow
Catch invalid server type befor creating provInstance
2022-08-17 14:46:46 +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
77351933fe Prepare for add cli option
-r or --reprovision for convenience
2022-08-16 15:20:19 +02:00
az
1d61273fe2 change test provisionIDEDesktop from container test to manual integration test 2022-07-30 10:44:44 +02:00