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

Fixes #1462 Move the git commit parsing out of the start.sh and into the build #1463

Merged
merged 7 commits into from Jan 26, 2023

Conversation

jonespm
Copy link
Member

@jonespm jonespm commented Dec 8, 2022

It was suggested to

  • Have this commands to parse git in a separate file
  • Add changes to Dockerfile.openshift.
  • Rebase to latest code

@jonespm jonespm changed the title Move the git commit parsing out of the start.sh and into the build #1462 Fixes #1462 Move the git commit parsing out of the start.sh and into the build Dec 8, 2022
@jonespm jonespm linked an issue Dec 8, 2022 that may be closed by this pull request
…-its-umich-edu#1462

THIS IS A draft: It was suggested to have this command to parse git in a
separate file and also need to add to Dockerfile.openshift.

Also this is going to need to be rebased.
* Add changes to Dockerfile.openshift.
@jonespm jonespm marked this pull request as ready for review January 23, 2023 22:01
@jonespm
Copy link
Member Author

jonespm commented Jan 23, 2023

docker scan my-learning-analytics-web doesn't report any critical/high issues after this, only low and medium.

Copy link
Contributor

@ssciolla ssciolla left a comment

Choose a reason for hiding this comment

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

This looks good, and git command wasn't found in the container. Couple comments to consider.

scripts/git_version_info.sh Outdated Show resolved Hide resolved
scripts/git_version_info.sh Outdated Show resolved Hide resolved
scripts/git_version_info.sh Outdated Show resolved Hide resolved
start.sh Outdated Show resolved Hide resolved
jonespm and others added 3 commits January 26, 2023 09:08
Co-authored-by: Sam Sciolla <35741256+ssciolla@users.noreply.github.com>
@jonespm jonespm merged commit 6b3be94 into tl-its-umich-edu:master Jan 26, 2023
@jonespm jonespm deleted the issue_1462 branch January 26, 2023 18:52
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.

Move the git commit parsing out of the start.sh and into the build
3 participants