You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "jstastny-cz (via GitHub)" <gi...@apache.org> on 2023/10/25 07:42:12 UTC
[I] Disable PR checks by config property and in test environment [incubator-kie-issues]
jstastny-cz opened a new issue, #651:
URL: https://github.com/apache/incubator-kie-issues/issues/651
Currently PR check jobs are generated and enabled for main branches of given repositories even when the DSL and seed configuration comes from a different "non-production" source.
This complicates testing job generation for a PR, etc.
The goal is to define configuration property which would be following what we have in place for deploy
```
static boolean isDeployDisabled(def script) {
return getBindingValue(script, 'DISABLE_DEPLOY').toBoolean() || isTestEnvironment(script)
}
```
Then if the condition was true, the Github Branch Source Plugin job would be generated, but disabled.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Disable PR checks by config property and in test environment [incubator-kie-issues]
Posted by "jstastny-cz (via GitHub)" <gi...@apache.org>.
jstastny-cz closed issue #651: Disable PR checks by config property and in test environment
URL: https://github.com/apache/incubator-kie-issues/issues/651
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org