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 {
|
||||
|
||||
stage('Envs Project') {
|
||||
steps {
|
||||
sh '''
|
||||
sed -i "s|CLOUDSDK_CORE_PROJECT|${CLOUDSDK_CORE_PROJECT}|g" **.yml
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Clonar Repositorio') {
|
||||
steps {
|
||||
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') {
|
||||
steps {
|
||||
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') {
|
||||
steps {
|
||||
withCredentials([file(credentialsId: 'gcloud-creds', variable: 'GCLOUD_CREDS')]) {
|
||||
|
@ -69,8 +77,6 @@ pipeline {
|
|||
steps {
|
||||
sh '''
|
||||
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
|
||||
metadata:
|
||||
name: cbii-apigateway-jenkins
|
||||
namespace: siman-448015
|
||||
namespace: CLOUDSDK_CORE_PROJECT
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: cbii-firmador-jenkins
|
||||
namespace: siman-448015
|
||||
namespace: CLOUDSDK_CORE_PROJECT
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: cbii-nest-jenkins
|
||||
namespace: siman-448015
|
||||
namespace: CLOUDSDK_CORE_PROJECT
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: cbii-lotes-jenkins
|
||||
namespace: siman-448015
|
||||
namespace: CLOUDSDK_CORE_PROJECT
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: serving.knative.dev/v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: cbii-jenkins
|
||||
namespace: siman-448015
|
||||
namespace: CLOUDSDK_CORE_PROJECT
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
|
Loading…
Reference in New Issue
Block a user