Skip to content

Commit

Permalink
Merge pull request #1716 from edx/katebygrace/secrets-sysadmin
Browse files Browse the repository at this point in the history
chore: remove secretsmanager
  • Loading branch information
katebygrace committed Jan 2, 2024
2 parents 1540f98 + a797118 commit 183a1e8
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions devops/jobs/SAMLSSLExpirationCheck.groovy
Expand Up @@ -9,8 +9,6 @@
saml_secret (required)
secret_key (required)
* SECURE_GIT_CREDENTIALS: secure-bot-user (required)
* SYSADMIN_REPO: repository containing SSL expiration check python script (required)
* SYSADMIN_BRANCH: default is master
* CONFIGURATION_REPO: name of config repo, default is https://github.com/edx/configuration.git
* CONFIGURATION_BRANCH: default is master
* REGION: default is us-east-1
Expand All @@ -34,32 +32,6 @@ class SAMLSSLExpirationCheck{


def gitCredentialId = extraVars.get('SECURE_GIT_CREDENTIALS','')

assert extraVars.containsKey('SYSADMIN_REPO') : "Please define a system admin repo where the SSL expiration check script is located"

parameters{
stringParam('SYSADMIN_REPO', extraVars.get('SYSADMIN_REPO'),
'Git repo containing sysadmin configuration which contains the ssl expiration check script.')
stringParam('SYSADMIN_BRANCH', extraVars.get('SYSADMIN_BRANCH', 'master'),
'e.g. tagname or origin/branchname')
}

multiscm{
git {
remote {
url('$SYSADMIN_REPO')
branch('$SYSADMIN_BRANCH')
if (gitCredentialId) {
credentials(gitCredentialId)
}
}
extensions {
cleanAfterCheckout()
pruneBranches()
relativeTargetDirectory('sysadmin')
}
}
}

triggers {
cron("H 15 * * * ")
Expand All @@ -81,7 +53,6 @@ class SAMLSSLExpirationCheck{
mailer(extraVars.get('NOTIFY_ON_FAILURE'), false, false)
}
}

}
}
}
Expand Down

0 comments on commit 183a1e8

Please sign in to comment.