mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-21 08:24:25 -06:00
Dependent Issues Workflow and minor changes (#2076)
This commit is contained in:
parent
94b681c514
commit
6d32217e7f
48
.github/workflows/dependent-issues.yml
vendored
Normal file
48
.github/workflows/dependent-issues.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
name: Dependent Issues
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- closed
|
||||
- reopened
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- closed
|
||||
- reopened
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: z0al/dependent-issues@v1
|
||||
env:
|
||||
# (Required) The token to use to make API calls to GitHub.
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
with:
|
||||
# (Optional) The label to use to mark dependent issues
|
||||
label: dependent
|
||||
|
||||
# (Optional) Enable checking for dependencies in issues.
|
||||
# Enable by setting the value to "on". Default "off"
|
||||
check_issues: off
|
||||
|
||||
# (Optional) Ignore dependabot PRs.
|
||||
# Enable by setting the value to "on". Default "off"
|
||||
ignore_dependabot: off
|
||||
|
||||
# (Optional) A comma-separated list of keywords. Default
|
||||
# "depends on, blocked by"
|
||||
keywords: depends on, blocked by
|
||||
|
||||
# (Optional) A custom comment body. It supports `{{ dependencies }}` token.
|
||||
comment: >
|
||||
This PR/issue depends on:
|
||||
|
||||
{{ dependencies }}
|
||||
|
||||
By **[Dependent Issues](https://github.com/z0al/dependent-issues)** (🤖). Happy coding!
|
@ -32,7 +32,6 @@ import io.nosqlbench.adapter.cqld4.wrapper.NodeSummary;
|
||||
import io.nosqlbench.adapters.api.activityimpl.uniform.BaseSpace;
|
||||
import io.nosqlbench.adapters.api.activityimpl.uniform.ConcurrentIndexCache;
|
||||
import io.nosqlbench.nb.api.config.standard.*;
|
||||
import io.nosqlbench.nb.api.errors.OpConfigError;
|
||||
import io.nosqlbench.nb.api.nbio.Content;
|
||||
import io.nosqlbench.nb.api.nbio.NBIO;
|
||||
import io.nosqlbench.nb.api.engine.util.SSLKsFactory;
|
||||
|
@ -19,7 +19,6 @@ package io.nosqlbench.adapters.api.activityimpl.uniform;
|
||||
|
||||
|
||||
import io.nosqlbench.nb.api.errors.BasicError;
|
||||
import io.nosqlbench.nb.api.errors.OpConfigError;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
@ -67,10 +67,10 @@ public class StrInterpolator implements Function<String, String> {
|
||||
after = substitutor.replace(raw);
|
||||
}
|
||||
if ( !original.equals(after)) {
|
||||
NBAdvisorOutput.output(Level.WARN,"Transform <<key:value>>");
|
||||
NBAdvisorOutput.output(Level.WARN,"From: "+original);
|
||||
NBAdvisorOutput.output(Level.WARN," To: "+after);
|
||||
NBAdvisorOutput.test("Using the deprecated template for of <<key:value>> please use TEMPLATE(key,value)");
|
||||
NBAdvisorOutput.render(Level.WARN,"Transform <<key:value>>");
|
||||
NBAdvisorOutput.render(Level.WARN,"From: "+original);
|
||||
NBAdvisorOutput.render(Level.WARN," To: "+after);
|
||||
NBAdvisorOutput.render(Level.WARN,"The deprecated template <<key:value>> in use. Please use TEMPLATE(key,value)");
|
||||
}
|
||||
return after;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user