From c984620a7e7b58e575ae7ff001a0746781671acc Mon Sep 17 00:00:00 2001 From: SyedArmorcode <135561238+SyedArmorcode@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:43:58 -0800 Subject: [PATCH 1/3] Create python-app.yml test --- .github/workflows/python-app.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..642470e --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,31 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: ArmorCode + +env: + armorcodehost: https://app.armorcode.com + product: Pet-Clinic + subProduct: Processor + environment: Production + token: ${{68443be7-1402-4e9a-8ea6-ef19110bb2a6}} + buildTool: GITHUB_ACTIONS + buildNumber: ${{github.run_number}} + end: 30 + + +on: + # Triggers the workflow on push request events + push: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + # ArmorCode Validation Step + steps: + - name: ArmorCode Validation + run: | + wget https://app.armorcode.com/static/scripts/slastatus.sh + sh slastatus.sh From 0d4dad8be3820d1e6589f6b237f64b9e1636a81c Mon Sep 17 00:00:00 2001 From: SyedArmorcode <135561238+SyedArmorcode@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:46:42 -0800 Subject: [PATCH 2/3] Update python-app.yml --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 642470e..d57b209 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -8,7 +8,7 @@ env: product: Pet-Clinic subProduct: Processor environment: Production - token: ${{68443be7-1402-4e9a-8ea6-ef19110bb2a6}} + token: 68443be7-1402-4e9a-8ea6-ef19110bb2a6 buildTool: GITHUB_ACTIONS buildNumber: ${{github.run_number}} end: 30 From 6d90cdc08154913c6f5cb457f6024eed47c1f61b Mon Sep 17 00:00:00 2001 From: SyedArmorcode <135561238+SyedArmorcode@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:10:20 -0800 Subject: [PATCH 3/3] Update python-app.yml --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d57b209..895eea5 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -11,7 +11,7 @@ env: token: 68443be7-1402-4e9a-8ea6-ef19110bb2a6 buildTool: GITHUB_ACTIONS buildNumber: ${{github.run_number}} - end: 30 + end: 60 on: