MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
5.84k stars 11.06k forks source link

[suiop][image] add list and get current status endpoint #18373

Closed pei-mysten closed 4 days ago

pei-mysten commented 6 days ago

Description

Adding two endpoints for improving image building process visibility:

  1. list: show all the images in the AR
  2. status: check whether the image is built and stored in AR, if not in AR, show real-time status of the building process

Test plan

list

image

status

suiop ci image status --repo-name infra-metadata-service --image-name go-executor
Requested status for repo: infra-metadata-service, image: go-executor, ref: branch:main
Image Status: Found
Image SHA: 1d01c74ca5cfb3c7103
suiop ci image status --repo-name infra-metadata-service --image-name go-executor --ref-type=commit --ref-val=123
Requested status for repo: infra-metadata-service, image: go-executor, ref: commit:123
Image Status: Not built and image not found
Image SHA: 123

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

vercel[bot] commented 6 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **multisig-toolkit** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/multisig-toolkit/5r4fF9yRmMkUUV18potFz1q8oJ3p)) | | | Jun 22, 2024 9:11pm | | **sui-kiosk** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-kiosk/Dnc9RSQ8cRVVJDTPZAZD6E6YAata)) | | | Jun 22, 2024 9:11pm | | **sui-typescript-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-typescript-docs/7auH7c7bzidETnoeYV4yPqFu1VSJ)) | | | Jun 22, 2024 9:11pm |