Skip to content
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

Feature all assets from catalog upload #256

Conversation

ckadner
Copy link
Member

@ckadner ckadner commented Nov 8, 2021

This removes the need to toggle both the Published and Featured check-boxes for each of the (currently 46) uploaded assets.

Since uploading a curated catalog can only be done by admins, we assume that all the uploaded assets are to be published and featured.

Resolves #237

This removes the need to toggle both the Published and
Featured checkboxes for each of the (46) uploaded assets.

Since uploading a curated catalog can only be done by admins,
we assume that all the uploaded assets are to be published
and featured.

Resolves machine-learning-exchange#237

Signed-off-by: Christian Kadner <[email protected]>
@mlx-bot
Copy link
Collaborator

mlx-bot commented Nov 8, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Tomcli
Copy link
Member

Tomcli commented Nov 9, 2021

/lgtm

@mlx-bot mlx-bot added the lgtm label Nov 9, 2021
@mlx-bot mlx-bot merged commit aca026e into machine-learning-exchange:main Nov 9, 2021
ckadner added a commit to ckadner/mlx that referenced this pull request Dec 2, 2021
* Since we have /catalog/upload_from_url API now (machine-learning-exchange#259), we
  no longer need to keep a copy of the catalog_upload.json
  file under quickstart
* Since all assets get published and featured automatically
  with catalog upload (machine-learning-exchange#256), there is no longer a need for
  the init_catalog.sh script either
* Since the MLX API also creates the Pipelines table (3c10fda)
  we no longer need to mount the init_db.sql to the mysql
  service
* Since the Docker Compose File v3+ spec no longer supports
  condition as an option of depends_on we no longer need the
  healthcheck on services, but instead have to use simple
  while-wait-loops in the commands of downstream services

Related machine-learning-exchange#256
Related machine-learning-exchange#259
Related 3c10fda
Related https://forums.docker.com/t/depends-on-version-3/29463

Signed-off-by: Christian Kadner <[email protected]>
@ckadner ckadner mentioned this pull request Dec 2, 2021
mlx-bot pushed a commit that referenced this pull request Dec 3, 2021
* Since we have /catalog/upload_from_url API now (#259), we
  no longer need to keep a copy of the catalog_upload.json
  file under quickstart
* Since all assets get published and featured automatically
  with catalog upload (#256), there is no longer a need for
  the init_catalog.sh script either
* Since the MLX API also creates the Pipelines table (3c10fda)
  we no longer need to mount the init_db.sql to the mysql
  service
* Since the Docker Compose File v3+ spec no longer supports
  condition as an option of depends_on we no longer need the
  healthcheck on services, but instead have to use simple
  while-wait-loops in the commands of downstream services

Related #256
Related #259
Related 3c10fda
Related https://forums.docker.com/t/depends-on-version-3/29463

Signed-off-by: Christian Kadner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Catalog upload API should allow all uploaded assets to be published and featured
3 participants