Update catch variable name project
This commit is contained in:
parent
1bedb17b7a
commit
9ed3601142
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pub/
|
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -8,6 +8,14 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
|
stage('Envs Project') {
|
||||||
|
steps {
|
||||||
|
sh '''
|
||||||
|
sed -i "s|CLOUDSDK_CORE_PROJECT|${CLOUDSDK_CORE_PROJECT}|g" **.yml
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Clonar Repositorio') {
|
stage('Clonar Repositorio') {
|
||||||
steps {
|
steps {
|
||||||
git credentialsId: 'token_gitea',
|
git credentialsId: 'token_gitea',
|
||||||
|
|
|
@ -18,6 +18,14 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Envs Project') {
|
||||||
|
steps {
|
||||||
|
sh '''
|
||||||
|
sed -i "s|CLOUDSDK_CORE_PROJECT|${CLOUDSDK_CORE_PROJECT}|g" **.yml
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Authenticate') {
|
stage('Authenticate') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([file(credentialsId: 'gcloud-creds', variable: 'GCLOUD_CREDS')]) {
|
withCredentials([file(credentialsId: 'gcloud-creds', variable: 'GCLOUD_CREDS')]) {
|
||||||
|
|
|
@ -17,6 +17,14 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Envs Project') {
|
||||||
|
steps {
|
||||||
|
sh '''
|
||||||
|
sed -i "s|CLOUDSDK_CORE_PROJECT|${CLOUDSDK_CORE_PROJECT}|g" **.yml
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Authenticate') {
|
stage('Authenticate') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([file(credentialsId: 'gcloud-creds', variable: 'GCLOUD_CREDS')]) {
|
withCredentials([file(credentialsId: 'gcloud-creds', variable: 'GCLOUD_CREDS')]) {
|
||||||
|
@ -69,8 +77,6 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
sed -i "s|SERVICE_NEST_URL|${CLOUD_RUN_NEST}|g" **.yml
|
sed -i "s|SERVICE_NEST_URL|${CLOUD_RUN_NEST}|g" **.yml
|
||||||
sed -i "s|SERVICE_LOTES_URL|${CLOUD_RUN_LOTES}|g" **.yml
|
|
||||||
cat service-api-gateway.yml
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: cbii-apigateway-jenkins
|
name: cbii-apigateway-jenkins
|
||||||
namespace: siman-448015
|
namespace: CLOUDSDK_CORE_PROJECT
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: cbii-firmador-jenkins
|
name: cbii-firmador-jenkins
|
||||||
namespace: siman-448015
|
namespace: CLOUDSDK_CORE_PROJECT
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: cbii-nest-jenkins
|
name: cbii-nest-jenkins
|
||||||
namespace: siman-448015
|
namespace: CLOUDSDK_CORE_PROJECT
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: cbii-lotes-jenkins
|
name: cbii-lotes-jenkins
|
||||||
namespace: siman-448015
|
namespace: CLOUDSDK_CORE_PROJECT
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: cbii-jenkins
|
name: cbii-jenkins
|
||||||
namespace: siman-448015
|
namespace: CLOUDSDK_CORE_PROJECT
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user