From 80739ed060ac5030ae66bb0f825a82e5759a1730 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 01:42:01 -0500
Subject: [PATCH 01/80] Create jenkinsfilek8s
---
jenkinsfilek8s | 1 +
1 file changed, 1 insertion(+)
create mode 100644 jenkinsfilek8s
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/jenkinsfilek8s
@@ -0,0 +1 @@
+
From fc8084d9f806554ec78c3de6287cb52a942bf156 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 01:47:13 -0500
Subject: [PATCH 02/80] Update pom.xml
---
pom.xml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 52194fa..6bb56bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,6 +18,16 @@
2.1.5.RELEASE
Greenwich.RELEASE
6.1
+ 1.8
+ 5.1.2.RELEASE
+ 4.11
+ 1.2.17
+ http:18.222.205.21:7000/
+ admin
+ admin123
+ UTF-8
+ UTF-8
+
@@ -91,4 +101,4 @@
-
\ No newline at end of file
+
From 17da58eef8107276c6b722f11c76663e85682a27 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 01:49:22 -0500
Subject: [PATCH 03/80] Update pom.xml
---
pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/pom.xml b/pom.xml
index 6bb56bf..c9a6d7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,5 +100,19 @@
spring-boot-maven-plugin
+
+
+ nexus
+ Landmark Technologies Releases Nexus Repository
+ http://172.31.80.45:8081/repository/boa-release/
+
+
+
+ nexus
+ Landmark Technologies Snapshot Nexus Repository
+ http://172.31.80.45:8081/repository/maven-snapshots/
+
+
+
From 51536e985c5693d7456f039b158717d447e6cfcc Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:03:29 -0500
Subject: [PATCH 04/80] Update pom.xml
---
pom.xml | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index c9a6d7b..f0aef6c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,12 +22,11 @@
5.1.2.RELEASE
4.11
1.2.17
- http:18.222.205.21:7000/
- admin
- admin123
+ localhost:5000/
+ kalifat
+ kalifat
UTF-8
UTF-8
-
@@ -100,17 +99,17 @@
spring-boot-maven-plugin
-
+
nexus
Landmark Technologies Releases Nexus Repository
- http://172.31.80.45:8081/repository/boa-release/
+ http://localhost:8081/repository/docker_release/
nexus
Landmark Technologies Snapshot Nexus Repository
- http://172.31.80.45:8081/repository/maven-snapshots/
+ http://localhost:8081/repository/docker_snapshot
From 30c55c5e2a46f923e4239fd859c0669a38c88892 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:24:35 -0500
Subject: [PATCH 05/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 8b13789..de81f94 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -1 +1,54 @@
+pipeline{
+ agent any
+ tools{
+ maven "maven 3.8.4"
+ }
+stages{
+stage('SCM Checkout'){
+ steps{
+ git 'https://github.com/Kidunnu/spring-boot-docker.git'
+}
+}
+stage('maven-Build'){
+steps{
+ sh "mvn clean package"
+ }
+}
+stage('code quality'){
+steps{
+ sh "mvn sonar:sonar"
+ }
+}
+stage('upload artifact'){
+steps{
+ sh "mvn deploy"
+ }
+}
+stage('approval'){
+steps{
+timeout (time:5, unit:'HOURS'){
+input message: "please verify and approve"
+}
+}
+}
+stage('Build Docker Image'){
+steps{
+sh "docker build -t kidunnu/spring-boot-mongo ."
+ }
+}
+stage('Push Docker Image'){
+steps{
+ withCredentials([string(credentialsId: 'mydockercred', variable: 'mydockercred')]) {
+ sh "docker login -u kidunnu -p ${mydockercred}"
+}
+ sh "docker push kidunnu/spring-boot-mongo"
+}
+}
+stage('Deploy To Kuberates Cluster'){
+steps{
+ sh "kubectl apply -f springapp.yml"
+ }
+ }
+}
+}
From 0a804e833a8211bb4bb17d8f19bf1d0e0c838580 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:29:37 -0500
Subject: [PATCH 06/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index de81f94..97b8926 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -45,6 +45,14 @@ steps{
sh "docker push kidunnu/spring-boot-mongo"
}
}
+stage("Deploy To Kuberates Cluster"){
+ kubernetesDeploy(
+ configs: 'springBootMongo.yml',
+ kubeconfigId: 'KUBERNATES_CONFIG',
+ enableConfigSubstitution: true
+ )
+ }
+
stage('Deploy To Kuberates Cluster'){
steps{
sh "kubectl apply -f springapp.yml"
From 4090c19f3c1194e215716c7d0345def4c3a7a390 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:50:32 -0500
Subject: [PATCH 07/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 97b8926..d45a9ad 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -46,17 +46,12 @@ steps{
}
}
stage("Deploy To Kuberates Cluster"){
- kubernetesDeploy(
+step{
+ kubernetesDeploy(
configs: 'springBootMongo.yml',
kubeconfigId: 'KUBERNATES_CONFIG',
enableConfigSubstitution: true
)
}
-
-stage('Deploy To Kuberates Cluster'){
-steps{
- sh "kubectl apply -f springapp.yml"
- }
- }
}
}
From 29e1290076df9b4660fc61b1ee05e8730e7d2976 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:51:29 -0500
Subject: [PATCH 08/80] Update jenkinsfilek8s
From a5917128204492c6e4b7351580b35cfee6e86f04 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:52:14 -0500
Subject: [PATCH 09/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 1 +
1 file changed, 1 insertion(+)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index d45a9ad..1816fcd 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -55,3 +55,4 @@ step{
}
}
}
+}
From 37c2b10d1ae9a07d2343fcb8d6d813c7ea223907 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:53:13 -0500
Subject: [PATCH 10/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 1816fcd..87d4061 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -46,7 +46,7 @@ steps{
}
}
stage("Deploy To Kuberates Cluster"){
-step{
+steps{
kubernetesDeploy(
configs: 'springBootMongo.yml',
kubeconfigId: 'KUBERNATES_CONFIG',
From 6cc62cabac4f046babc4f02a24a4e88186be9527 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 02:57:40 -0500
Subject: [PATCH 11/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 87d4061..85e3c8b 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -2,7 +2,7 @@
pipeline{
agent any
tools{
- maven "maven 3.8.4"
+ maven "maven 3.6.3"
}
stages{
stage('SCM Checkout'){
From c082dceec2d0a4a2c701627a8c20755c41de65c8 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:03:01 -0500
Subject: [PATCH 12/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 85e3c8b..f3ed312 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -2,7 +2,7 @@
pipeline{
agent any
tools{
- maven "maven 3.6.3"
+ maven "maven_3.8.4"
}
stages{
stage('SCM Checkout'){
From 446c7013e5af42e4427cba50fda142166b24ed6a Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:05:41 -0500
Subject: [PATCH 13/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index f3ed312..85e3c8b 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -2,7 +2,7 @@
pipeline{
agent any
tools{
- maven "maven_3.8.4"
+ maven "maven 3.6.3"
}
stages{
stage('SCM Checkout'){
From c50367fab7b8a33503ec75d61e523fdf226e1892 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:21:12 -0500
Subject: [PATCH 14/80] Update pom.xml
---
pom.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index f0aef6c..98dd012 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,10 +14,6 @@
spring-boot-mongo
1.0
- 1.8
- 2.1.5.RELEASE
- Greenwich.RELEASE
- 6.1
1.8
5.1.2.RELEASE
4.11
From f99085044f9b1504d7f5ebe4be991ca229e7d1ee Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:25:30 -0500
Subject: [PATCH 15/80] Update pom.xml
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index 98dd012..f0aef6c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,6 +14,10 @@
spring-boot-mongo
1.0
+ 1.8
+ 2.1.5.RELEASE
+ Greenwich.RELEASE
+ 6.1
1.8
5.1.2.RELEASE
4.11
From 4abf21a340704504771a6221d012c87871cca0d6 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:32:45 -0500
Subject: [PATCH 16/80] Update pom.xml
---
pom.xml | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/pom.xml b/pom.xml
index f0aef6c..787e71f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,14 +91,7 @@
spring-boot-starter-test
test
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
-
+
nexus
@@ -111,7 +104,15 @@
Landmark Technologies Snapshot Nexus Repository
http://localhost:8081/repository/docker_snapshot
-
-
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
From 94fde3f9bf70fa09bcfa2fad089f82f1ca619990 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:37:24 -0500
Subject: [PATCH 17/80] Update pom.xml
---
pom.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 787e71f..c7c9e5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,7 @@
spring-boot-starter-test
test
+
@@ -104,8 +105,9 @@
Landmark Technologies Snapshot Nexus Repository
http://localhost:8081/repository/docker_snapshot
-
-
+
+
+
From 095ddef0756a0ea67463261d3b51dba405420077 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:42:41 -0500
Subject: [PATCH 18/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c7c9e5a..79c6585 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- localhost:5000/
+ http://localhost:5000/
kalifat
kalifat
UTF-8
From eced9d7d6e4be3b6bd1b701e2f584ddee95a4ef0 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 03:45:15 -0500
Subject: [PATCH 19/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 79c6585..8bf5443 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
4.11
1.2.17
http://localhost:5000/
- kalifat
+ admin
kalifat
UTF-8
UTF-8
From e30f5f4175f68d81d38b86a86287cd19d79d02b5 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 04:13:00 -0500
Subject: [PATCH 20/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 85e3c8b..3e74f53 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -39,7 +39,7 @@ sh "docker build -t kidunnu/spring-boot-mongo ."
}
stage('Push Docker Image'){
steps{
- withCredentials([string(credentialsId: 'mydockercred', variable: 'mydockercred')]) {
+ withCredentials([string(credentialsId: 'docker', variable: 'mydockercred')]) {
sh "docker login -u kidunnu -p ${mydockercred}"
}
sh "docker push kidunnu/spring-boot-mongo"
From b0e0dae31ed68ecc81d2577e3b7e2b9a8eb765ed Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 04:19:32 -0500
Subject: [PATCH 21/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 3e74f53..7fb33c8 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -39,7 +39,7 @@ sh "docker build -t kidunnu/spring-boot-mongo ."
}
stage('Push Docker Image'){
steps{
- withCredentials([string(credentialsId: 'docker', variable: 'mydockercred')]) {
+ withCredentials([string(credentialsId: 'dockercredential', variable: 'dockercredential')]) {
sh "docker login -u kidunnu -p ${mydockercred}"
}
sh "docker push kidunnu/spring-boot-mongo"
From ddf2fb4a010494a8ee976110e311a8b7f4a2f59f Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 22 Feb 2022 04:37:36 -0500
Subject: [PATCH 22/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 7fb33c8..8ca9c60 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -39,8 +39,8 @@ sh "docker build -t kidunnu/spring-boot-mongo ."
}
stage('Push Docker Image'){
steps{
- withCredentials([string(credentialsId: 'dockercredential', variable: 'dockercredential')]) {
- sh "docker login -u kidunnu -p ${mydockercred}"
+ withCredentials([string(credentialsId: 'DockerHubCredential', variable: 'DockerHubCredential')]) {
+ sh "docker login -u kidunnu -p ${DockerHubCredential}"
}
sh "docker push kidunnu/spring-boot-mongo"
}
From faa4504a4a5edbc41368cd94851856fd3cf6e171 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 02:20:04 -0500
Subject: [PATCH 23/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 8ca9c60..76e4654 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,11 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- kubernetesDeploy(
- configs: 'springBootMongo.yml',
- kubeconfigId: 'KUBERNATES_CONFIG',
- enableConfigSubstitution: true
- )
+ sh 'kubectl apply -f springBootMongo.yml'
}
}
}
From 9de4b17e325fc7807e1f2e550d455ca6fa0ab9ed Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 02:23:51 -0500
Subject: [PATCH 24/80] Update springapp.yml
---
springapp.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/springapp.yml b/springapp.yml
index 0c7f627..3411a55 100644
--- a/springapp.yml
+++ b/springapp.yml
@@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: springappcontainer
- image: mylandmarktech/spring-boot-mongo
+ image: kidunnu/spring-boot-mongo
ports:
- containerPort: 8080
env:
From 366b9eee59cb3b6a138fc013ef60622a8a7eff3d Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 03:34:58 -0500
Subject: [PATCH 25/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 76e4654..6621136 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -46,8 +46,10 @@ steps{
}
}
stage("Deploy To Kuberates Cluster"){
-steps{
- sh 'kubectl apply -f springBootMongo.yml'
+steps {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
+ kubectl apply -f deployment.yaml
+ }
}
}
}
From f1fe239596380490753f0beba2f216dae8d79a2c Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 03:36:07 -0500
Subject: [PATCH 26/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 6621136..72d5e72 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -48,7 +48,7 @@ steps{
stage("Deploy To Kuberates Cluster"){
steps {
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
- kubectl apply -f deployment.yaml
+ kubectl apply -f springapp.yaml
}
}
}
From 1ef6c4a3ad2b1e942dc26eeca0ff8c72baf37484 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 03:37:58 -0500
Subject: [PATCH 27/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 72d5e72..b32e86d 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -46,7 +46,7 @@ steps{
}
}
stage("Deploy To Kuberates Cluster"){
-steps {
+steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
kubectl apply -f springapp.yaml
}
From e32eb6b08222b74f0bceba730ad8ff156aaf5e43 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 03:40:01 -0500
Subject: [PATCH 28/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index b32e86d..9298da0 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -48,7 +48,9 @@ steps{
stage("Deploy To Kuberates Cluster"){
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
- kubectl apply -f springapp.yaml
+ }
+steps{
+ kubectl apply -f springapp.yaml
}
}
}
From 8f2ce9779a72fc73fbea23b87c2782ed799fa975 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 03:42:15 -0500
Subject: [PATCH 29/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 9298da0..191914d 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -48,9 +48,7 @@ steps{
stage("Deploy To Kuberates Cluster"){
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
- }
-steps{
- kubectl apply -f springapp.yaml
+ sh "kubectl apply -f springapp.yaml"
}
}
}
From f85c8b21cefb63f350a85d89b791042e5f68d8da Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 03:46:22 -0500
Subject: [PATCH 30/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 191914d..fa965eb 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -48,7 +48,7 @@ steps{
stage("Deploy To Kuberates Cluster"){
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
- sh "kubectl apply -f springapp.yaml"
+ sh "kubectl apply -f springBootMongo.yml"
}
}
}
From b660c15a72e1e0d5d3d3da72062f49adb99710a0 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 04:01:16 -0500
Subject: [PATCH 31/80] Update springBootMongo.yml
---
springBootMongo.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/springBootMongo.yml b/springBootMongo.yml
index acadb81..5f8d25f 100644
--- a/springBootMongo.yml
+++ b/springBootMongo.yml
@@ -24,7 +24,7 @@ spec:
app: springboot
spec:
containers:
- - image: mylandmarktech/springapp
+ - image: kidunnu/spring-boot-mongo
name: springboot
ports:
- containerPort: 8080
From 6061060dfcffdc3564a701709354c91164b1e6f0 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Wed, 23 Feb 2022 04:07:35 -0500
Subject: [PATCH 32/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index fa965eb..56b5b8c 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -48,7 +48,7 @@ steps{
stage("Deploy To Kuberates Cluster"){
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
- sh "kubectl apply -f springBootMongo.yml"
+ sh "kubectl apply -f springapp.yml"
}
}
}
From a7a8a7dcfa70fe7f2713d110fc3c714f61a85892 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 05:13:14 -0500
Subject: [PATCH 33/80] Update pom.xml
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 8bf5443..5a492a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,13 +97,13 @@
nexus
Landmark Technologies Releases Nexus Repository
- http://localhost:8081/repository/docker_release/
+ http://3.140.185.104:8081/repository/docker_release
nexus
Landmark Technologies Snapshot Nexus Repository
- http://localhost:8081/repository/docker_snapshot
+ http://3.140.185.104:8081/repository/docker_snapshot/
From 715a5d6f6c6016b98346fee37d6c18e6a6733e9b Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 05:30:34 -0500
Subject: [PATCH 34/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 56b5b8c..84788fd 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,8 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'local', contextName: '', credentialsId: 'k8scredential', namespace: '', serverUrl: 'https://127.0.0.1']]) {
- sh "kubectl apply -f springapp.yml"
+ sh "kubectl apply -f springapp.yml"
}
}
}
From 9d98082df584912fbc4654fde08a157f88ea9654 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 05:32:36 -0500
Subject: [PATCH 35/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 1 -
1 file changed, 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 84788fd..414513e 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -52,4 +52,3 @@ steps{
}
}
}
-}
From 560cf776d3909c7e19d9624edd59e99b3f8a8931 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 05:33:27 -0500
Subject: [PATCH 36/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 414513e..73e14a5 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -2,7 +2,7 @@
pipeline{
agent any
tools{
- maven "maven 3.6.3"
+ maven "maven 3.6.4"
}
stages{
stage('SCM Checkout'){
From 912341901c5e38b40699fe84e0c4f0e37b28cd75 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 05:34:10 -0500
Subject: [PATCH 37/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 73e14a5..7bf3ab1 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -2,7 +2,7 @@
pipeline{
agent any
tools{
- maven "maven 3.6.4"
+ maven "maven 3.8.4"
}
stages{
stage('SCM Checkout'){
From 900fab5b40ae97a86c588a9231bb3fa65831c8cb Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 07:11:43 -0500
Subject: [PATCH 38/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 7bf3ab1..43a95c3 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,8 +47,10 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'server: https://api-adigtech-k8s-loca88s.local']]) {
sh "kubectl apply -f springapp.yml"
}
}
}
}
+}
From fe378d76a4f9051536ffd3945fada71aac6e34f5 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 07:15:28 -0500
Subject: [PATCH 39/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 43a95c3..d59d01e 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'server: https://api-adigtech-k8s-loca88s.local']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 8b094c2b61fc1ff97b5053310a30d4aa2c4a2ddd Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 07:24:04 -0500
Subject: [PATCH 40/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index d59d01e..51c3918 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://127.0.0.1']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 350559c1856d63f1c89de977746bad51ae895e9d Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 07:47:32 -0500
Subject: [PATCH 41/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 51c3918..50f09c9 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://127.0.0.1']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://172.20.52.55']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 3b37f4b1f8836dc9fe89ea93b6ffdeee1564f1bd Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 07:50:15 -0500
Subject: [PATCH 42/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 50f09c9..72f6b6a 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://172.20.52.55']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74']]) {
sh "kubectl apply -f springapp.yml"
}
}
From c6086eee2f45e2acfc3f94fdf2f7be1e841b322c Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 08:07:09 -0500
Subject: [PATCH 43/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 72f6b6a..85d3e03 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74:80']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 13f8b67a309d8361a2385d5fe06f468c4ca4436f Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 08:10:31 -0500
Subject: [PATCH 44/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 85d3e03..7a0f032 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74:80']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74:8080']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 93c141b1012adda24d07951cba4bc3a393023a97 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 08:16:07 -0500
Subject: [PATCH 45/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 7a0f032..198c907 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74:8080']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74:6443']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 9440e9f4d895ef3eb3145919d755cab11f599984 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 08:30:00 -0500
Subject: [PATCH 46/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 198c907..f709a16 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://3.145.38.74:6443']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://172.20.52.55:6443']]) {
sh "kubectl apply -f springapp.yml"
}
}
From f6c3bd4fc8c668fcd6da0663382211020aa3fbc3 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 08:38:24 -0500
Subject: [PATCH 47/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index f709a16..ed5db6a 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'kubecfg', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://172.20.52.55:6443']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://127.0.0.1']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 947f1b7f8eb77ce0fba654ba2429edf09f7c5273 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 27 Feb 2022 08:44:24 -0500
Subject: [PATCH 48/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index ed5db6a..d59d01e 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -47,7 +47,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://127.0.0.1']]) {
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
sh "kubectl apply -f springapp.yml"
}
}
From 40e56be5211a7dc06811eeebd46873e51231dd42 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:04:00 -0500
Subject: [PATCH 49/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index d59d01e..e411644 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -45,7 +45,7 @@ steps{
sh "docker push kidunnu/spring-boot-mongo"
}
}
-stage("Deploy To Kuberates Cluster"){
+/*stage("Deploy To Kuberates Cluster"){
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
sh "kubectl apply -f springapp.yml"
@@ -54,3 +54,4 @@ steps{
}
}
}
+*/
From 01cc28454408ec2f70bd1320474292d2b429c672 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:07:26 -0500
Subject: [PATCH 50/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index e411644..80a886b 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -49,9 +49,9 @@ steps{
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
sh "kubectl apply -f springapp.yml"
- }
- }
+ }/*
}
}
}
-*/
+}
+
From 102ac5a645a9904146f9c7df6c407694f5e1ec7e Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:11:11 -0500
Subject: [PATCH 51/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 80a886b..27e56c9 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -45,11 +45,11 @@ steps{
sh "docker push kidunnu/spring-boot-mongo"
}
}
-/*stage("Deploy To Kuberates Cluster"){
+stage("Deploy To Kuberates Cluster"){
steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
- sh "kubectl apply -f springapp.yml"
- }/*
+ //withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
+ //sh "kubectl apply -f springapp.yml"
+ }
}
}
}
From f5d4c0bb11f7222639cbd3d42959056645fb0f9c Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:39:36 -0500
Subject: [PATCH 52/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 1 -
1 file changed, 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 27e56c9..a3c1880 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -54,4 +54,3 @@ steps{
}
}
}
-
From c4d0377486ab7bfe434d96b0aef0402bf287670b Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:40:12 -0500
Subject: [PATCH 53/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 1 -
1 file changed, 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index a3c1880..1bd2f57 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -53,4 +53,3 @@ steps{
}
}
}
-}
From f5eb91c082c2597b0b67c880e3132f1be9d32d6d Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:41:41 -0500
Subject: [PATCH 54/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 1bd2f57..0d8c78c 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -45,11 +45,11 @@ steps{
sh "docker push kidunnu/spring-boot-mongo"
}
}
-stage("Deploy To Kuberates Cluster"){
+/*stage("Deploy To Kuberates Cluster"){
steps{
- //withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
- //sh "kubectl apply -f springapp.yml"
+ withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
+ sh "kubectl apply -f springapp.yml"
}
-}
+}*/
}
}
From 58f5d795f495974a09ec0c557e23f735a33cd98c Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 22:47:59 -0500
Subject: [PATCH 55/80] Update pom.xml
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5a492a7..e57c2c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,9 +22,9 @@
5.1.2.RELEASE
4.11
1.2.17
- http://localhost:5000/
+ http://54.175.166.158:9000/
admin
- kalifat
+ admin
UTF-8
UTF-8
@@ -97,13 +97,13 @@
nexus
Landmark Technologies Releases Nexus Repository
- http://3.140.185.104:8081/repository/docker_release
+ http://54.175.166.158:7079/repository/team_release
nexus
Landmark Technologies Snapshot Nexus Repository
- http://3.140.185.104:8081/repository/docker_snapshot/
+ http://54.175.166.158:7079/repository/team_snapshot
From 00798c773adbe4f900add9dcddc29d50dbfea78d Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:31:00 -0400
Subject: [PATCH 56/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 0d8c78c..14b1509 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -20,11 +20,11 @@ steps{
sh "mvn sonar:sonar"
}
}
-stage('upload artifact'){
+//stage('upload artifact'){
steps{
sh "mvn deploy"
}
-}
+}//
stage('approval'){
steps{
timeout (time:5, unit:'HOURS'){
From 691558851ee574049078eb2073424f9699148f50 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:32:42 -0400
Subject: [PATCH 57/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index e57c2c1..36ae521 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- http://54.175.166.158:9000/
+ http://18.209.18.184:9000/
admin
admin
UTF-8
From 03e9069aac366af25307bca00512b0ce6f11e879 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:40:04 -0400
Subject: [PATCH 58/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 14b1509..2c73e67 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -20,11 +20,11 @@ steps{
sh "mvn sonar:sonar"
}
}
-//stage('upload artifact'){
+*/stage('upload artifact'){
steps{
sh "mvn deploy"
}
-}//
+}/*
stage('approval'){
steps{
timeout (time:5, unit:'HOURS'){
@@ -45,11 +45,11 @@ steps{
sh "docker push kidunnu/spring-boot-mongo"
}
}
-/*stage("Deploy To Kuberates Cluster"){
+stage("Deploy To Kuberates Cluster"){
steps{
withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
sh "kubectl apply -f springapp.yml"
}
-}*/
+}
}
}
From 28dc6bb498dd14051ace0fbd02c8ed79da637576 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:41:32 -0400
Subject: [PATCH 59/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 2c73e67..7d948ab 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -20,11 +20,11 @@ steps{
sh "mvn sonar:sonar"
}
}
-*/stage('upload artifact'){
+//stage('upload artifact'){
steps{
sh "mvn deploy"
}
-}/*
+}//
stage('approval'){
steps{
timeout (time:5, unit:'HOURS'){
From f15025a0776bd7f6cda149aa745423d6c3a86211 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:42:44 -0400
Subject: [PATCH 60/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 7d948ab..f4f4842 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -20,11 +20,7 @@ steps{
sh "mvn sonar:sonar"
}
}
-//stage('upload artifact'){
-steps{
- sh "mvn deploy"
- }
-}//
+
stage('approval'){
steps{
timeout (time:5, unit:'HOURS'){
From faa6690263cf70068c7e1803efdf7bf5411402ce Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:44:10 -0400
Subject: [PATCH 61/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 1 +
1 file changed, 1 insertion(+)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index f4f4842..7bc6ce5 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -49,3 +49,4 @@ steps{
}
}
}
+}
From 3f877f44bc36540c24bfc33ee8e13d848a711ee6 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:48:45 -0400
Subject: [PATCH 62/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 7bc6ce5..ebbca90 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -2,7 +2,7 @@
pipeline{
agent any
tools{
- maven "maven 3.8.4"
+ maven "maven3.8.4"
}
stages{
stage('SCM Checkout'){
From 095671ca961e621e5458373fea91e78673614f2a Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 02:50:56 -0400
Subject: [PATCH 63/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 36ae521..0819bee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
1.2.17
http://18.209.18.184:9000/
admin
- admin
+ admin123
UTF-8
UTF-8
From 0564e56b927825f7dcd4f76be7c4f33708d68d54 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 03:29:31 -0400
Subject: [PATCH 64/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index ebbca90..645c5a5 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -42,8 +42,7 @@ steps{
}
}
stage("Deploy To Kuberates Cluster"){
-steps{
- withKubeCredentials(kubectlCredentials: [[caCertificate: '', clusterName: 'adigtech.k8s.local', contextName: '', credentialsId: 'testk8s', namespace: '', serverUrl: 'https://api-adigtech-k8s-local-vdisi1-888848260.us-east-2.elb.amazonaws.com']]) {
+steps{withKubeConfig(caCertificate: '', clusterName: '', contextName: '', credentialsId: 'k8s', namespace: '', serverUrl: '') {
sh "kubectl apply -f springapp.yml"
}
}
From 7010265160edd9f9534ae5f9d0976524e8c16c1e Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 03:53:51 -0400
Subject: [PATCH 65/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 645c5a5..3ba9730 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -42,7 +42,7 @@ steps{
}
}
stage("Deploy To Kuberates Cluster"){
-steps{withKubeConfig(caCertificate: '', clusterName: '', contextName: '', credentialsId: 'k8s', namespace: '', serverUrl: '') {
+steps{withKubeConfig(caCertificate: '', clusterName: '', contextName: '', credentialsId: 'k8ss', namespace: '', serverUrl: '') {
sh "kubectl apply -f springapp.yml"
}
}
From c83659784af87af8a2beb46f804dbe3e252f3a72 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Tue, 15 Mar 2022 03:58:34 -0400
Subject: [PATCH 66/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 3ba9730..352119a 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -43,7 +43,7 @@ steps{
}
stage("Deploy To Kuberates Cluster"){
steps{withKubeConfig(caCertificate: '', clusterName: '', contextName: '', credentialsId: 'k8ss', namespace: '', serverUrl: '') {
- sh "kubectl apply -f springapp.yml"
+ sh "kubectl apply -f springBootMongo.yml"
}
}
}
From ca7ad399254eab3b86b824a16d570b18b62d79fb Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 24 Apr 2022 12:10:52 -0400
Subject: [PATCH 67/80] Create mymaven.yml
---
.github/workflows/mymaven.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 .github/workflows/mymaven.yml
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
new file mode 100644
index 0000000..8e7f21e
--- /dev/null
+++ b/.github/workflows/mymaven.yml
@@ -0,0 +1,26 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: Java CI with Maven
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 11
+ uses: actions/setup-java@v3
+ with:
+ java-version: '11'
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B package --file pom.xml
From 953fcbb7e7572c6e4b184b1bc60e664cd2783aa7 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 24 Apr 2022 12:15:18 -0400
Subject: [PATCH 68/80] Update mymaven.yml
---
.github/workflows/mymaven.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
index 8e7f21e..b7283a8 100644
--- a/.github/workflows/mymaven.yml
+++ b/.github/workflows/mymaven.yml
@@ -24,3 +24,12 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
+
+ - name: Build & push Docker image
+ uses: mr-smithers-excellent/docker-build-push@v5
+ with:
+ image: repo/image
+ tags: v1, latest
+ registry: docker.io
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
From df74ab24b2a89555188245b68bb945916e8be392 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sun, 24 Apr 2022 12:17:30 -0400
Subject: [PATCH 69/80] Update mymaven.yml
---
.github/workflows/mymaven.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
index b7283a8..d0385b6 100644
--- a/.github/workflows/mymaven.yml
+++ b/.github/workflows/mymaven.yml
@@ -5,9 +5,9 @@ name: Java CI with Maven
on:
push:
- branches: [ master ]
+ branches: [ sandbox ]
pull_request:
- branches: [ master ]
+ branches: [ sandbox ]
jobs:
build:
@@ -28,7 +28,7 @@ jobs:
- name: Build & push Docker image
uses: mr-smithers-excellent/docker-build-push@v5
with:
- image: repo/image
+ image: kidunnu/springappmongo
tags: v1, latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
From 0d2740fbfeac3b9a5736f6bba3ea39f100f69e1e Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 12:37:28 -0400
Subject: [PATCH 70/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 0819bee..b14e409 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- http://18.209.18.184:9000/
+ http://localhost:8000/
admin
admin123
UTF-8
From b0e9f20f3a34cb2ff9efb48cdde031be2cc49df1 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:04:32 -0400
Subject: [PATCH 71/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b14e409..f696f3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- http://localhost:8000/
+ http://69.251.68.142:8000/
admin
admin123
UTF-8
From 8c308d7e9e5c2924d22a03a66c7693fad4f79d1d Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:08:18 -0400
Subject: [PATCH 72/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index f696f3a..b14e409 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- http://69.251.68.142:8000/
+ http://localhost:8000/
admin
admin123
UTF-8
From 39e97610d72c39a06a9688fe18e387722727b5d8 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:09:35 -0400
Subject: [PATCH 73/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b14e409..59cec30 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- http://localhost:8000/
+ localhost:8000/
admin
admin123
UTF-8
From 6275a12223d2e332cd07c9152ec0f63a115c51d6 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:10:00 -0400
Subject: [PATCH 74/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 59cec30..6989a44 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- localhost:8000/
+ localhost:8000
admin
admin123
UTF-8
From cdafb1bf2962a43e772e4f487f800a7b0c2c04ee Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:45:34 -0400
Subject: [PATCH 75/80] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 6989a44..7c5aa7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
5.1.2.RELEASE
4.11
1.2.17
- localhost:8000
+ http://localhost:8000
admin
admin123
UTF-8
From 2fee3ef3a4ff894b80c43e337fea827376955472 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:51:59 -0400
Subject: [PATCH 76/80] Update jenkinsfilek8s
---
jenkinsfilek8s | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jenkinsfilek8s b/jenkinsfilek8s
index 352119a..0fc862a 100644
--- a/jenkinsfilek8s
+++ b/jenkinsfilek8s
@@ -15,11 +15,11 @@ steps{
sh "mvn clean package"
}
}
-stage('code quality'){
+/*stage('code quality'){
steps{
sh "mvn sonar:sonar"
}
-}
+}*/
stage('approval'){
steps{
From 880d5f04ae2ace0410099fb0e88e46b7908afacb Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 13:55:19 -0400
Subject: [PATCH 77/80] Update mymaven.yml
---
.github/workflows/mymaven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
index d0385b6..d852721 100644
--- a/.github/workflows/mymaven.yml
+++ b/.github/workflows/mymaven.yml
@@ -28,7 +28,7 @@ jobs:
- name: Build & push Docker image
uses: mr-smithers-excellent/docker-build-push@v5
with:
- image: kidunnu/springappmongo
+ image: kidunnu/springappmongo4
tags: v1, latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
From bc5adce746fb8785c07f6a6c9b77d8f0454ee125 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 14:29:50 -0400
Subject: [PATCH 78/80] Update mymaven.yml
---
.github/workflows/mymaven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
index d852721..cb3ecf0 100644
--- a/.github/workflows/mymaven.yml
+++ b/.github/workflows/mymaven.yml
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-name: Java CI with Maven
+name: Java CI/dockerpush with Maven
on:
push:
From 8584dff5f56aad79ed8749460051990665fe5472 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 14:31:00 -0400
Subject: [PATCH 79/80] Update mymaven.yml
---
.github/workflows/mymaven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
index cb3ecf0..d852721 100644
--- a/.github/workflows/mymaven.yml
+++ b/.github/workflows/mymaven.yml
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-name: Java CI/dockerpush with Maven
+name: Java CI with Maven
on:
push:
From cc3d5728abf7dad14bd0d565b14f11fb1ec1f5e2 Mon Sep 17 00:00:00 2001
From: Kidunnu <78957600+Kidunnu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 17:14:40 -0400
Subject: [PATCH 80/80] Update mymaven.yml
---
.github/workflows/mymaven.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.github/workflows/mymaven.yml b/.github/workflows/mymaven.yml
index d852721..41ebb95 100644
--- a/.github/workflows/mymaven.yml
+++ b/.github/workflows/mymaven.yml
@@ -33,3 +33,11 @@ jobs:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
+
+ - name: send slack notification
+ uses: docker://technosophos/slack-notify
+ env:
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
+ SLACK_MESSAGE: Run succesfully
+
+