Skip to content

Commit

Permalink
Merge pull request #1677 from edx/nadeem/secure-config-cleanup
Browse files Browse the repository at this point in the history
chore: cleanup of secure repos. from adhoc reporting job
  • Loading branch information
nadeemshahzad authored Oct 18, 2023
2 parents b1ddbbc + 55e04ff commit cc7b169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
28 changes: 0 additions & 28 deletions devops/jobs/UpdateAdhocReporting.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,6 @@ class UpdateAdhocReporting{
relativeTargetDirectory('edx-internal')
}
}
git {
remote {
url('git@github.com:edx-ops/edx-secure.git')
branch('master')
if (gitCredentialId) {
credentials(gitCredentialId)
}
}
extensions {
cleanAfterCheckout()
pruneBranches()
relativeTargetDirectory('edx-secure')
}
}
git {
remote {
url('git@github.com:edx/edge-internal.git')
Expand All @@ -89,20 +75,6 @@ class UpdateAdhocReporting{
relativeTargetDirectory('edge-internal')
}
}
git {
remote {
url('git@github.com:edx-ops/edge-secure.git')
branch('master')
if (gitCredentialId) {
credentials(gitCredentialId)
}
}
extensions {
cleanAfterCheckout()
pruneBranches()
relativeTargetDirectory('edge-secure')
}
}
}

triggers {
Expand Down
4 changes: 2 additions & 2 deletions devops/resources/update-adhoc-reporting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ environments=(stage prod)
#update report replica for stage and prod edx
for environment in ${environments[@]}; do
ansible-playbook -i ./ec2.py --limit tag_Name_tools-edx-gp tools-gp.yml -e@../../edx-internal/ansible/vars/edx.yml -e@../../edx-internal/ansible/vars/${environment}-edx.yml \
-e@../../edx-secure/ansible/vars/edx.yml -e@../../edx-secure/ansible/vars/${environment}-edx.yml -e@../../edx-internal/ansible/vars/ad_hoc_reporting_replica_db_hosts.yml \
-e@../../edx-internal/ansible/vars/ad_hoc_reporting_replica_db_hosts.yml \
--tags install:code -u ${ANSIBLE_SSH_USER} -D
done

# update report replica for prod edge
ansible-playbook -i ./ec2.py --limit tag_Name_tools-edx-gp tools-gp.yml -e@../../edge-internal/ansible/vars/edge.yml -e@../../edge-internal/ansible/vars/prod-edge.yml \
-e@../../edge-secure/ansible/vars/edge.yml -e@../../edge-secure/ansible/vars/prod-edge.yml -e@../../edx-internal/ansible/vars/ad_hoc_reporting_replica_db_hosts.yml \
-e@../../edx-internal/ansible/vars/ad_hoc_reporting_replica_db_hosts.yml \
--tags install:code -u ${ANSIBLE_SSH_USER} -D

# update users on reporting server
Expand Down

0 comments on commit cc7b169

Please sign in to comment.