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

feat: pull docker images reporting #329

Merged
merged 3 commits into from
Jun 30, 2022
Merged

Conversation

alex1307
Copy link
Collaborator

Description
Feature: #311

We should provide meta information about the docker images.
If images are not up to date(latest) then we should pull and start the latest ones.

Motivation and Context

User should be able to upgrade to the latest image or to start a custom image.

How Has This Been Tested?
This is not tested as it is in progress.

Description
Feature: #311

We should provide meta information about the docker images.
If images are not up to date(latest) then we should pull and start the latest ones.

Motivation and Context

User should be able to upgrade to the latest image or to start a custom image.

How Has This Been Tested?
This is not tested as it is in progress.
@@ -53,6 +53,9 @@ pub struct ImageInfo {
image_name: String,
display_name: String,
docker_image: String,
is_updated: bool,
Copy link

@tarnas14 tarnas14 Jun 29, 2022

Choose a reason for hiding this comment

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

Suggested change
is_updated: bool,
latest: bool,

on frontend we assumed

// gui-react/src/types/general.ts:46
export type DockerImage = {
  imageName: string
  displayName: string
  dockerImage: string
  latest: boolean
  pending?: boolean
  error?: string
  progress?: number
  status?: DockerImagePullStatus
}
export enum DockerImagePullStatus {
  Waiting = 'waiting',
  Pulling = 'pulling',
  Ready = 'ready',
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The changes are implemented.

@CjS77 CjS77 merged commit bbe2211 into launchpad_such_wow Jun 30, 2022
@CjS77 CjS77 deleted the docker_images_reporting branch June 30, 2022 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants