Micro bug fix
This commit is contained in:
parent
87caafe36f
commit
2d49ff63ce
5 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@ export const TAGS = {
|
||||||
CRON: { name: "crons", tag: "cron_", value: (t) => t },
|
CRON: { name: "crons", tag: "cron_", value: (t) => t },
|
||||||
ENV: { name: "env", tag: "env_", value: (t) => t },
|
ENV: { name: "env", tag: "env_", value: (t) => t },
|
||||||
REGIONS: { name: "regions", tag: "reg_", value: (t) => t },
|
REGIONS: { name: "regions", tag: "reg_", value: (t) => t },
|
||||||
PIPELINE: { name: "pipeline", tag: "pipeline", value: (t) => t },
|
PIPELINE: { name: "pipeline", tag: "is_pipeline", value: (t) => t },
|
||||||
COVERAGE: { name: "coverage", tag: "coverage_", value: (t) => t },
|
COVERAGE: { name: "coverage", tag: "coverage_", value: (t) => t },
|
||||||
PROJECT: { name: "projects", tag: "proj_", value: (t) => t },
|
PROJECT: { name: "projects", tag: "proj_", value: (t) => t },
|
||||||
DELAY: { name: "delay", tag: "delay_", value: (t) => t },
|
DELAY: { name: "delay", tag: "delay_", value: (t) => t },
|
||||||
|
|
|
@ -48,6 +48,7 @@ export default function CatalogBox(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const runTest = () => {
|
const runTest = () => {
|
||||||
|
console.log(isPipeline);
|
||||||
if (isPipeline) return runPipelineTest();
|
if (isPipeline) return runPipelineTest();
|
||||||
const jobId = jobCompose({
|
const jobId = jobCompose({
|
||||||
testNames: [testName],
|
testNames: [testName],
|
||||||
|
|
|
@ -16,7 +16,7 @@ export default function JobBox(props) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Accordion expanded={false} disableGutters={true} square>
|
<Accordion expanded={false} disableGutters={true} square>
|
||||||
<JobActionMenu job={job} />
|
{/*<JobActionMenu job={job} />*/}
|
||||||
<AccordionSummary
|
<AccordionSummary
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: "rgba(0, 0, 0, .03)",
|
backgroundColor: "rgba(0, 0, 0, .03)",
|
||||||
|
|
|
@ -41,6 +41,7 @@ export default function Jobs() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { job, pipeline, builderCache, hash } = jobHash;
|
const { job, pipeline, builderCache, hash } = jobHash;
|
||||||
|
console.log(jobState.jobs.filter((j) => !j.isPipeline));
|
||||||
if (!hash) return;
|
if (!hash) return;
|
||||||
if (!job && !pipeline && !builderCache) navigate("/qualiteer/jobs");
|
if (!job && !pipeline && !builderCache) navigate("/qualiteer/jobs");
|
||||||
});
|
});
|
||||||
|
|
|
@ -27,7 +27,7 @@ import PipelineConfirm from "./PipelineConfirm.jsx";
|
||||||
|
|
||||||
export default function JobBuilder() {
|
export default function JobBuilder() {
|
||||||
const { state: store } = useContext(StoreContext);
|
const { state: store } = useContext(StoreContext);
|
||||||
const { jobCompose } = useJobCore();
|
const { jobCompose, toJob } = useJobCore();
|
||||||
const [quickOpen, setQuickOpen] = useState(false);
|
const [quickOpen, setQuickOpen] = useState(false);
|
||||||
const [jobDialogOpen, setJobDialogOpen] = useState(false);
|
const [jobDialogOpen, setJobDialogOpen] = useState(false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue