Skip to content

Commit

Permalink
Merge pull request #475 from stakater-lab/update-placeholders
Browse files Browse the repository at this point in the history
update placeholders
  • Loading branch information
rasheedamir committed Oct 18, 2023
2 parents f221c31 + 03bcee6 commit 921f120
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
11 changes: 6 additions & 5 deletions .tekton/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ metadata:
spec:
params:
- name: repo_url
value: "git@github.com:DESTINATION_ORG/stakater-nordmart-review-api.git"
value: "git@github.com:stakater-lab/stakater-nordmart-review-api.git"
- name: git_revision
value: {{revision}}
- name: repo_path
value: {{repo_name}}
- name: image_registry
value: nexus-docker-stakater-nexus.ROUTE_SUBDOMAIN/stakater-nordmart-review-api
value: nexus-docker-stakater-nexus.apps.tno1-ams.s9nghh76.lab.kubeapp.cloud/stakater-nordmart-review-api
- name: helm_registry
value: >-
https://nexus-helm-stakater-nexus.ROUTE_SUBDOMAIN/repository/helm-charts/
https://nexus-helm-stakater-nexus.apps.tno1-ams.s9nghh76.lab.kubeapp.cloud/repository/helm-charts/
- name: organization
value: stakater-lab
- name: tenant
Expand Down Expand Up @@ -131,7 +131,8 @@ spec:
kind: Task
params:
- name: SONAR_HOST_URL
value: https://sonarqube-stakater-sonarqube.ROUTE_SUBDOMAIN
value: https://sonarqube-stakater-sonarqube.apps.tno1-ams.s9nghh76.lab.kubeapp.cloud

- name: SONAR_PROJECT_KEY
value: $(params.repo_path)
- name: SONAR_LOGIN
Expand Down Expand Up @@ -232,7 +233,7 @@ spec:
- name: HELM_REGISTRY
value: $(params.helm_registry)
- name: CD_REPO_URL
value: git@github.com:DESTINATION_ORG/webinar-apps-gitops-config.git
value: git@github.com:stakater/nordmart-apps-gitops-config.git
workspaces:
- name: source
workspace: source
Expand Down
17 changes: 7 additions & 10 deletions .tekton/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:
spec:
params:
- name: repo_url
value: "git@github.com:DESTINATION_ORG/stakater-nordmart-review-api.git"
value: "git@github.com:stakater-lab/stakater-nordmart-review-api.git"
- name: git_revision
value: {{revision}}
- name: repo_path
Expand All @@ -37,14 +37,12 @@ spec:
- name: pull_request_number
value: {{pull_request_number}}
- name: image_registry
value: nexus-docker-stakater-nexus.ROUTE_SUBDOMAIN/stakater-nordmart-review-api
value: nexus-docker-stakater-nexus.apps.tno1-ams.s9nghh76.lab.kubeapp.cloud/stakater-nordmart-review-api
- name: helm_registry
value: >-
https://nexus-helm-stakater-nexus.ROUTE_SUBDOMAIN/repository/helm-charts/
https://nexus-helm-stakater-nexus.apps.tno1-ams.s9nghh76.lab.kubeapp.cloud/repository/helm-charts/
- name: organization
value: stakater-lab
- name: tenant
value: psg
pipelineSpec:
params:
- name: repo_url
Expand All @@ -55,7 +53,6 @@ spec:
- name: pull_request_number
- name: organization
- name: git_branch
- name: tenant

workspaces:
- name: source
Expand Down Expand Up @@ -110,7 +107,7 @@ spec:
- name: PR_NUMBER
value: $(params.pull_request_number)
- name: GIT_URL
value: https://github.com/DESTINATION_ORG/stakater-nordmart-review-api.git
value: https://github.com/stakater-lab/stakater-nordmart-review-api.git
- name: GIT_BRANCH
value: $(params.git_branch)
- name: IMAGE_TAG
Expand Down Expand Up @@ -145,7 +142,7 @@ spec:
- name: DEPLOYMENT_FILES_PATH
value: deploy
- name: NAMESPACE
value: $(params.tenant)-build
value: psg-build
workspaces:
- name: source
workspace: source
Expand All @@ -169,7 +166,7 @@ spec:
kind: Task
params:
- name: SONAR_HOST_URL
value: https://sonarqube-stakater-sonarqube.ROUTE_SUBDOMAIN
value: https://sonarqube-stakater-sonarqube.apps.tno1-ams.s9nghh76.lab.kubeapp.cloud
- name: SONAR_PROJECT_KEY
value: $(params.repo_path)
- name: SONAR_LOGIN
Expand Down Expand Up @@ -331,7 +328,7 @@ spec:
- name: HELM_REGISTRY
value: $(params.helm_registry)
- name: CD_REPO_URL
value: git@github.com:DESTINATION_ORG/webinar-apps-gitops-config.git
value: git@github.com:stakater/nordmart-apps-gitops-config.git
workspaces:
- name: source
workspace: source
Expand Down

0 comments on commit 921f120

Please sign in to comment.