Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simbank updates #619

Merged
merged 5 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
applevel: critical
containers:
- name: simbank
image: harbor.galasa.dev/galasadev/galasa-simplatform-amd64:main
image: ghcr.io/galasa-dev/simplatform-jar:main
imagePullPolicy: Always
command: ["java"]
args:
Expand Down
6 changes: 0 additions & 6 deletions infrastructure/galasa-plan-b-lon02/argo-app-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ function delete_application {
# delete_application "main-bld"
# delete_application "main-inttests"
# delete_application "main-simplatform"
# delete_application "prod-simplatform"
# delete_application "prod-maven-repos"
# delete_application "galasa-development-namespace"
delete_application "galasa-ecosystem1"
create_application "galasa-ecosystem1" \
Expand Down Expand Up @@ -186,10 +184,6 @@ create_application "galasa-ecosystem1" \
# "galasa-development/simplatform" \
# "values-used-by-different-argo-apps/main-simplatform-values.yaml"

# create_helm_application "prod-simplatform" \
# "galasa-development/simplatform" \
# "values-used-by-different-argo-apps/prod-simplatform-values.yaml"

# create_helm_application "prod-maven-repos" \
# "galasa-development/branch-maven-repository" \
# "values-used-by-different-argo-apps/prod-maven-repos.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

namespace: galasa-development
branch: main
imageName: harbor.galasa.dev/galasadev/galasa-simplatform
imageName: ghcr.io/galasa-dev/simplatform-maven-artefacts
imageTag: main

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

namespace: galasa-development
branch: main
imageName: harbor.galasa.dev/galasadev/galasa-simplatform
imageName: ghcr.io/galasa-dev/simplatform-maven-artefacts
imageTag: main
2 changes: 1 addition & 1 deletion releasePipeline/02-create-argocd-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function create_simplatform {
--dest-server https://kubernetes.default.svc \
--dest-namespace galasa-development \
--helm-set branch=${release_type} \
--helm-set imageTag=main
--helm-set imageTag=${release_type}
}

# checks if it's been called by 01-run-pre-release.sh, if it isn't run all functions
Expand Down
24 changes: 24 additions & 0 deletions releasePipeline/argocd-synced/pipelines/branch-create-galasa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,28 @@ spec:
- $(params.overwrite)
- $(params.force)
- --credentials
- /creds/githubcreds.yaml
#
#
#
- name: clone-branch-simplatform
taskRef:
name: galasabld
params:
- name: context
value: $(context.pipelineRun.name)
- name: command
value:
- github
- branch
- copy
- --repository
- simplatform
- --to
- $(params.distBranch)
- --branch
- $(params.fromBranch)
- $(params.overwrite)
- $(params.force)
- --credentials
- /creds/githubcreds.yaml
20 changes: 20 additions & 0 deletions releasePipeline/argocd-synced/pipelines/branch-delete-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,23 @@ spec:
- $(params.distBranch)
- --credentials
- /creds/githubcreds.yaml
#
####### Simplatform
#
- name: delete-branch-simplatform
taskRef:
name: galasabld
params:
- name: context
value: $(context.pipelineRun.name)
- name: command
value:
- github
- branch
- delete
- --repository
- simplatform
- --branch
- $(params.distBranch)
- --credentials
- /creds/githubcreds.yaml
20 changes: 20 additions & 0 deletions releasePipeline/argocd-synced/pipelines/branch-tag-galasa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,3 +299,23 @@ spec:
- $(params.tag)
- --credentials
- /creds/githubcreds.yaml

- name: tag-branch-simplatform
taskRef:
name: galasabld
params:
- name: context
value: $(context.pipelineRun.name)
- name: command
value:
- github
- branch
- tag
- --repository
- simplatform
- --branch
- $(params.distBranch)
- --tag
- $(params.tag)
- --credentials
- /creds/githubcreds.yaml
48 changes: 0 additions & 48 deletions releasePipeline/argocd-synced/tasks/deploy-maven-galasa.yaml

This file was deleted.

Loading