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

Fix docker image check for faster OCR deployments #354

Merged
merged 13 commits into from
Nov 5, 2024

Conversation

derekadombek
Copy link
Collaborator

@derekadombek derekadombek commented Oct 29, 2024

Description

We temporarily disabled the docker image checker cause it was bugging out, just to get the deployment automation moving forward. Now we have the time to fix it.

Screenshots (if applicable)

Related Issues

[Link any related issues or tasks from your project management system.]

Checklist

  • The title of this PR is descriptive and concise.
  • My changes follow the style guidelines of this project.
  • I have added or updated test cases to cover my changes.
  • I've let the team know about this PR by linking it in the review channel

@derekadombek derekadombek self-assigned this Oct 29, 2024
@derekadombek derekadombek changed the title Fix docker image check when for faster deployments Fix docker image check for faster deployments Oct 29, 2024
path: ./frontend/client.tgz
api-endpoint: https://reportvision-ocr-${{ inputs.deploy-env }}.azurewebsites.net/
frontend-tarball: ./frontend.tgz
frontend-path: ./frontend
Copy link
Collaborator Author

@derekadombek derekadombek Nov 4, 2024

Choose a reason for hiding this comment

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

def doing a lot of scope creeping on this PR but its a needed clean-up.

@derekadombek derekadombek changed the title Fix docker image check for faster deployments Fix docker image check for faster OCR deployments Nov 4, 2024
@derekadombek derekadombek linked an issue Nov 4, 2024 that may be closed by this pull request
Copy link
Collaborator

@marycrawford marycrawford left a comment

Choose a reason for hiding this comment

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

Great move to clean up the environments, to be consistent with the terraform code.

name: production-files
path: ./frontend/client.tgz
api-endpoint: https://reportvision-ocr-${{ inputs.deploy-env }}.azurewebsites.net/
frontend-tarball: ./frontend.tgz
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the npm packages being installed in the ./frontend.tgz file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thats correct. at least with GHA, packaging all the frontend files into a tarball/zip makes downloading from other jobs smoother.

Copy link
Collaborator

@marycrawford marycrawford left a comment

Choose a reason for hiding this comment

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

LGTM

@derekadombek derekadombek added this pull request to the merge queue Nov 5, 2024
Merged via the queue into main with commit 295ce46 Nov 5, 2024
1 check passed
@derekadombek derekadombek deleted the fix-docker-image-check branch November 5, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix docker image check for faster OCR Deployments
2 participants