-
Notifications
You must be signed in to change notification settings - Fork 21
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
chore: remove sysadmin part2 #1717
base: master
Are you sure you want to change the base?
Conversation
JIRA:CLOUDSEC-12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this will work. The contents of the devops/jenkins
folder doesn't automatically end up in jobs' workspaces. Lines like
shell(dslFactory.readFileFromWorkspace('devops/resources/saml-ssl-expiration-check.sh')) |
I think we need to get these files cloned into the workspace from somewhere. It doesn't have to be from edx-ops/sysadmin per se, but we have to clone something (or embed the python code in the shell file or some such hacky replumbing).
I'm not sure I understand the rationale for trying to remove references to the sysadmin repo in the first place; is there a more specific ticket you can reference for which work this pertains to? Could we create a repo specifically for scripts we're migrating out of edx-ops repos we'd like to delete off Github? Or put these in https://github.com/openedx/configuration/tree/master/util like the sysadmin README suggests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably want to add some txt files to the .gitignore in this repo if we copy these into here
|
||
env | ||
set -x | ||
|
||
cd $WORKSPACE/sysadmin | ||
pip install -r requirements/base.txt | ||
pip install -r ../eequirements/base.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pip install -r ../eequirements/base.txt | |
pip install -r ../requirements/base.txt |
re: rationale; sysadmin has credentials in it, so when we clone that onto jenkins we're back in plaintext password land; which we're moving off of, that said will give this a look over |
re: sysadmin having credentials in it, great that makes sense & is what I expected you to say. |
JIRA:CLOUDSEC-12