Skip to content

feat: add image registry - #1427

Merged
ecrupper merged 16 commits into
mainfrom
feat/image_registry
Jul 16, 2026
Merged

feat: add image registry#1427
ecrupper merged 16 commits into
mainfrom
feat/image_registry

Conversation

@jbrockopp

@jbrockopp jbrockopp commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

xref: go-vela/community#1066

Based off of go-vela/community#1076 - Related to go-vela/ui#953

This is the Vela pipeline I used to test this behavior locally:

version: "1"

steps:
  - name: sleep
    image: alpine:latest
    commands:
      - sleep 10
      - echo "10 seconds v1"
      - sleep 10
      - echo "10 seconds v2"
      - sleep 10
      - echo "10 seconds v3"
      - sleep 10
      - echo "10 seconds v4"
      - sleep 10
      - echo "10 seconds v5"

Warning

An example where alpine:latest is provided for the warning level in the image registry:

image

An example where alpine:* is provided for the warning level in the image registry:

image

Blocked

An example where alpine:latest is provided for the blocked level in the image registry:

image

An example where alpine:* is provided for the blocked level in the image registry:

image

An example where a previous build is restarted that uses an image from the blocked level in the image registry:

image
Status 500 (unable to restart build: unable to compile pipeline configuration for JordanBrockopp/vela-play: 1 error occurred:
	* image alpine:latest for container sleep is blocked: demo blocked for all tags of specific image
)

@jbrockopp jbrockopp self-assigned this Mar 31, 2026
@codecov

codecov Bot commented Mar 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 54.07407% with 62 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.00%. Comparing base (b62ee14) to head (44b9722).

Files with missing lines Patch % Lines
api/admin/settings.go 0.00% 16 Missing ⚠️
api/types/settings/compiler.go 69.56% 12 Missing and 2 partials ⚠️
database/types/settings.go 26.66% 11 Missing ⚠️
compiler/native/compile.go 20.00% 4 Missing and 4 partials ⚠️
api/build/compile_publish.go 0.00% 7 Missing ⚠️
compiler/native/validate.go 88.57% 2 Missing and 2 partials ⚠️
compiler/native/settings.go 0.00% 2 Missing ⚠️

❌ Your project check has failed because the head coverage (58.00%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1427      +/-   ##
==========================================
- Coverage   58.02%   58.00%   -0.03%     
==========================================
  Files         663      663              
  Lines       25625    25760     +135     
==========================================
+ Hits        14868    14941      +73     
- Misses      10052    10106      +54     
- Partials      705      713       +8     
Files with missing lines Coverage Δ
compiler/native/native.go 78.70% <100.00%> (+0.81%) ⬆️
compiler/native/parse.go 87.09% <ø> (ø)
database/settings/table.go 100.00% <ø> (ø)
compiler/native/settings.go 0.00% <0.00%> (ø)
compiler/native/validate.go 93.67% <88.57%> (-1.46%) ⬇️
api/build/compile_publish.go 0.00% <0.00%> (ø)
compiler/native/compile.go 73.09% <20.00%> (-1.60%) ⬇️
database/types/settings.go 60.86% <26.66%> (-4.18%) ⬇️
api/types/settings/compiler.go 76.74% <69.56%> (-8.26%) ⬇️
api/admin/settings.go 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jbrockopp
jbrockopp marked this pull request as ready for review April 10, 2026 19:03
@jbrockopp
jbrockopp requested a review from a team as a code owner April 10, 2026 19:03

@wass3r wass3r left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@ecrupper
ecrupper merged commit a80e916 into main Jul 16, 2026
13 of 17 checks passed
@ecrupper
ecrupper deleted the feat/image_registry branch July 16, 2026 14:44
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.

4 participants