diff --git a/share/gitea-tekton-org/tekton.dev_v1_Pipeline_auto-ci-push.yaml b/share/gitea-tekton-org/tekton.dev_v1_Pipeline_auto-ci-push.yaml index 8c18905..05f9b3f 100644 --- a/share/gitea-tekton-org/tekton.dev_v1_Pipeline_auto-ci-push.yaml +++ b/share/gitea-tekton-org/tekton.dev_v1_Pipeline_auto-ci-push.yaml @@ -130,7 +130,7 @@ spec: - name: project-path value: $(params.project-path) taskRef: - name: detect-stages + name: auto-ci-detector workspaces: - name: source - name: lint-shell diff --git a/share/gitea-tekton-org/tekton.dev_v1_Task_auto-ci-detector.yaml b/share/gitea-tekton-org/tekton.dev_v1_Task_auto-ci-detector.yaml index 7e0bae0..aec7c2b 100644 --- a/share/gitea-tekton-org/tekton.dev_v1_Task_auto-ci-detector.yaml +++ b/share/gitea-tekton-org/tekton.dev_v1_Task_auto-ci-detector.yaml @@ -172,8 +172,6 @@ spec: save_json("$(results.file-python.path)", files['py'] if 'py' in files else []) save_json("$(results.file-docker.path)", files['Dockerfile'] if 'Dockerfile' in files else []) save_json("$(results.images-name.path)", get_images_name(files['Dockerfile'] if 'Dockerfile' in files else [],root)) - for stage in ['prepare','lint','test','publish']: - print(stage,json.dumps(stages[stage])) workspaces: - name: source mountPath: /data \ No newline at end of file