Skip to content
Open

test #26

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
cfb9be4
Create main.yml
pankajsingh-Kipu Jun 16, 2025
722679e
Update main.yml
pankajsingh-Kipu Jun 16, 2025
65a7b84
Update main.yml
pankajsingh-Kipu Jun 16, 2025
1462139
Update main.yml
pankajsingh-Kipu Jun 16, 2025
ed499e9
Update main.yml
pankajsingh-Kipu Jun 16, 2025
01b3490
Update deployment.yml
pankajsingh-Kipu Jun 16, 2025
edaaf7a
Update node-service.yaml
pankajsingh-Kipu Jun 16, 2025
c5f2e52
Update service.yml
pankajsingh-Kipu Jun 16, 2025
b3be7b8
Update main.yml
pankajsingh-Kipu Jun 16, 2025
eaf6deb
Update deployment.yml
pankajsingh-Kipu Jun 16, 2025
34774eb
Update node-service.yaml
pankajsingh-Kipu Jun 16, 2025
765a44e
Update service.yml
pankajsingh-Kipu Jun 16, 2025
4be833e
Update deployment.yml
pankajsingh-Kipu Jun 16, 2025
5b0f5c0
Update main.yml
pankajsingh-Kipu Jun 16, 2025
4ad500b
Update main.yml
pankajsingh-Kipu Jun 16, 2025
3b3d5d3
Update main.yml
pankajsingh-Kipu Jun 16, 2025
0c355f4
Update main.yml
pankajsingh-Kipu Jun 16, 2025
c12d3e8
Update main.yml
pankajsingh-Kipu Jun 16, 2025
aca23b7
Update main.yml
pankajsingh-Kipu Jun 16, 2025
d7b0d25
Update main.yml
pankajsingh-Kipu Jun 16, 2025
aa8df0b
Update main.yml
pankajsingh-Kipu Jun 16, 2025
414392a
netflix deploy
pankajsingh-Kipu Jun 17, 2025
026d0ac
test 1 deploy
pankajsingh-Kipu Jun 17, 2025
869780b
Add GitHub Actions deployment pipeline
pankajsingh-Kipu Jun 17, 2025
4f2b9b5
Demo update
pankajsingh-Kipu Jun 17, 2025
1fae890
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
db08b07
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
6e4a798
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
dacd61e
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
a96abf5
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
ee3d2d9
Update service.yml
pankajsingh-Kipu Jun 17, 2025
33f593b
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
5ccbd68
Update deploy.yml
pankajsingh-Kipu Jun 17, 2025
db36dbc
Update main.yml
pankajsingh-Kipu Jun 17, 2025
7e0a3b0
Production-ready CI/CD pipeline with ArgoCD and GitHub Actions
pankajsingh-Kipu Jun 17, 2025
7679512
Reset project and push new files
pankajsingh-Kipu Jun 17, 2025
2c6763c
argo cd
pankajsingh-Kipu Jun 17, 2025
04789fe
main file chnages
pankajsingh-Kipu Jun 17, 2025
10aaa37
service yml changes
pankajsingh-Kipu Jun 17, 2025
f0e3a4e
Update Dockerfile
pankajsingh-Kipu Jun 17, 2025
b60ca1a
Updated TMDB API key in Dockerfile
pankajsingh-Kipu Jun 17, 2025
bf13431
Update main.yml
pankajsingh-Kipu Jun 17, 2025
591fbf1
Hardcoded TMDB key (temporary)
pankajsingh-Kipu Jun 17, 2025
2551306
Update main.yml
pankajsingh-Kipu Jun 17, 2025
064e57c
Update main.yml
pankajsingh-Kipu Jun 17, 2025
17c9330
Update main.yml
pankajsingh-Kipu Jun 17, 2025
fa05aa5
Update main.yml
pankajsingh-Kipu Jun 17, 2025
cb523fd
Update main.yml
pankajsingh-Kipu Jun 17, 2025
74eb9e5
Inject TMDB API key from GitHub Secrets
pankajsingh-Kipu Jun 17, 2025
02b327f
Trigger rebuild with TMDB key
pankajsingh-Kipu Jun 17, 2025
5bb4f4e
Trigger rebuild with TMDB key
pankajsingh-Kipu Jun 17, 2025
b90a16b
Remove placeholder .env so build-arg key is used
pankajsingh-Kipu Jun 17, 2025
037b8e8
Update Dockerfile
pankajsingh-Kipu Jun 17, 2025
b262c9f
remove placeholder .env so build-arg wins
pankajsingh-Kipu Jun 17, 2025
481e2cf
Update Footer.tsx
pankajsingh-Kipu Jun 17, 2025
22e6442
Update Footer.tsx
pankajsingh-Kipu Jun 17, 2025
432af18
Update Dockerfile
pankajsingh-Kipu Jun 18, 2025
9b7b4c2
Set replicas=1 for netflix-app
pankajsingh-Kipu Jun 18, 2025
e9a5806
Update service.yml
pankajsingh-Kipu Jun 18, 2025
4a701fa
Create Ingress.yml
pankajsingh-Kipu Jun 18, 2025
6016a4b
Delete Kubernetes/Ingress.yml
pankajsingh-Kipu Jun 18, 2025
cb80f4a
Create ingress.yml
pankajsingh-Kipu Jun 18, 2025
9bb2c47
Delete Kubernetes/ingress.yml
pankajsingh-Kipu Jun 18, 2025
095a84a
Create demo.yml
pankajsingh-Kipu Jun 18, 2025
1048b15
Update demo.yml
pankajsingh-Kipu Jun 18, 2025
4ff1362
Delete Kubernetes/demo.yml
pankajsingh-Kipu Jun 18, 2025
1948ab1
Update Ingress for netflix-app
pankajsingh-Kipu Jun 19, 2025
4ad1599
Update ingress file
pankajsingh-Kipu Jun 19, 2025
17b75ae
Update main.yml
pankajsingh-Kipu Jun 19, 2025
e8bb41a
Ignore iam-policy.json for ArgoCD
pankajsingh-Kipu Jun 19, 2025
18009d0
Ignore iam-policy.json for Argo CD
pankajsingh-Kipu Jun 19, 2025
1694187
Move iam-policy.json out of Argo CD path
pankajsingh-Kipu Jun 19, 2025
7621a13
netflix yml deleted
pankajsingh-Kipu Jun 19, 2025
360fac0
cert manger deleted
pankajsingh-Kipu Jun 19, 2025
ffdc212
Update ingress.yml
pankajsingh-Kipu Jun 19, 2025
ab21f06
Remove old ingress netflix-ingress-app
pankajsingh-Kipu Jun 19, 2025
3f19b21
Update README.md
pankajsingh-Kipu Jun 19, 2025
259576f
Update README.md
pankajsingh-Kipu Jun 19, 2025
d21850d
Update README.md
pankajsingh-Kipu Jun 19, 2025
09a287b
Update README.md
pankajsingh-Kipu Jun 19, 2025
a812c87
Update README.md
pankajsingh-Kipu Jun 19, 2025
573a936
Update README.md
pankajsingh-Kipu Jun 19, 2025
c399956
Update ingress.yml
pankajsingh-Kipu Jun 23, 2025
f00127a
Update ingress.yml
pankajsingh-Kipu Jun 23, 2025
b8b3340
Update ingress.yml
pankajsingh-Kipu Jun 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .argocd-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
iam-policy.json
2 changes: 0 additions & 2 deletions .env

This file was deleted.

2 changes: 0 additions & 2 deletions .env.example

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Deploy to EKS via ArgoCD

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: ecr-push # ✅ This should match the GitHub Environment name

steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-north-1

- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v1

- name: Build Docker Image with TMDB Key
run: |
docker build \
--build-arg TMDB_V3_API_KEY=${{ secrets.TMDB_V3_API_KEY }} \
-t netflix .

- name: Tag Docker Image
run: |
docker tag netflix:latest 476768693646.dkr.ecr.eu-north-1.amazonaws.com/devops_sec:latest

- name: Push Docker Image to ECR
run: |
docker push 476768693646.dkr.ecr.eu-north-1.amazonaws.com/devops_sec:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY ./yarn.lock .
RUN yarn install
COPY . .
ARG TMDB_V3_API_KEY
ENV VITE_APP_TMDB_V3_API_KEY=${TMDB_V3_API_KEY}
ENV VITE_APP_TMDB_V3_API_KEY=$TMDB_V3_API_KEY
ENV VITE_APP_API_ENDPOINT_URL="https://api.themoviedb.org/3"
RUN yarn build

Expand All @@ -14,4 +14,4 @@ WORKDIR /usr/share/nginx/html
RUN rm -rf ./*
COPY --from=builder /app/dist .
EXPOSE 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]
ENTRYPOINT ["nginx", "-g", "daemon off;"]
1 change: 1 addition & 0 deletions Kubernetes/.argocd-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
iam-policy.json
54 changes: 54 additions & 0 deletions Kubernetes/aws/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# AWS CLI v2

This bundle contains a built executable of the AWS CLI v2.

## Installation

To install the AWS CLI v2, run the `install` script:
```
$ sudo ./install
You can now run: /usr/local/bin/aws --version
```
This will install the AWS CLI v2 at `/usr/local/bin/aws`. Assuming
`/usr/local/bin` is on your `PATH`, you can now run:
```
$ aws --version
```


### Installing without sudo

If you don't have ``sudo`` permissions or want to install the AWS
CLI v2 only for the current user, run the `install` script with the `-b`
and `-i` options:
```
$ ./install -i ~/.local/aws-cli -b ~/.local/bin
```
This will install the AWS CLI v2 in `~/.local/aws-cli` and create
symlinks for `aws` and `aws_completer` in `~/.local/bin`. For more
information about these options, run the `install` script with `-h`:
```
$ ./install -h
```

### Updating

If you run the `install` script and there is a previously installed version
of the AWS CLI v2, the script will error out. To update to the version included
in this bundle, run the `install` script with `--update`:
```
$ sudo ./install --update
```


### Removing the installation

To remove the AWS CLI v2, delete the its installation and symlinks:
```
$ sudo rm -rf /usr/local/aws-cli
$ sudo rm /usr/local/bin/aws
$ sudo rm /usr/local/bin/aws_completer
```
Note if you installed the AWS CLI v2 using the `-b` or `-i` options, you will
need to remove the installation and the symlinks in the directories you
specified.
Loading