From d4d23954cdc217da781d93f431cb3800f3378c5c Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 12:58:35 -0500 Subject: [PATCH 01/12] Added pipeline .harness/pipelines/python-1698429495134.yaml --- .harness/pipelines/python-1698429495134.yaml | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .harness/pipelines/python-1698429495134.yaml diff --git a/.harness/pipelines/python-1698429495134.yaml b/.harness/pipelines/python-1698429495134.yaml new file mode 100644 index 0000000..aa2619c --- /dev/null +++ b/.harness/pipelines/python-1698429495134.yaml @@ -0,0 +1,37 @@ +pipeline: + identifier: Build_python_1698429517241 + name: Build python + orgIdentifier: default + projectIdentifier: Harness_Testing + properties: + ci: + codebase: + build: <+input> + connectorRef: account.Github_OAuth_1698419216800 + repoName: python + stages: + - stage: + identifier: build + name: build + spec: + cloneCodebase: true + execution: + steps: + - step: + identifier: dockerbuild + name: docker_build + spec: + image: plugins/docker + settings: + dry_run: "true" + repo: hello/world + tags: latest + timeout: "" + type: Plugin + platform: + arch: Amd64 + os: Linux + runtime: + spec: {} + type: Cloud + type: CI From 0744ada56926e001be7a5849f7bb56d751516a25 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 12:58:36 -0500 Subject: [PATCH 02/12] Added input set .harness/Build_python_1698429517241-pr-trigger-input-set-1698429518027.yaml --- ...9517241-pr-trigger-input-set-1698429518027.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/Build_python_1698429517241-pr-trigger-input-set-1698429518027.yaml diff --git a/.harness/Build_python_1698429517241-pr-trigger-input-set-1698429518027.yaml b/.harness/Build_python_1698429517241-pr-trigger-input-set-1698429518027.yaml new file mode 100644 index 0000000..51fbac4 --- /dev/null +++ b/.harness/Build_python_1698429517241-pr-trigger-input-set-1698429518027.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_python_1698429517241-pr-trigger-input-set + identifier: Build_python_1698429517241prtriggerinputset + orgIdentifier: default + projectIdentifier: Harness_Testing + pipeline: + identifier: Build_python_1698429517241 + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From 52e87618b49739f6e278d7062f8358d056ac40f2 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 12:58:37 -0500 Subject: [PATCH 03/12] Added input set .harness/Build_python_1698429517241-push-trigger-input-set-1698429518877.yaml --- ...17241-push-trigger-input-set-1698429518877.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/Build_python_1698429517241-push-trigger-input-set-1698429518877.yaml diff --git a/.harness/Build_python_1698429517241-push-trigger-input-set-1698429518877.yaml b/.harness/Build_python_1698429517241-push-trigger-input-set-1698429518877.yaml new file mode 100644 index 0000000..81d73d5 --- /dev/null +++ b/.harness/Build_python_1698429517241-push-trigger-input-set-1698429518877.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_python_1698429517241-push-trigger-input-set + identifier: Build_python_1698429517241pushtriggerinputset + orgIdentifier: default + projectIdentifier: Harness_Testing + pipeline: + identifier: Build_python_1698429517241 + properties: + ci: + codebase: + build: + type: branch + spec: + branch: <+trigger.branch> From da9ab349b37b49167ae1cc525ab30e6035c3f46c Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 13:17:00 -0500 Subject: [PATCH 04/12] Update pipeline Build python --- .harness/pipelines/python-1698429495134.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.harness/pipelines/python-1698429495134.yaml b/.harness/pipelines/python-1698429495134.yaml index aa2619c..c2ed0b2 100644 --- a/.harness/pipelines/python-1698429495134.yaml +++ b/.harness/pipelines/python-1698429495134.yaml @@ -18,16 +18,16 @@ pipeline: execution: steps: - step: - identifier: dockerbuild - name: docker_build + type: Run + identifier: build_python_app + name: Build Python App spec: - image: plugins/docker - settings: - dry_run: "true" - repo: hello/world - tags: latest - timeout: "" - type: Plugin + shell: Sh + command: |- + echo "Welcome to Harness CI" + python -m pip install --upgrade pip + pip install pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi platform: arch: Amd64 os: Linux From c2acf8449daaa9354d6d203e6fd8421102f60f81 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 13:23:39 -0500 Subject: [PATCH 05/12] Added pipeline .harness/pipelines/python-1698430960060.yaml --- .harness/pipelines/python-1698430960060.yaml | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .harness/pipelines/python-1698430960060.yaml diff --git a/.harness/pipelines/python-1698430960060.yaml b/.harness/pipelines/python-1698430960060.yaml new file mode 100644 index 0000000..0d1e1a3 --- /dev/null +++ b/.harness/pipelines/python-1698430960060.yaml @@ -0,0 +1,37 @@ +pipeline: + identifier: Build_python_1698431020808 + name: Build python + orgIdentifier: default + projectIdentifier: Harness_Testing + properties: + ci: + codebase: + build: <+input> + connectorRef: account.Github_OAuth_1698419216800 + repoName: python + stages: + - stage: + identifier: build + name: build + spec: + cloneCodebase: true + execution: + steps: + - step: + identifier: dockerbuild + name: docker_build + spec: + image: plugins/docker + settings: + dry_run: "true" + repo: hello/world + tags: latest + timeout: "" + type: Plugin + platform: + arch: Amd64 + os: Linux + runtime: + spec: {} + type: Cloud + type: CI From 7fa351d755814593501a5ef6a6994909de1659bf Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 13:23:40 -0500 Subject: [PATCH 06/12] Added input set .harness/Build_python_1698431020808-pr-trigger-input-set-1698431021795.yaml --- ...1020808-pr-trigger-input-set-1698431021795.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/Build_python_1698431020808-pr-trigger-input-set-1698431021795.yaml diff --git a/.harness/Build_python_1698431020808-pr-trigger-input-set-1698431021795.yaml b/.harness/Build_python_1698431020808-pr-trigger-input-set-1698431021795.yaml new file mode 100644 index 0000000..78da758 --- /dev/null +++ b/.harness/Build_python_1698431020808-pr-trigger-input-set-1698431021795.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_python_1698431020808-pr-trigger-input-set + identifier: Build_python_1698431020808prtriggerinputset + orgIdentifier: default + projectIdentifier: Harness_Testing + pipeline: + identifier: Build_python_1698431020808 + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From ff7822cea4bac7570353e11e71a8d9d67d86227a Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 13:23:41 -0500 Subject: [PATCH 07/12] Added input set .harness/Build_python_1698431020808-push-trigger-input-set-1698431022712.yaml --- ...20808-push-trigger-input-set-1698431022712.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/Build_python_1698431020808-push-trigger-input-set-1698431022712.yaml diff --git a/.harness/Build_python_1698431020808-push-trigger-input-set-1698431022712.yaml b/.harness/Build_python_1698431020808-push-trigger-input-set-1698431022712.yaml new file mode 100644 index 0000000..d0055e4 --- /dev/null +++ b/.harness/Build_python_1698431020808-push-trigger-input-set-1698431022712.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_python_1698431020808-push-trigger-input-set + identifier: Build_python_1698431020808pushtriggerinputset + orgIdentifier: default + projectIdentifier: Harness_Testing + pipeline: + identifier: Build_python_1698431020808 + properties: + ci: + codebase: + build: + type: branch + spec: + branch: <+trigger.branch> From 4fdf74719624a8aedc9df725615284b8e0ef1ac5 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 13:25:13 -0500 Subject: [PATCH 08/12] Update pipeline Build python --- .harness/pipelines/python-1698430960060.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.harness/pipelines/python-1698430960060.yaml b/.harness/pipelines/python-1698430960060.yaml index 0d1e1a3..e42c054 100644 --- a/.harness/pipelines/python-1698430960060.yaml +++ b/.harness/pipelines/python-1698430960060.yaml @@ -18,16 +18,16 @@ pipeline: execution: steps: - step: - identifier: dockerbuild - name: docker_build + type: Run + identifier: build_python_app + name: Build Python App spec: - image: plugins/docker - settings: - dry_run: "true" - repo: hello/world - tags: latest - timeout: "" - type: Plugin + shell: Sh + command: |- + echo "Welcome to Harness CI" + python -m pip install --upgrade pip + pip install pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi platform: arch: Amd64 os: Linux From 009e8ae835a1d6da58f851b17247c54c244f29e7 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 14:15:14 -0500 Subject: [PATCH 09/12] Added pipeline .harness/pipelines/python-1698434109608.yaml --- .harness/pipelines/python-1698434109608.yaml | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .harness/pipelines/python-1698434109608.yaml diff --git a/.harness/pipelines/python-1698434109608.yaml b/.harness/pipelines/python-1698434109608.yaml new file mode 100644 index 0000000..77c5a20 --- /dev/null +++ b/.harness/pipelines/python-1698434109608.yaml @@ -0,0 +1,37 @@ +pipeline: + identifier: Build_python_1698434115731 + name: Build python + orgIdentifier: default + projectIdentifier: Harness_Testing + properties: + ci: + codebase: + build: <+input> + connectorRef: account.Github_OAuth_1698419216800 + repoName: python + stages: + - stage: + identifier: build + name: build + spec: + cloneCodebase: true + execution: + steps: + - step: + identifier: dockerbuild + name: docker_build + spec: + image: plugins/docker + settings: + dry_run: "true" + repo: hello/world + tags: latest + timeout: "" + type: Plugin + platform: + arch: Amd64 + os: Linux + runtime: + spec: {} + type: Cloud + type: CI From ca01b6370172dcb8d78cf0cabece412bc8ae0111 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 14:15:15 -0500 Subject: [PATCH 10/12] Added input set .harness/Build_python_1698434115731-pr-trigger-input-set-1698434116499.yaml --- ...4115731-pr-trigger-input-set-1698434116499.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/Build_python_1698434115731-pr-trigger-input-set-1698434116499.yaml diff --git a/.harness/Build_python_1698434115731-pr-trigger-input-set-1698434116499.yaml b/.harness/Build_python_1698434115731-pr-trigger-input-set-1698434116499.yaml new file mode 100644 index 0000000..f28dcf2 --- /dev/null +++ b/.harness/Build_python_1698434115731-pr-trigger-input-set-1698434116499.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_python_1698434115731-pr-trigger-input-set + identifier: Build_python_1698434115731prtriggerinputset + orgIdentifier: default + projectIdentifier: Harness_Testing + pipeline: + identifier: Build_python_1698434115731 + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From 6afa44d8b9ed29f090afb05eec34957c01fc30f4 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 14:15:15 -0500 Subject: [PATCH 11/12] Added input set .harness/Build_python_1698434115731-push-trigger-input-set-1698434117312.yaml --- ...15731-push-trigger-input-set-1698434117312.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/Build_python_1698434115731-push-trigger-input-set-1698434117312.yaml diff --git a/.harness/Build_python_1698434115731-push-trigger-input-set-1698434117312.yaml b/.harness/Build_python_1698434115731-push-trigger-input-set-1698434117312.yaml new file mode 100644 index 0000000..055989d --- /dev/null +++ b/.harness/Build_python_1698434115731-push-trigger-input-set-1698434117312.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_python_1698434115731-push-trigger-input-set + identifier: Build_python_1698434115731pushtriggerinputset + orgIdentifier: default + projectIdentifier: Harness_Testing + pipeline: + identifier: Build_python_1698434115731 + properties: + ci: + codebase: + build: + type: branch + spec: + branch: <+trigger.branch> From 9287c225caf05ac3151bc7a6893cdc3298d163d0 Mon Sep 17 00:00:00 2001 From: "anthony.capodilupo" Date: Fri, 27 Oct 2023 14:20:52 -0500 Subject: [PATCH 12/12] Update pipeline Build python --- .harness/pipelines/python-1698434109608.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.harness/pipelines/python-1698434109608.yaml b/.harness/pipelines/python-1698434109608.yaml index 77c5a20..f4b05d6 100644 --- a/.harness/pipelines/python-1698434109608.yaml +++ b/.harness/pipelines/python-1698434109608.yaml @@ -18,16 +18,16 @@ pipeline: execution: steps: - step: - identifier: dockerbuild - name: docker_build + type: Run + identifier: build_python_app + name: Build Python App spec: - image: plugins/docker - settings: - dry_run: "true" - repo: hello/world - tags: latest - timeout: "" - type: Plugin + shell: Sh + command: |- + echo "Welcome to Harness CI" + python -m pip install --upgrade pip + pip install pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi platform: arch: Amd64 os: Linux