-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature/update cicd pipeline stack base class #14
feature/update cicd pipeline stack base class #14
Conversation
# Steps: | ||
# 1. Read the release script file | ||
# 2. Base64 encode the file | ||
# 3. Decode the base64 encoded file and write it to the release script path | ||
f"echo {base64.b64encode((Path(__file__).parent / 'scripts' / 'cicd-release.sh').read_text().encode()).decode()} | base64 --decode > $RELEASE_SCRIPT_PATH" |
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 there any size limitations for this method?
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 know unfortunately. I am trying to test these two options out to see what is best. I would assume for our script, it is small enough but I will know definitively soon.
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 will need to pick an option once my tests are complete.
create_pull_request_step = pipelines.CodeBuildStep( | ||
"CreateReleasePullRequest", | ||
input=self.get_pipeline_source(pipeline_config.source), | ||
# Environment needs to have privelaged access |
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 know this is old code, but might be good to go into more depth about what aspect of the build needs the privileged access and why it's needed rather than just stating it is necessary.
47ac51f
to
8c255fa
Compare
8c255fa
to
4da2eca
Compare
What's in this Change?
improving base pipeline stack
pipeline_stage
decorator and more fleshed out functionality in base stackTesting