Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hss #9

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
39bbedd
Create first-action.yml
haridev1105 Sep 15, 2024
c0f43b3
Update first-action.yml
haridev1105 Sep 16, 2024
599540e
Update first-action.yml
haridev1105 Sep 16, 2024
61d9c80
adding git workflow deployment 1
haridev1105 Sep 22, 2024
03ee3d9
Update deployment1.yaml
haridev1105 Sep 22, 2024
4671095
Update deployment1.yaml
haridev1105 Sep 22, 2024
0337f0e
Update deployment1.yaml
haridev1105 Sep 22, 2024
31f7c41
making changes in deployment 1 file
haridev1105 Sep 22, 2024
f7b1da3
making changes in deployment 1 file
haridev1105 Sep 22, 2024
4aa1961
Update deployment1.yaml
haridev1105 Sep 22, 2024
b6c49a9
Update deployment1.yaml
haridev1105 Sep 22, 2024
bfdc853
Update deployment1.yaml
haridev1105 Sep 29, 2024
8d87ca3
Update deployment1.yaml
haridev1105 Sep 29, 2024
25a0db9
Create deployment2.yaml
haridev1105 Sep 29, 2024
54d8d7f
Update deployment2.yaml
haridev1105 Sep 29, 2024
d9ba814
Update deployment2.yaml
haridev1105 Sep 29, 2024
0f06e92
Update deployment2.yaml
haridev1105 Sep 29, 2024
b9b277c
Update deployment1.yaml
haridev1105 Sep 29, 2024
52603f8
Update deployment2.yaml
haridev1105 Sep 29, 2024
d1d0730
Create output.yaml
haridev1105 Sep 29, 2024
625eafb
Update output.yaml
haridev1105 Sep 29, 2024
b8f724f
Update output.yaml
haridev1105 Sep 29, 2024
90df2b9
Update deployment2.yaml
haridev1105 Sep 29, 2024
c2ab8e7
Update deployment2.yaml
haridev1105 Sep 29, 2024
6300f4f
Update output.yaml
haridev1105 Sep 29, 2024
2785465
Update deployment2.yaml
haridev1105 Sep 29, 2024
83f28fc
First file added
haridev1105 Oct 30, 2024
8281b93
adding second line in new branch hss
haridev1105 Oct 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/deployment1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deployment Exercise 1
on: workflow_dispatch

jobs:
lint:
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: Lint
run: |
cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/
npm run lint
test:
needs: lint
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:
needs: 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: Build code
run: |
cd Code/02\ Basics/04\ Practice\ Project\ \(Start\)/
npm run build
- name: Deploy code
run: echo "Deploying..."
8 changes: 8 additions & 0 deletions .github/workflows/deployment2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Handle issues
on: workflow_dispatch
jobs:
output-info:
runs-on: ubuntu-latest
steps:
- name: Output event details
run: echo '${{ toJSON(github.event) }})'
11 changes: 11 additions & 0 deletions .github/workflows/first-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: First Workflow
on: workflow_dispatch

jobs:
first_job:
runs-on: ubuntu-latest
steps:
- name: Print Greeting
run: |
echo "Hare Krishna"
echo "Haribol"
8 changes: 8 additions & 0 deletions .github/workflows/output.yaml
Original file line number Diff line number Diff line change
@@ -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) }})'
2 changes: 2 additions & 0 deletions hss/hss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is the first line of the file
This is the second line of the file