-
Notifications
You must be signed in to change notification settings - Fork 0
ci: reuse release image for edge #63
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,14 +15,17 @@ on: | |
| - "uv.lock" | ||
|
|
||
| concurrency: | ||
| group: weather-briefing-image-${{ github.ref_type == 'branch' && 'edge' || format('release-{0}', github.ref_name) }} | ||
| cancel-in-progress: true | ||
| group: weather-briefing-image | ||
| cancel-in-progress: false | ||
|
|
||
| env: | ||
| WEATHER_BRIEFING_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/weather-briefing | ||
|
|
||
| jobs: | ||
| weather-briefing: | ||
| if: >- | ||
| github.ref_type == 'tag' || | ||
| !contains(github.event.head_commit.message, 'Weather-Briefing-Skip-Edge-Image: true') | ||
|
qodo-code-review[bot] marked this conversation as resolved.
Comment on lines
+18
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win Race condition risking cancelled release builds due to static concurrency group. GitHub Actions cancels previously pending workflow runs in the same concurrency group when multiple events are queued simultaneously. An atomic push triggers both the The explicit commit trailer already cleanly prevents the
📍 Affects 2 files
🤖 Prompt for AI Agents |
||
| runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} | ||
| strategy: | ||
| fail-fast: false | ||
|
|
@@ -120,7 +123,11 @@ jobs: | |
|
|
||
| tags=(--tag "${REGISTRY_IMAGE}:${COMMIT_TAG}") | ||
| if [[ -n "${RELEASE_VERSION}" ]]; then | ||
| tags+=(--tag "${REGISTRY_IMAGE}:${RELEASE_VERSION}" --tag "${REGISTRY_IMAGE}:latest") | ||
| tags+=( | ||
| --tag "${REGISTRY_IMAGE}:${RELEASE_VERSION}" | ||
| --tag "${REGISTRY_IMAGE}:latest" | ||
| --tag "${REGISTRY_IMAGE}:edge" | ||
| ) | ||
| else | ||
| tags+=(--tag "${REGISTRY_IMAGE}:edge") | ||
| fi | ||
|
|
||
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.
1. Edge rollback via reruns
🐞 Bug≡ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools