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

LGA-2423 update base images #1176

Merged
merged 16 commits into from
May 9, 2023
Merged

Conversation

jogilder
Copy link
Contributor

@jogilder jogilder commented May 3, 2023

What does this pull request do?

ITHC showed that we were using out of date images for cla_public - this ticket updates the base images and associated packages.

Had to pin black to an exact version - using >= in circleci (as it is in backend) failed one of the files

Any other changes that would benefit highlighting?

Updated requirements files so that they are generated by pip-compile. This will make it easier to update packages in the future.

Changes are based on this test branch created in 2022 and should be checked to make sure I got all of them.

Checklist

  • Provided JIRA ticket number in the title, e.g. "LGA-152: Sample title"

To allow easier updating of packages - going to install pip-compile, this is the first step.
Add in pip-tools to the requirements and set up the pre-commit config
@jogilder jogilder requested a review from a team as a code owner May 3, 2023 13:22
@jogilder jogilder force-pushed the feature/LGA-2423-update-base-images branch 2 times, most recently from aadac60 to 00d6299 Compare May 3, 2023 14:37
Update names of files and update pre commit. Have also pinned language version for black to python3.7 as it gave an asyncio error with just python3
Changed name of py-3 job as it is formatting not linting and mirrored set up in cla_backend
testing requirements file was  always installed along with base so testing now inherits from base to try and avoid conflicts of packages
@jogilder jogilder force-pushed the feature/LGA-2423-update-base-images branch from 00d6299 to 574bc8e Compare May 3, 2023 15:46
@jogilder jogilder force-pushed the feature/LGA-2423-update-base-images branch from 4a2a7e5 to 5c4c453 Compare May 3, 2023 15:52
Also remove py2-pip package as no longer available from apk add
Separate out the node install into a different stage
@jogilder jogilder force-pushed the feature/LGA-2423-update-base-images branch from 9764b25 to 31e10c2 Compare May 3, 2023 16:21
@jogilder jogilder changed the title WIP LGA-2423 update base images LGA-2423 update base images May 4, 2023
docs/installation.md Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented May 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@Pheonnexx Pheonnexx left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@MishNajam MishNajam left a comment

Choose a reason for hiding this comment

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

LGTM

@jogilder jogilder merged commit e92dc39 into master May 9, 2023
15 of 16 checks passed
@jogilder jogilder deleted the feature/LGA-2423-update-base-images branch May 9, 2023 16:47
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.

None yet

3 participants