Skip to content

Commit 839e4d5

Browse files
committed
Inital commit.
1 parent fd1dd00 commit 839e4d5

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:stretch
2+
3+
COPY . /app
4+
WORKDIR /app
5+
6+
RUN pip install --upgrade pip
7+
RUN pip install -r requirements.txt
8+
9+
ENTRYPOINT ["gunicorn", "-b", ":8080", "main:APP"]

buildspec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ phases:
3535
- ls
3636
artifacts:
3737
files: build.json
38+
39+
env:
40+
parameter-store:
41+
JWT_SECRET: JWT_SECRET

ci-cd-codepipeline.cfn.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Parameters:
99
EksClusterName:
1010
Type: String
1111
Description: The name of the EKS cluster created
12-
Default:
12+
Default: simple-jwt-api
1313
MinLength: 1
1414
MaxLength: 100
1515
ConstraintDescription: You must enter the EKS cluster name
1616

1717
GitSourceRepo:
1818
Type: String
1919
Description: GitHub source repository - must contain a Dockerfile and buildspec.yml in the base
20-
Default:
20+
Default: FSND-Deploy-Flask-App-to-Kubernetes-Using-EKS
2121
MinLength: 1
2222
MaxLength: 100
2323
ConstraintDescription: You must enter a GitHub repository name
@@ -40,7 +40,7 @@ Parameters:
4040

4141
GitHubUser:
4242
Type: String
43-
Default:
43+
Default: cschan1828
4444
Description: GitHub username or organization
4545
MinLength: 3
4646
MaxLength: 100
@@ -56,7 +56,7 @@ Parameters:
5656

5757
KubectlRoleName:
5858
Type: String
59-
Default:
59+
Default: UdacityFlaskDeployCBKubectlRole
6060
Description: IAM role used by kubectl to interact with EKS cluster
6161
MinLength: 3
6262
MaxLength: 100

0 commit comments

Comments
 (0)