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

launchpad imagePullPolicy #3775

Merged
merged 1 commit into from Aug 29, 2023
Merged

launchpad imagePullPolicy #3775

merged 1 commit into from Aug 29, 2023

Conversation

c121914yu
Copy link
Collaborator

@c121914yu c121914yu commented Aug 28, 2023

πŸ€– Generated by Copilot at a0d77fc

Summary

πŸ”„πŸ†™πŸ› οΈ

Changed the imagePullPolicy of the container spec to Always in two files: apps.ts and deployYaml2Json.ts. This ensures that the container always runs the latest version of the app.

imagePullPolicy
Always fetches latest app
No stale container

Walkthrough

  • Set imagePullPolicy to Always for the container spec of the app deployment (link, link). This ensures that the container always pulls the latest image from the registry, instead of using a cached one if it exists. This change affects both the original YAML file (frontend/providers/applaunchpad/src/mock/apps.ts) and the function that converts it to a JSON object (frontend/providers/applaunchpad/src/utils/deployYaml2Json.ts).

@sealos-ci-robot
Copy link
Member

πŸ€– Generated by lychee action

Summary

Status Count
πŸ” Total 909
βœ… Successful 372
⏳ Timeouts 0
πŸ”€ Redirected 0
πŸ‘» Excluded 536
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

@zzjin zzjin added this to the v5.0 milestone Aug 28, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (7780d42) 66.71% compared to head (a0d77fc) 66.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3775   +/-   ##
=======================================
  Coverage   66.71%   66.71%           
=======================================
  Files           8        8           
  Lines         661      661           
=======================================
  Hits          441      441           
  Misses        173      173           
  Partials       47       47           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@zzjin zzjin merged commit 2778291 into labring:main Aug 29, 2023
28 checks passed
lingdie added a commit to lingdie/sealos that referenced this pull request Aug 29, 2023
* Fix/debt webhook config (labring#3777)

* fix webhook policy cause api-server busy

* fix account status via webhook

* style: rename some functions and constants related with runtime implementation (labring#3763)

* style: rename constants.Data to PathResolver

* style: move non-generic constants to respective module directories

* style: rename functions

* fix: path of remote config dir

* fix: path of kubeadm init and upate file in e2e test

* fix: avoid reusing the private ConvertedKubeadmConfig

* style: rename ConfigsPath

* feat:cronjob deploy & desktop background (labring#3776)

* feat:cronjob deploy

Signed-off-by: jingyang <3161362058@qq.com>

* desktop background

Signed-off-by: jingyang <3161362058@qq.com>

* delete serviceAccount

* backgrond svg

---------

Signed-off-by: jingyang <3161362058@qq.com>

* feat:template develop dryrun deploy (labring#3778)

Signed-off-by: jingyang <3161362058@qq.com>

* Count pods that not in succeeded & watch gpu changes on nodes (labring#3754)

* fix: count pods that not in succeeded

* feat: watch gpu changes on nodes

* fix golangci-lint

* fix

* abstract methods

* fix golangci-lint

* launchpad imagePullPolicy (labring#3775)

* add sealos cloud arm64 cluster image

---------

Signed-off-by: jingyang <3161362058@qq.com>
Co-authored-by: Jiahui <4543bxy@gmail.com>
Co-authored-by: fengxsong <fengxsong@outlook.com>
Co-authored-by: zhujingyang <72259332+zjy365@users.noreply.github.com>
Co-authored-by: xuziyi <nowinkey@tom.com>
Co-authored-by: Archer <545436317@qq.com>
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.

None yet

3 participants