From 39bbedd6b5b2567ab206cd408efda5f678afb185 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 15 Sep 2024 16:57:16 +0530 Subject: [PATCH 01/28] Create first-action.yml --- .github/workflows/first-action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/first-action.yml diff --git a/.github/workflows/first-action.yml b/.github/workflows/first-action.yml new file mode 100644 index 00000000..8ee6ff22 --- /dev/null +++ b/.github/workflows/first-action.yml @@ -0,0 +1,10 @@ +name: First Workflow +on: workflow_dispatch +jobs: + first_job: + runs-on: ubuntu-latest + steps: + - name: Print Greeting + run: echo "Hare Krishna" + - name: Print Goodbye + run: echo "Haribol" From c0f43b39ee3f3648da09e06f00ab5cfd7b797db4 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Mon, 16 Sep 2024 18:10:38 +0530 Subject: [PATCH 02/28] Update first-action.yml --- .github/workflows/first-action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/first-action.yml b/.github/workflows/first-action.yml index 8ee6ff22..32790f55 100644 --- a/.github/workflows/first-action.yml +++ b/.github/workflows/first-action.yml @@ -1,5 +1,6 @@ name: First Workflow on: workflow_dispatch + jobs: first_job: runs-on: ubuntu-latest From 599540e269e35951e52a12d7d51e4893a7b50fb3 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Mon, 16 Sep 2024 18:13:59 +0530 Subject: [PATCH 03/28] Update first-action.yml --- .github/workflows/first-action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/first-action.yml b/.github/workflows/first-action.yml index 32790f55..def0482b 100644 --- a/.github/workflows/first-action.yml +++ b/.github/workflows/first-action.yml @@ -6,6 +6,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Print Greeting - run: echo "Hare Krishna" - - name: Print Goodbye - run: echo "Haribol" + run: | + echo "Hare Krishna" + echo "Haribol" From 61d9c804b11551c7d3986b059cbbd7d82476b293 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 04:16:05 +0000 Subject: [PATCH 04/28] adding git workflow deployment 1 --- .github/workflows/deployment1.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/deployment1.yaml diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml new file mode 100644 index 00000000..576ce553 --- /dev/null +++ b/.github/workflows/deployment1.yaml @@ -0,0 +1,16 @@ +name: Deployment Exercise 1 +on: push +jobs: + deploy: + runs-on: ubuntu latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: npm ci + - name: Lint + run: npm run lint + - name: Test code + run: npm run test + - name: Deploy code + run: echo "Deploying..." \ No newline at end of file From 03ee3d92c2d32fb78201a413b6f1cade7941f437 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 12:18:42 +0530 Subject: [PATCH 05/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 576ce553..1c948acd 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -6,6 +6,8 @@ jobs: steps: - name: Get code uses: actions/checkout@v3 + - name: Go to Directory + run: cd Code/02 Basics/04 Practice Project (Start) - name: Install dependencies run: npm ci - name: Lint @@ -13,4 +15,4 @@ jobs: - name: Test code run: npm run test - name: Deploy code - run: echo "Deploying..." \ No newline at end of file + run: echo "Deploying..." From 4671095982febec62e2c71050f7e2423e5cd77eb Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 12:19:26 +0530 Subject: [PATCH 06/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 1c948acd..1a4b5c63 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -2,12 +2,10 @@ name: Deployment Exercise 1 on: push jobs: deploy: - runs-on: ubuntu latest + runs-on: ubuntu-latest steps: - name: Get code uses: actions/checkout@v3 - - name: Go to Directory - run: cd Code/02 Basics/04 Practice Project (Start) - name: Install dependencies run: npm ci - name: Lint From 0337f0e4578c08ed1bc3c3e7d19de6e9eb0a5546 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 12:20:15 +0530 Subject: [PATCH 07/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 1a4b5c63..4951b2db 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -6,6 +6,8 @@ jobs: steps: - name: Get code uses: actions/checkout@v3 + - name: Go to Directory + run: cd Code/02 Basics/04 Practice Project (Start) - name: Install dependencies run: npm ci - name: Lint From 31f7c411e91a7a66b2b5033e3375825cb62a775b Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 06:53:53 +0000 Subject: [PATCH 08/28] making changes in deployment 1 file --- .github/workflows/deployment1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 4951b2db..666f48b9 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -7,7 +7,7 @@ jobs: - name: Get code uses: actions/checkout@v3 - name: Go to Directory - run: cd Code/02 Basics/04 Practice Project (Start) + run: cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ - name: Install dependencies run: npm ci - name: Lint From f7b1da36fd07838239222379cd1c5798848bd8ce Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 06:57:00 +0000 Subject: [PATCH 09/28] making changes in deployment 1 file --- .github/workflows/deployment1.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 666f48b9..f4cab398 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -6,13 +6,17 @@ jobs: steps: - name: Get code uses: actions/checkout@v3 - - name: Go to Directory - run: cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ - name: Install dependencies - run: npm ci + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm ci - name: Lint - run: npm run lint + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm run lint - name: Test code - run: npm run test + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm run test - name: Deploy code run: echo "Deploying..." From 4aa1961cf7f5b69938358887dbc1a8c0400ecf3e Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 18:52:58 +0530 Subject: [PATCH 10/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index f4cab398..54345aff 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -1,5 +1,6 @@ name: Deployment Exercise 1 on: push + jobs: deploy: runs-on: ubuntu-latest @@ -11,12 +12,8 @@ jobs: cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ npm ci - name: Lint - run: | - cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ - npm run lint + run: npm run lint - name: Test code - run: | - cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ - npm run test + run: npm run test - name: Deploy code run: echo "Deploying..." From b6c49a9e32732698da33de9a588376feb07955a3 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 22 Sep 2024 18:54:21 +0530 Subject: [PATCH 11/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 54345aff..ae277af8 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -12,8 +12,12 @@ jobs: cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ npm ci - name: Lint - run: npm run lint + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm run lint - name: Test code - run: npm run test + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm run test - name: Deploy code run: echo "Deploying..." From bfdc8531186fface1e187b9231761631dbcc1070 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 18:28:36 +0530 Subject: [PATCH 12/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index ae277af8..34d6f4f8 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -2,11 +2,11 @@ name: Deployment Exercise 1 on: push jobs: - deploy: + lint: runs-on: ubuntu-latest steps: - name: Get code - uses: actions/checkout@v3 + uses: actions/checkout@v3 - name: Install dependencies run: | cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ @@ -15,9 +15,34 @@ jobs: run: | cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ npm run lint + test: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm ci - name: Test code run: | cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ npm run test - name: Deploy code run: echo "Deploying..." + + deploy: + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v3 + - name: Install dependencies + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm ci + - name: Build code + run: | + cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ + npm run build + - name: Deploy code + run: echo "Deploying..." From 8d87ca3c6ae45e0207719149864599f62f81519d Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 18:30:22 +0530 Subject: [PATCH 13/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 34d6f4f8..70b1f013 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -16,6 +16,7 @@ jobs: cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/ npm run lint test: + needs: lint runs-on: ubuntu-latest steps: - name: Get code @@ -32,6 +33,7 @@ jobs: run: echo "Deploying..." deploy: + needs: test runs-on: ubuntu-latest steps: - name: Get code From 25a0db9f964430bb23799635eee34efafce7b7bf Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:03:17 +0530 Subject: [PATCH 14/28] Create deployment2.yaml --- .github/workflows/deployment2.yaml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/deployment2.yaml diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/.github/workflows/deployment2.yaml @@ -0,0 +1 @@ + From 54d8d7f5f2a664de97f381c2604f03fdba2994c0 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:09:30 +0530 Subject: [PATCH 15/28] Update deployment2.yaml --- .github/workflows/deployment2.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml index 8b137891..bd2908cc 100644 --- a/.github/workflows/deployment2.yaml +++ b/.github/workflows/deployment2.yaml @@ -1 +1,9 @@ +name: Handle issues +on: issues +jobs: + output-info: + runs-on: ubuntu-latest + steps: + - name: Output event details + run: echo "${{ toJSON(github.event) }}" From d9ba814aefbb6d37ceb51b8f4539dedeb62a5d79 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:24:58 +0530 Subject: [PATCH 16/28] Update deployment2.yaml --- .github/workflows/deployment2.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml index bd2908cc..a8b08371 100644 --- a/.github/workflows/deployment2.yaml +++ b/.github/workflows/deployment2.yaml @@ -1,9 +1,8 @@ name: Handle issues on: issues - jobs: output-info: runs-on: ubuntu-latest steps: - name: Output event details - run: echo "${{ toJSON(github.event) }}" + run: echo "${{ toJSON(github.event) }}" From 0f06e9239daba3997e3a956a870ee131c11b740c Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:31:28 +0530 Subject: [PATCH 17/28] Update deployment2.yaml From b9b277ce5c02eb0ebae1d810a3cd639a5abe3816 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:32:20 +0530 Subject: [PATCH 18/28] Update deployment1.yaml --- .github/workflows/deployment1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment1.yaml b/.github/workflows/deployment1.yaml index 70b1f013..441b53cc 100644 --- a/.github/workflows/deployment1.yaml +++ b/.github/workflows/deployment1.yaml @@ -1,5 +1,5 @@ name: Deployment Exercise 1 -on: push +on: workflow_dispatch jobs: lint: From 52603f8b1eeb7e81ddf89303e014ffdffeab751d Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:32:58 +0530 Subject: [PATCH 19/28] Update deployment2.yaml --- .github/workflows/deployment2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml index a8b08371..3d9daeef 100644 --- a/.github/workflows/deployment2.yaml +++ b/.github/workflows/deployment2.yaml @@ -1,5 +1,5 @@ name: Handle issues -on: issues +on: workflow_dispatch jobs: output-info: runs-on: ubuntu-latest From d1d07305630ec114dd93fae0acb7f9f31d60340b Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:35:23 +0530 Subject: [PATCH 20/28] Create output.yaml --- .github/workflows/output.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/workflows/output.yaml diff --git a/.github/workflows/output.yaml b/.github/workflows/output.yaml new file mode 100644 index 00000000..d05391cc --- /dev/null +++ b/.github/workflows/output.yaml @@ -0,0 +1,8 @@ +name: Output information +on: workflow_dispatch +jobs: + info: + runs-on: ubuntu-latest + steps: + - name: Output GitHub context + run: echo "${{ toJSON(github) }}" From 625eafbd200dc8a8373af87ba2b1741637c5147a Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:36:18 +0530 Subject: [PATCH 21/28] Update output.yaml --- .github/workflows/output.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/output.yaml b/.github/workflows/output.yaml index d05391cc..44230b74 100644 --- a/.github/workflows/output.yaml +++ b/.github/workflows/output.yaml @@ -5,4 +5,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Output GitHub context - run: echo "${{ toJSON(github) }}" + run: echo "Haribol" From b8f724fe057eaa8158475240cfc3306a78cc087c Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:37:11 +0530 Subject: [PATCH 22/28] Update output.yaml --- .github/workflows/output.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/output.yaml b/.github/workflows/output.yaml index 44230b74..d05391cc 100644 --- a/.github/workflows/output.yaml +++ b/.github/workflows/output.yaml @@ -5,4 +5,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Output GitHub context - run: echo "Haribol" + run: echo "${{ toJSON(github) }}" From 90df2b9223e9ae3b2a40de7bbe835188ec4c48f4 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:49:09 +0530 Subject: [PATCH 23/28] Update deployment2.yaml --- .github/workflows/deployment2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml index 3d9daeef..1037ab23 100644 --- a/.github/workflows/deployment2.yaml +++ b/.github/workflows/deployment2.yaml @@ -5,4 +5,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Output event details - run: echo "${{ toJSON(github.event) }}" + run: echo "${{ toJSON(github.event) }})" From c2ab8e7d6a40af09ea9dac2cfeff69b0bb58a94a Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:54:10 +0530 Subject: [PATCH 24/28] Update deployment2.yaml --- .github/workflows/deployment2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml index 1037ab23..9adbd080 100644 --- a/.github/workflows/deployment2.yaml +++ b/.github/workflows/deployment2.yaml @@ -5,4 +5,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Output event details - run: echo "${{ toJSON(github.event) }})" + run: echo 'Full github context ${{ toJSON(github) }})' From 6300f4fb0662b49a829790a92345af31f96666d5 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:55:09 +0530 Subject: [PATCH 25/28] Update output.yaml --- .github/workflows/output.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/output.yaml b/.github/workflows/output.yaml index d05391cc..958092bb 100644 --- a/.github/workflows/output.yaml +++ b/.github/workflows/output.yaml @@ -5,4 +5,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Output GitHub context - run: echo "${{ toJSON(github) }}" + run: echo '${{ toJSON(github) }})' From 27854652b534c973d9028eaea8b8503e0cbf0a68 Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Sun, 29 Sep 2024 19:55:30 +0530 Subject: [PATCH 26/28] Update deployment2.yaml --- .github/workflows/deployment2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment2.yaml b/.github/workflows/deployment2.yaml index 9adbd080..3219e739 100644 --- a/.github/workflows/deployment2.yaml +++ b/.github/workflows/deployment2.yaml @@ -5,4 +5,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Output event details - run: echo 'Full github context ${{ toJSON(github) }})' + run: echo '${{ toJSON(github.event) }})' From 83f28fc57d9548aff3ddad96e70b69baebf46b1f Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Wed, 30 Oct 2024 10:32:59 +0000 Subject: [PATCH 27/28] First file added --- hss/hss | 1 + 1 file changed, 1 insertion(+) create mode 100644 hss/hss diff --git a/hss/hss b/hss/hss new file mode 100644 index 00000000..51481518 --- /dev/null +++ b/hss/hss @@ -0,0 +1 @@ +This is the first line of the file \ No newline at end of file From 8281b9398018287c60d0ca4c80941f44cd39dd0b Mon Sep 17 00:00:00 2001 From: haridev1105 Date: Wed, 30 Oct 2024 10:34:35 +0000 Subject: [PATCH 28/28] adding second line in new branch hss --- hss/hss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hss/hss b/hss/hss index 51481518..4a600bcf 100644 --- a/hss/hss +++ b/hss/hss @@ -1 +1,2 @@ -This is the first line of the file \ No newline at end of file +This is the first line of the file +This is the second line of the file \ No newline at end of file