From 6155af0c23ddb04c899fc817efb85c1a0d03c1f5 Mon Sep 17 00:00:00 2001 From: Matt Hughes Date: Wed, 1 Nov 2023 14:36:57 -0400 Subject: [PATCH] fix: remove pull of edx-secure from mongo_mms job --- devops/jobs/MongoAgentsUpdate.groovy | 18 ------------------ devops/resources/mongo-agents-update.sh | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/devops/jobs/MongoAgentsUpdate.groovy b/devops/jobs/MongoAgentsUpdate.groovy index 64595da72..c6c7ca001 100644 --- a/devops/jobs/MongoAgentsUpdate.groovy +++ b/devops/jobs/MongoAgentsUpdate.groovy @@ -15,10 +15,6 @@ class MongoAgentsUpdate { 'Git repo containing internal overrides') stringParam('CONFIGURATION_INTERNAL_BRANCH', extraVars.get('CONFIGURATION_INTERNAL_BRANCH', 'master'), 'e.g. tagname or origin/branchname') - stringParam('CONFIGURATION_SECURE_REPO', extraVars.get('CONFIGURATION_SECURE_REPO',"git@github.com:edx-ops/edx-secure.git"), - 'Secure Git repo .') - stringParam('CONFIGURATION_SECURE_BRANCH', extraVars.get('CONFIGURATION_SECURE_BRANCH', 'master'), - 'e.g. tagname or origin/branchname') } wrappers common_wrappers @@ -58,20 +54,6 @@ class MongoAgentsUpdate { relativeTargetDirectory('configuration-internal') } } - git { - remote { - url('$CONFIGURATION_SECURE_REPO') - branch('$CONFIGURATION_SECURE_BRANCH') - if (gitCredentialId) { - credentials(gitCredentialId) - } - } - extensions { - cleanAfterCheckout() - pruneBranches() - relativeTargetDirectory('configuration-secure') - } - } } steps { diff --git a/devops/resources/mongo-agents-update.sh b/devops/resources/mongo-agents-update.sh index e580d0b6f..1c058b493 100644 --- a/devops/resources/mongo-agents-update.sh +++ b/devops/resources/mongo-agents-update.sh @@ -19,4 +19,4 @@ assume-role ${ROLE_ARN} set -x cd playbooks -ansible-playbook -i ./ec2.py --limit tag_Name_edx-admin-mms mongo_mms.yml -e@../../configuration-internal/ansible/vars/edx.yml -e@../../configuration-secure/ansible/vars/edx.yml -u ubuntu +ansible-playbook -i ./ec2.py --limit tag_Name_edx-admin-mms mongo_mms.yml -e@../../configuration-internal/ansible/vars/edx.yml ubuntu