-
Notifications
You must be signed in to change notification settings - Fork 0
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
COSI-53: Optimize CI Workflows, Mono-Repo Migration, and Enhancements #82
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
@@ Coverage Diff @@
## main #82 +/- ##
=======================================
Coverage 93.40% 93.40%
=======================================
Files 9 9
Lines 637 637
=======================================
Hits 595 595
Misses 36 36
Partials 6 6 |
1e7c78a
to
0bbfed6
Compare
This commit parallelizes two steps in the CI workflow, adds if: always where needed, and includes minor lint changes.
0bbfed6
to
4242967
Compare
renamed in .github/workflows: - ci-build-and-unit-tests.yml -> build-and-unit-tests.yml - ci-e2e-tests.yml -> e2e-feature-tests.yml - ci-smoke-tests.yml -> helm-validation.yml
- The old repos have been archived and everything has been moved to a mono-repo - Updated CI workflows and scripts to reflect the same
1adf835
to
31d4874
Compare
31d4874
to
9c4e7f0
Compare
echo "=== Loading cached S3 and IAM Docker images ===" | ||
if [ -d /tmp/.docker_cache ] && [ "$(ls -A /tmp/.docker_cache 2>/dev/null)" ]; then | ||
for image in /tmp/.docker_cache/*.tar; do | ||
docker load -i "$image" || true # continue on failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't there an action that can load from the cache or save images to cache ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there is, but I can't use them in a script when doing things in parallel.
Ideally, we would want to use the action, but GitHub doesn't allow parallel actions on the same machine yet.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that's unlucky
This PR introduces multiple improvements to CI workflows and project organization:
Commit 1. Parallelized CI Steps: Optimized workflow execution by parallelizing steps and adding if: always where necessary.
Commit 2. Renamed Workflows files and updated CI workflow names for clarity:
Commit 3. CNCF Mono-Repo Migration: use mono-repo as others have been archived; updated workflows and scripts.
Commit 4. Improved Coverage: Set GOCOVERDIR to reduce Codecov failures.
Commit 5. Enhanced Logging: Updated commands to improve output visibility in GitHub UI and logs.