Skip to content
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

adding system_release.sh script #38

Merged
merged 2 commits into from
Apr 28, 2020
Merged

Conversation

jtbaird
Copy link

@jtbaird jtbaird commented Apr 28, 2020

Adding system_release.sh script to automatically update dependencies in Dockerfile and checkout.sh

@jtbaird jtbaird requested a review from msmcconnell April 28, 2020 16:21
docker/system_release.sh Show resolved Hide resolved
git checkout $RELEASE_BRANCH

echo "Updating checkout.sh to point to system release version."
sed -i "s|CARMA[a-zA-Z]*_[0-9]*\.[0-9]*\.[0-9]*|$SYSTEM_RELEASE|g; s|carma-[a-zA-Z]*-[0-9]*\.[0-9]*\.[0-9]*|$SYSTEM_RELEASE|g" docker/checkout.sh

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this work on repos that do not have carma- in the name?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There will be some modifications to the script depending on repos. For example some won't have to update checkout.sh and/or Dockerfile at all.

@sonarcloud
Copy link

sonarcloud bot commented Apr 28, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@msmcconnell msmcconnell merged commit 614dca0 into develop Apr 28, 2020
@msmcconnell msmcconnell deleted the feature/release_updates branch April 28, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants