File tree 1 file changed +11
-3
lines changed
spec/acceptance/peadm_spec/plans
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 6
6
Optional[String[1]] $pe_installer_source = undef ,
7
7
Boolean $permit_unsafe_versions = false ,
8
8
Enum[' enable' , ' disable' ] $fips = ' disable' ,
9
- String[1] $console_password
10
-
9
+ String $console_password
11
10
) {
12
11
$t = get_targets(' *' )
13
12
wait_until_available($t )
26
25
}
27
26
}
28
27
28
+ # CI jobs triggered from forks don't have access to secrets, so use randomized input instead
29
+ if $console_password == ' ' {
30
+ $cp = run_command(
31
+ ' LC_ALL=C tr -dc \' A-Za-z0-9!"#$%&\'\\\'\' ()*+,-./:;<=>?@[\] ^_`{|}~\' </dev/urandom | head -c 30; echo' , localhost
32
+ ).first[' stdout' ].chomp
33
+ } else {
34
+ $cp = $console_password
35
+ }
36
+
29
37
$common_params = {
30
- console_password => $console_password ,
38
+ console_password => $cp ,
31
39
download_mode => $download_mode ,
32
40
code_manager_auto_configure => $code_manager_auto_configure ,
33
41
version => $version ,
You can’t perform that action at this time.
0 commit comments