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

[DPC-4496] use upload/download artifacts for rails docker builds #2429

Merged
merged 53 commits into from
Feb 7, 2025

Conversation

lukey-luke
Copy link
Contributor

@lukey-luke lukey-luke commented Feb 6, 2025

🎫 Ticket

DPC-4496

🛠 Changes

  • Remove obsolete commented out code
  • remove job for building just web-portal
  • 2 new jobs
    • ea rails app will be built and then uploaded as an artifact
    • the second job will pull down that artifact and push to AWS ECR

ℹ️ Context

  • currently experiencing issues w/ self-hosted GHA runners running out of disk space, so these jobs were separated out as opposed to a single make ci-portals-v1 command
  • in practice, the java apps still take a majority of the time, but this gives feedback to the developer sooner if one of the rails apps fails to build

🧪 Validation

  • Example CI job here

Copy link
Contributor

@jdettmannnava jdettmannnava left a comment

Choose a reason for hiding this comment

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

On to image tag!

name: dpc-${{ matrix.repository }}
path: ${{ runner.temp }}/dpc_${{ matrix.repository }}_latest.tar.gz

docker_push_rails_apps:
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't all apps be pushed together?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, breaking up the java build to use upload/download artifacts and then having a single job waiting for all should achieve this. I'll work on a follow-up PR for this

@lukey-luke lukey-luke marked this pull request as ready for review February 6, 2025 18:52
@lukey-luke
Copy link
Contributor Author

Switched to ready-for-review. It appears disk space limitations have been resolved in PLT-897.

Copy link
Contributor

@jdettmannnava jdettmannnava left a comment

Choose a reason for hiding this comment

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

Fine for WIP

@lukey-luke lukey-luke merged commit c26a133 into main Feb 7, 2025
8 checks passed
@lukey-luke lukey-luke deleted the ls/task-4496-artifacts-for-builds branch February 7, 2025 17:23
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