Skip to content

feat: pull latest images before boot and bump to v0.0.15#98

Merged
Leechael merged 1 commit into
mainfrom
feat/phala-cloud-prelaunch-script-0_0_15
Jun 2, 2026
Merged

feat: pull latest images before boot and bump to v0.0.15#98
Leechael merged 1 commit into
mainfrom
feat/phala-cloud-prelaunch-script-0_0_15

Conversation

@Leechael
Copy link
Copy Markdown
Contributor

@Leechael Leechael commented Jun 2, 2026

Summary

  • Add docker compose pull before starting services so existing CVMs pick up new image tags; pull failure is fail-soft (continues with cached images).
  • Add shebang line.
  • Bump script version to v0.0.15.

Changes

The prelaunch script now runs docker compose pull against /dstack/docker-compose.yaml before booting services. This ensures running CVMs automatically pick up newer image tags on restart. If the pull fails (e.g. short-lived token expiry), the script continues with whatever images are already cached.

Test

  • Verified on a local CVM with stale images: pull succeeded and new tags were used.
  • Simulated pull failure: script continued and booted with cached images.

- Add `docker compose pull` before starting services so existing CVMs
  pick up new image tags; pull failure is fail-soft (continues with
  cached images).
- Add shebang line.
- Bump script version to v0.0.15.
@Leechael Leechael merged commit 9744eab into main Jun 2, 2026
6 checks passed
@Leechael Leechael deleted the feat/phala-cloud-prelaunch-script-0_0_15 branch June 2, 2026 13:15
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.

1 participant