-
Notifications
You must be signed in to change notification settings - Fork 103
feat: add draft jenkinsfiles to MARA #105
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
Conversation
feat: add jenkinsfile support
test: using local jenkinsfile branch
test: move jenkinsfile
@@ -1,5 +1,8 @@ | |||
#!/usr/bin/env bash | |||
|
|||
set -x |
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.
Are these lines supposed to be here?
extras/jenkins/README.md
Outdated
|
||
## Purpose | ||
|
||
This directory contains a set of Jenkinsfiles that can be used with MARA. These should be considered to be in a "draft" |
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.
Linking out to something that explains what a Jenkinsfile
does would be useful. Also, you may want to rephrase this so you do not pluralize Jenkinsfile
because that's confusing due to it being a filename convention.
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.
done.
Proposed changes
This change adds in a selection of Jenkinsfiles that are used internally by the MARA team for build testing. These are designed to checked out by Jenkins and then used to run the build process (opposed to them being stored completely in Jenkins). These are pipeline jobs. Documentation has been updated for this change.
A helper script has been added for the management of AWS credentials; the startup process currently does not handle the combination of AWS env variables and the on-disk .aws profiles/configs. This script reads the environment variables passed down from Jenkins and creates a credentials file from that information. Note that this does not have any impact on the manual build process (unless the user desires). This is expected to go away with the rewrite from #80
Additionally, there is one minor change to the AWS/DO build/deployment process; this addresses a bug that was introduced with the initial check-in.
Checklist
Before creating a PR, run through this checklist and mark each as complete.