You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title = "The password or Personal Access Token (PAT). When you authenticate the task with a PAT, any flows or files pushed to Git from Kestra will be pushed from the user associated with that PAT. This way, you don't need to configure the commit author (the `authorName` and `authorEmail` properties)."
37
34
)
38
-
@PluginProperty(dynamic = true)
39
-
protectedStringpassword;
35
+
protectedProperty<String> password;
40
36
41
37
@Schema(
42
38
title = "PEM-format private key content that is paired with a public key registered on Git.",
43
39
description = "To generate an ECDSA PEM format key from OpenSSH, use the following command: `ssh-keygen -t ecdsa -b 256 -m PEM`. " +
44
40
"You can then set this property with your private key content and put your public key on Git."
45
41
)
46
-
@PluginProperty(dynamic = true)
47
-
protectedStringprivateKey;
42
+
protectedProperty<String> privateKey;
48
43
49
44
@Schema(
50
45
title = "The passphrase for the `privateKey`."
51
46
)
52
-
@PluginProperty(dynamic = true)
53
-
protectedStringpassphrase;
47
+
protectedProperty<String> passphrase;
54
48
55
49
56
50
@Schema(
57
51
title = "The initial Git branch."
58
52
)
59
-
@PluginProperty(dynamic = true)
60
-
publicabstractStringgetBranch();
53
+
publicabstractProperty<String> getBranch();
61
54
62
55
public <TextendsTransportCommand<T, ?>> Tauthentified(Tcommand, RunContextrunContext) throwsException {
63
56
if (this.username != null && this.password != null) {
if (this.password != null && !PEBBLE_TEMPLATE_PATTERN.matcher(this.password).find()) {
82
-
thrownewIllegalArgumentException("It looks like you have hard-coded Git credentials. Make sure to pass the credential securely using a Pebble expression (e.g. using secrets or environment variables).");
title = "If `true`, the task will only output modifications without pushing any file to Git yet. If `false` (default), all listed files will be pushed to Git immediately."
@@ -43,18 +44,17 @@ public abstract class AbstractSyncTask<T, O extends AbstractSyncTask.Output> ext
43
44
@Schema(
44
45
title = "If `true`, the task will only output modifications without performing any modification to Kestra. If `false` (default), all listed modifications will be applied."
0 commit comments