lablup / lablup/backend.ai

Add validation logic for the `extra` column of container_registries

Open
#3,189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

Follow-up to #2621, #2622, #2623, #2624.

### Main idea

container_registries.extra column allows different values depending on the registry type.Let’s add validation logic for the extra column to the container registry API.

### Schema

#### Github container registries

- `entity_type`: str (`users` or `groups`)
#### Gitlab container registries

- `api_endpoint`: str
#### AWS ECR

- `access_token`: str
- `secret_access_token`: str
- `region`: str (e.g. us-east-1)

JIRA Issue: BA-27

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.