From 5ed2d1b402c23294dc93aa21381ae76a3506cdbe Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 27 Feb 2023 12:01:01 -0600 Subject: [PATCH 01/75] Delete azure-pipelines.yml --- azure-pipelines.yml | 53 --------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 60e5c79..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,53 +0,0 @@ -# Docker -# Build a Docker image -# https://docs.microsoft.com/azure/devops/pipelines/languages/docker - -resources: -- repo: self - -stages: -- stage: Build - displayName: Build image - jobs: - - job: Build - displayName: Build - pool: - vmImage: ubuntu-latest - variables: - tags: $(Build.BuildId) - - steps: - - - task: Docker@2 - displayName: Build an image - inputs: - command: build - dockerfile: '$(Build.SourcesDirectory)/Dockerfile' - buildContext: '$(System.DefaultWorkingDirectory)' - repository: '$(AWS_ECR_REPOSITORY_URI)' - tags: | - $(Build.BuildId) - - - - - task: CopyFiles@2 - inputs: - Contents: 'eks-deploy-from-ecr.yaml' - TargetFolder: '$(build.artifactstagingdirectory)' - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' - - - task: ECRPushImage@1 - inputs: - awsCredentials: '$(AWS_CREDENTIALS)' - regionName: '$(AWS_REGION)' - imageSource: 'imagename' - sourceImageName: '$(AWS_ECR_REPOSITORY_URI)' - sourceImageTag: '$(Build.BuildId)' - repositoryName: '$(AWS_ECR_REPOSITORY_NAME)' - pushTag: '$(Build.BuildId)' - - From 7f5ebc4680da03ceaa391e3fa737d27b8aa90e36 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 27 Feb 2023 12:04:50 -0600 Subject: [PATCH 02/75] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..8ef9ebf --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,30 @@ +# Docker +# Build a Docker image +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- master + +resources: +- repo: self + +variables: + tag: '$(Build.BuildId)' + +stages: +- stage: Build + displayName: Build image + jobs: + - job: Build + displayName: Build + pool: + vmImage: ubuntu-latest + steps: + - task: Docker@2 + displayName: Build an image + inputs: + command: build + dockerfile: '$(Build.SourcesDirectory)/Dockerfile' + repository: $(imageName) + tags: | + $(tag) From fa2b62a0f688b8d5d72e5c74268be354f8499c35 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 27 Feb 2023 12:12:22 -0600 Subject: [PATCH 03/75] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8ef9ebf..3d069d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,3 +28,11 @@ stages: repository: $(imageName) tags: | $(tag) + - task: ECRPushImage@1 + inputs: + awsCredentials: 'iam_user_ecr_aws' + regionName: 'us-east-1' + imageSource: 'imageid' + sourceImageId: '$(imageName):$(tag)' + repositoryName: '$(repoName)' + forceDockerNamingConventions: true \ No newline at end of file From 009c06ca1cd08a4721fb07b07bd2fa082fd15fa1 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 27 Feb 2023 12:18:02 -0600 Subject: [PATCH 04/75] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3d069d4..fa1c288 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -35,4 +35,5 @@ stages: imageSource: 'imageid' sourceImageId: '$(imageName):$(tag)' repositoryName: '$(repoName)' + pushTag: $(tag) forceDockerNamingConventions: true \ No newline at end of file From b1c05bdfe94595441504d7846a4da837fedf6e87 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 29 Apr 2023 18:37:14 -0500 Subject: [PATCH 05/75] Delete eks-deploy-from-ecr-nodeport.yaml --- eks-deploy-from-ecr-nodeport.yaml | 32 ------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 eks-deploy-from-ecr-nodeport.yaml diff --git a/eks-deploy-from-ecr-nodeport.yaml b/eks-deploy-from-ecr-nodeport.yaml deleted file mode 100644 index c86cc48..0000000 --- a/eks-deploy-from-ecr-nodeport.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: my-python-app-deployment -spec: - replicas: 3 - selector: - matchLabels: - app: python-app - template: - metadata: - labels: - app: python-app - spec: - containers: - - name: my-python-app - image: 211223789150.dkr.ecr.us-east-2.amazonaws.com/my-python-repo - imagePullPolicy: Always -# service type loadbalancer ---- -apiVersion: v1 -kind: Service -metadata: - name: python-app-svc -spec: - selector: - app: python-app - ports: - - protocol: TCP - port: 80 - targetPort: 8080 - type: ClusterIP From b79337a66355fda7a11e379a801eeea09eb2132a Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sun, 7 May 2023 22:25:46 -0500 Subject: [PATCH 06/75] Update eks-deploy-from-ecr.yaml --- eks-deploy-from-ecr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eks-deploy-from-ecr.yaml b/eks-deploy-from-ecr.yaml index 218b80d..7275b36 100644 --- a/eks-deploy-from-ecr.yaml +++ b/eks-deploy-from-ecr.yaml @@ -29,6 +29,6 @@ spec: app: python-app ports: - protocol: TCP - port: 5000 + port: 80 targetPort: 5000 type: LoadBalancer From dd770caa6ddc66586539d326f78c237be2c5c798 Mon Sep 17 00:00:00 2001 From: akannan1087 Date: Mon, 8 May 2023 03:38:40 +0000 Subject: [PATCH 07/75] added chart --- mychart/.helmignore | 23 ++++++ mychart/Chart.yaml | 24 ++++++ mychart/templates/NOTES.txt | 22 ++++++ mychart/templates/_helpers.tpl | 62 +++++++++++++++ mychart/templates/deployment.yaml | 61 +++++++++++++++ mychart/templates/hpa.yaml | 28 +++++++ mychart/templates/ingress.yaml | 61 +++++++++++++++ mychart/templates/service.yaml | 15 ++++ mychart/templates/serviceaccount.yaml | 12 +++ mychart/templates/tests/test-connection.yaml | 15 ++++ mychart/values.yaml | 82 ++++++++++++++++++++ 11 files changed, 405 insertions(+) create mode 100644 mychart/.helmignore create mode 100644 mychart/Chart.yaml create mode 100644 mychart/templates/NOTES.txt create mode 100644 mychart/templates/_helpers.tpl create mode 100644 mychart/templates/deployment.yaml create mode 100644 mychart/templates/hpa.yaml create mode 100644 mychart/templates/ingress.yaml create mode 100644 mychart/templates/service.yaml create mode 100644 mychart/templates/serviceaccount.yaml create mode 100644 mychart/templates/tests/test-connection.yaml create mode 100644 mychart/values.yaml diff --git a/mychart/.helmignore b/mychart/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/mychart/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/mychart/Chart.yaml b/mychart/Chart.yaml new file mode 100644 index 0000000..1000eb6 --- /dev/null +++ b/mychart/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: mychart +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/mychart/templates/NOTES.txt b/mychart/templates/NOTES.txt new file mode 100644 index 0000000..13a7e1b --- /dev/null +++ b/mychart/templates/NOTES.txt @@ -0,0 +1,22 @@ +1. Get the application URL by running these commands: +{{- if .Values.ingress.enabled }} +{{- range $host := .Values.ingress.hosts }} + {{- range .paths }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} + {{- end }} +{{- end }} +{{- else if contains "NodePort" .Values.service.type }} + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "mychart.fullname" . }}) + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + echo http://$NODE_IP:$NODE_PORT +{{- else if contains "LoadBalancer" .Values.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "mychart.fullname" . }}' + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "mychart.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") + echo http://$SERVICE_IP:{{ .Values.service.port }} +{{- else if contains "ClusterIP" .Values.service.type }} + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "mychart.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") + echo "Visit http://127.0.0.1:8080 to use your application" + kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT +{{- end }} diff --git a/mychart/templates/_helpers.tpl b/mychart/templates/_helpers.tpl new file mode 100644 index 0000000..ce8a516 --- /dev/null +++ b/mychart/templates/_helpers.tpl @@ -0,0 +1,62 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "mychart.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "mychart.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "mychart.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "mychart.labels" -}} +helm.sh/chart: {{ include "mychart.chart" . }} +{{ include "mychart.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "mychart.selectorLabels" -}} +app.kubernetes.io/name: {{ include "mychart.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "mychart.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "mychart.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} diff --git a/mychart/templates/deployment.yaml b/mychart/templates/deployment.yaml new file mode 100644 index 0000000..6c13bc6 --- /dev/null +++ b/mychart/templates/deployment.yaml @@ -0,0 +1,61 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "mychart.fullname" . }} + labels: + {{- include "mychart.labels" . | nindent 4 }} +spec: + {{- if not .Values.autoscaling.enabled }} + replicas: {{ .Values.replicaCount }} + {{- end }} + selector: + matchLabels: + {{- include "mychart.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "mychart.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "mychart.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.service.port }} + protocol: TCP + livenessProbe: + httpGet: + path: / + port: http + readinessProbe: + httpGet: + path: / + port: http + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/mychart/templates/hpa.yaml b/mychart/templates/hpa.yaml new file mode 100644 index 0000000..9749e95 --- /dev/null +++ b/mychart/templates/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "mychart.fullname" . }} + labels: + {{- include "mychart.labels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "mychart.fullname" . }} + minReplicas: {{ .Values.autoscaling.minReplicas }} + maxReplicas: {{ .Values.autoscaling.maxReplicas }} + metrics: + {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + {{- end }} + {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + {{- end }} +{{- end }} diff --git a/mychart/templates/ingress.yaml b/mychart/templates/ingress.yaml new file mode 100644 index 0000000..eb508b6 --- /dev/null +++ b/mychart/templates/ingress.yaml @@ -0,0 +1,61 @@ +{{- if .Values.ingress.enabled -}} +{{- $fullName := include "mychart.fullname" . -}} +{{- $svcPort := .Values.service.port -}} +{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} + {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} + {{- end }} +{{- end }} +{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $fullName }} + labels: + {{- include "mychart.labels" . | nindent 4 }} + {{- with .Values.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} + ingressClassName: {{ .Values.ingress.className }} + {{- end }} + {{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} + {{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + pathType: {{ .pathType }} + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $svcPort }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} diff --git a/mychart/templates/service.yaml b/mychart/templates/service.yaml new file mode 100644 index 0000000..bdceb88 --- /dev/null +++ b/mychart/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "mychart.fullname" . }} + labels: + {{- include "mychart.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + {{- include "mychart.selectorLabels" . | nindent 4 }} diff --git a/mychart/templates/serviceaccount.yaml b/mychart/templates/serviceaccount.yaml new file mode 100644 index 0000000..0a0dd82 --- /dev/null +++ b/mychart/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "mychart.serviceAccountName" . }} + labels: + {{- include "mychart.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/mychart/templates/tests/test-connection.yaml b/mychart/templates/tests/test-connection.yaml new file mode 100644 index 0000000..44cb16d --- /dev/null +++ b/mychart/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "mychart.fullname" . }}-test-connection" + labels: + {{- include "mychart.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "mychart.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never diff --git a/mychart/values.yaml b/mychart/values.yaml new file mode 100644 index 0000000..0a8a529 --- /dev/null +++ b/mychart/values.yaml @@ -0,0 +1,82 @@ +# Default values for mychart. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 1 + +image: + repository: 211223789150.dkr.ecr.us-east-1.amazonaws.com/my-docker-repo + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + +podAnnotations: {} + +podSecurityContext: {} + # fsGroup: 2000 + +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +service: + type: ClusterIP + port: 80 + +ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + +nodeSelector: {} + +tolerations: [] + +affinity: {} From efccfd747581eee5f48871217aaf191dd0eb3082 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Thu, 8 Jun 2023 19:18:16 -0500 Subject: [PATCH 08/75] creating 3 pods and image updated --- azure-aks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-aks.yaml b/azure-aks.yaml index f695edf..a78f0e1 100644 --- a/azure-aks.yaml +++ b/azure-aks.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: my-python-deployment spec: - replicas: 2 + replicas: 3 selector: matchLabels: app: my-python-app @@ -14,7 +14,7 @@ spec: spec: containers: - name: mypythondockerrepo - image: myacrrepo312.azurecr.io/akannan1087/mypythondockerrepo:#{Build.BuildId}# + image: myacrrepo421.azurecr.io/akannan1087/mypythondockerrepo:#{Build.BuildId}# ports: - containerPort: 5000 # service type loadbalancer From 7b0b6239a8df2fd2e7627743b761a843ec70efbe Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Thu, 8 Jun 2023 19:36:17 -0500 Subject: [PATCH 09/75] making code changes in github --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index c2f560b..c36e860 100644 --- a/templates/index.html +++ b/templates/index.html @@ -19,8 +19,8 @@
-

Welcome to Docker Container running inside EKS Cluster - Mar 30th, 2022!!

-

Deploying Containers into EKS cluster using Jenkins Pipeline !!!!!

+

Welcome to Docker Container running inside EKS Cluster - June8th, 2023!!

+

Deploying Containers into AKS cluster using Azure Devops Pipelines !!!!!


Learning containers is really fun and awesome!!!!!

From 34a4763986fdcfbc615c553776e451760c57c135 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Thu, 13 Jul 2023 13:44:40 -0500 Subject: [PATCH 10/75] Update eks-deploy-from-ecr.yaml --- eks-deploy-from-ecr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eks-deploy-from-ecr.yaml b/eks-deploy-from-ecr.yaml index 7275b36..f728ea0 100644 --- a/eks-deploy-from-ecr.yaml +++ b/eks-deploy-from-ecr.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: my-python-app - image: 211223789150.dkr.ecr.us-east-2.amazonaws.com/my-docker-repo + image: 211223789150.dkr.ecr.us-east-1.amazonaws.com/my-docker-repo imagePullPolicy: Always ports: - containerPort: 5000 From c825170289a5ff0b3a5d84772e93080af311c73b Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:45:41 -0500 Subject: [PATCH 11/75] Update index.html --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index c36e860..ca5261a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -19,7 +19,7 @@
-

Welcome to Docker Container running inside EKS Cluster - June8th, 2023!!

+

Welcome to Docker Container running inside EKS Cluster - July 26th, 2023!!

Deploying Containers into AKS cluster using Azure Devops Pipelines !!!!!


Learning containers is really fun and awesome!!!!!

From ab704cebba96b883dfd3f1624d954aee1a81b941 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sun, 20 Aug 2023 13:17:12 -0500 Subject: [PATCH 12/75] updated for my python ms --- eks-deploy-from-ecr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eks-deploy-from-ecr.yaml b/eks-deploy-from-ecr.yaml index f728ea0..5801eaa 100644 --- a/eks-deploy-from-ecr.yaml +++ b/eks-deploy-from-ecr.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: my-python-app-deployment spec: - replicas: 3 + replicas: 5 selector: matchLabels: app: python-app @@ -14,7 +14,7 @@ spec: spec: containers: - name: my-python-app - image: 211223789150.dkr.ecr.us-east-1.amazonaws.com/my-docker-repo + image: 211223789150.dkr.ecr.us-east-1.amazonaws.com/my-python-repo imagePullPolicy: Always ports: - containerPort: 5000 From e94f62e7738e8e1e7f599141bc733666d3e2b8d2 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:05:46 -0500 Subject: [PATCH 13/75] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fa1c288..164db3d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,17 +23,10 @@ stages: - task: Docker@2 displayName: Build an image inputs: + containerRegistry: 'Art_Docker' command: build dockerfile: '$(Build.SourcesDirectory)/Dockerfile' - repository: $(imageName) + repository: $(repoName) tags: | $(tag) - - task: ECRPushImage@1 - inputs: - awsCredentials: 'iam_user_ecr_aws' - regionName: 'us-east-1' - imageSource: 'imageid' - sourceImageId: '$(imageName):$(tag)' - repositoryName: '$(repoName)' - pushTag: $(tag) - forceDockerNamingConventions: true \ No newline at end of file + \ No newline at end of file From 9287c42dd7288a6e58e0d610ede3be2b3a59b878 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:08:18 -0500 Subject: [PATCH 14/75] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 164db3d..4230022 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -29,4 +29,10 @@ stages: repository: $(repoName) tags: | $(tag) + - task: ArtifactoryDocker@1 + inputs: + command: 'push' + artifactoryService: 'Art_SVC_conn' + targetRepo: 'example-repo-local' + imageName: '$(imageName)' \ No newline at end of file From 40a224a044956db5f626eb08c7334bd766f094c7 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:11:06 -0500 Subject: [PATCH 15/75] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4230022..4e18362 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,6 +33,6 @@ stages: inputs: command: 'push' artifactoryService: 'Art_SVC_conn' - targetRepo: 'example-repo-local' - imageName: '$(imageName)' + targetRepo: '$(repoName)' + imageName: '$(imageName):$(tag)' \ No newline at end of file From 5b3082b4956e7cebeef2b2b35edf5474c4e0fffd Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:51:09 -0600 Subject: [PATCH 16/75] Create github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/github-actions-demo.yml diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 0000000..04ad2ef --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,20 @@ +name: Om GitHub Actions Demo +on: + push: + branches: ["main"] + +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." From 97c52c05f6ae2d837732ffc917fb31fdb99fcd90 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:52:50 -0600 Subject: [PATCH 17/75] Update github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index 04ad2ef..7d304f4 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -1,7 +1,7 @@ name: Om GitHub Actions Demo on: push: - branches: ["main"] + branches: ["master"] jobs: Explore-GitHub-Actions: From 9c0ad2cf1469fca914942d8c2769f77bb847f08b Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:56:57 -0600 Subject: [PATCH 18/75] Create docker-image.yml --- .github/workflows/docker-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..eac633f --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) From eb7c294cf7346840f70000180db07bdcfe140bfa Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:55:42 -0600 Subject: [PATCH 19/75] Update docker-image.yml --- .github/workflows/docker-image.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index eac633f..0f3ec9d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,5 +14,15 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) + - name: Build Docker image + run: | + docker build -t my-docker-repo . + docker tag my-docker-repo:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest + - name: Login to Amazon ECR + run: | + aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} + aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws configure set default.region ${{ secrets.AWS_REGION }} + aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com + - name: Push Docker image to ECR + run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest From d5182652a2ac9251e7136e2c6fbc04992b51d34d Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:59:25 -0600 Subject: [PATCH 20/75] Update github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index 7d304f4..8b13789 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -1,20 +1 @@ -name: Om GitHub Actions Demo -on: - push: - branches: ["master"] -jobs: - Explore-GitHub-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." From 8ec3526b511f89a1fa5a2a54f4a7b40b672cf37f Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:00:10 -0600 Subject: [PATCH 21/75] Delete .github/workflows directory --- .github/workflows/docker-image.yml | 28 ----------------------- .github/workflows/github-actions-demo.yml | 1 - 2 files changed, 29 deletions(-) delete mode 100644 .github/workflows/docker-image.yml delete mode 100644 .github/workflows/github-actions-demo.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml deleted file mode 100644 index 0f3ec9d..0000000 --- a/.github/workflows/docker-image.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Docker Image CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Build Docker image - run: | - docker build -t my-docker-repo . - docker tag my-docker-repo:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest - - name: Login to Amazon ECR - run: | - aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} - aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws configure set default.region ${{ secrets.AWS_REGION }} - aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com - - name: Push Docker image to ECR - run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml deleted file mode 100644 index 8b13789..0000000 --- a/.github/workflows/github-actions-demo.yml +++ /dev/null @@ -1 +0,0 @@ - From 8a58b088b78f9dc04acd42ad1007d6f7e8fb901c Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:00:49 -0600 Subject: [PATCH 22/75] Create cicd.yaml --- .workflow/cicd.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .workflow/cicd.yaml diff --git a/.workflow/cicd.yaml b/.workflow/cicd.yaml new file mode 100644 index 0000000..a9801e0 --- /dev/null +++ b/.workflow/cicd.yaml @@ -0,0 +1,26 @@ +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build Docker image + run: | + docker build -t my-docker-repo . + docker tag my-docker-repo:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest + - name: Login to Amazon ECR + run: | + aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} + aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws configure set default.region ${{ secrets.AWS_REGION }} + aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com + - name: Push Docker image to ECR + run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest From c5827ae51ccf7835745bce34d05fefa4f0f63cac Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:02:21 -0600 Subject: [PATCH 23/75] Create cicd.yaml --- .github/workflows/cicd.yaml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/cicd.yaml diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml new file mode 100644 index 0000000..96fc038 --- /dev/null +++ b/.github/workflows/cicd.yaml @@ -0,0 +1 @@ +.workflow From 676bf716202c1905d4fc22ddaa1a2dee874863ff Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:02:49 -0600 Subject: [PATCH 24/75] Update cicd.yaml --- .github/workflows/cicd.yaml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 96fc038..a9801e0 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -1 +1,26 @@ -.workflow +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build Docker image + run: | + docker build -t my-docker-repo . + docker tag my-docker-repo:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest + - name: Login to Amazon ECR + run: | + aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} + aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws configure set default.region ${{ secrets.AWS_REGION }} + aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com + - name: Push Docker image to ECR + run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest From c8a72747f75593aabc6d3e8e58696ca7bfa6e740 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:58:58 -0600 Subject: [PATCH 25/75] Update cicd.yaml --- .github/workflows/cicd.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index a9801e0..055d586 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -3,9 +3,6 @@ name: Docker Image CI on: push: branches: [ "master" ] - pull_request: - branches: [ "master" ] - jobs: build: runs-on: ubuntu-latest From 0ff1a170a1896f873bb4a49c52c175567e659cc1 Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:38:40 -0600 Subject: [PATCH 26/75] Update cicd.yaml --- .github/workflows/cicd.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 055d586..7e559e8 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -21,3 +21,5 @@ jobs: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com - name: Push Docker image to ECR run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest + container: + image: my-docker-repo:latest From 256c33419dcba70ca21caab521731c9a00b5cf8e Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:40:32 -0600 Subject: [PATCH 27/75] Update cicd.yaml --- .github/workflows/cicd.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 7e559e8..055d586 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -21,5 +21,3 @@ jobs: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com - name: Push Docker image to ECR run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/my-docker-repo:latest - container: - image: my-docker-repo:latest From abcbc6d8d699a899289fbb1d1c510e445137636f Mon Sep 17 00:00:00 2001 From: akannan1087 <15877864+akannan1087@users.noreply.github.com> Date: Sun, 11 Feb 2024 12:45:40 -0600 Subject: [PATCH 28/75] making some code changes --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index ca5261a..f69f53d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@