-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature: Baton migration for ArgoCD template changes #313
Comments
DoD completed with @carter-cundiff |
csun-cpointe
added a commit
that referenced
this issue
Sep 5, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 5, 2024
✅ OTS completed |
csun-cpointe
added a commit
that referenced
this issue
Sep 6, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 6, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 6, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 6, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 6, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 6, 2024
…r-argocd-template-changes #313 baton migration for argocd template changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Following #283, to deploy configuration store app before all other apps in Argocd, we have enabled both the Argocd sync wave and the auto sync for the children apps of the app so that after manually synchronizing the main app, the children app can be sync-ed automatically in the order defined by sync waves.
As part of that effort, we will include the migration script to enable the argocd sub-app auto sync feature on the templates so that when upgrade to baseline version 1.9.0, the apps can be deployed in the order defined in the sync wave.
DOD
Acceptance criteria required to realize the requested feature
BDD Scenario
Feature: Migrate a downstream project argocd template to include syncPolicy configuration
Scenario: Migrate a downstream project argocd template to include syncPolicy configuration
Test Strategy/Script
How will this feature be verified?
v1.8.0
Add the SparkPipeline.json file to the
test-313-pipeline-models/src/main/resources/pipelines
directoryRun
mvn clean install
until all the manual actions are completeOnce the manual actions are complete, run
mvn clean install -Dmaven.build.cache.skipCache=true
once to get any remaining manual actionsUpgrade the project to
v1.9.0-SNAPSHOT
1.8.0
to1.9.0-SNAPSHOT
in theTiltfile
and rootpom.xml
mvn clean install -Dmaven.build.cache.skipCache
once to trigger the migration scriptVerify the
-deploy/src/main/resources/values.yaml
file has the sync policy configurationVerify the templates under
-deploy/src/main/resources/templates/
has helm function to configure thesyncPolicy
Add to the
fermenter-mda
plugin executions intest-313-deploy/pom.xml
Run
mvn clean install
until all the manual actions are completeStandup the test project within the argocd to ensure the configuration store is deployed before other resources and
metastore-service-config
configmap is updated with configuration store valueadd below content to the metadata:
test-313-deploy/src/main/resources/values.yaml
file, update thetargetRevision
andrepo
to reflect the correct value. e.g.:-deploy/src/main/resources/apps/configuration-store/values.yaml
file, removereadOnly: true
(ref: #309)-deploy/src/main/resources/apps/configuration-store/
directory copy the content of thevalues-dev.yaml
to thevalues-ci.yaml
file-deploy/src/main/resources/apps/configuration-store/values-ci.yaml file
update thevolumePathOnNode
to be/<pathToProject>/test-313/src/main/resources/configurations
-deploy/src/main/resources/values-ci.yaml file
update thevolumePathOnNode
to be/mnt/c/Users/YOUR_USER/PATH/TO/283-helper/apps/configuration-store/src/main/resources/configurations
git init
git add .
git commit -m "init test-283 base
git branch -M main
git remote add origin https://github.com/<username>/<repo_name>.git
git push -u origina main
helm install aissemble-infrastructure oci://ghcr.io/boozallen/aissemble-infrastructure-chart --version 1.9.0-SNAPSHOT --set jenkins.enabled=false --set ingress-nginx.enabled=false
argocd-server
to port8081
argocd admin initial-password -n argocd
(keep the password to login to argocd ui and cli console)http://localhost:8081/
and login as (admin/previous generated password)argocd login localhost:8081
(Use username: admin/password: previous generated password to login)test-313
app and verify that only theconfiguration-store
app appears before theconfiguration-store
status becomes healthy.hive-metastore-service
status is healthy and click into thehive-metastore-service
->metastore-service-config
and verify thefs.s3a.access.key
andfs.s3a.secret.key
values are injectedReferences/Additional Context
A clear and concise description of any alternative solutions or features you've considered.
Add any other context, links, or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: