Update catch variable name project

This commit is contained in:
Duvan Rondon 2025-02-24 16:45:17 -05:00
parent 1bedb17b7a
commit 9ed3601142
9 changed files with 30 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
pub/

8
Jenkinsfile vendored
View File

@ -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',

View File

@ -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')]) {

View File

@ -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
'''
}
}

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: