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

introduce watch restart action #12375

Merged
merged 1 commit into from
Dec 12, 2024
Merged

introduce watch restart action #12375

merged 1 commit into from
Dec 12, 2024

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Dec 11, 2024

What I did

Related issue
depends on compose-spec/compose-go#719
closes #11446

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof requested a review from glours December 11, 2024 13:39
@ndeloof ndeloof force-pushed the watch_restart branch 2 times, most recently from 40b9255 to 4674e60 Compare December 11, 2024 17:41
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

👍

go.mod Outdated
@@ -9,7 +9,7 @@ require (
github.com/Microsoft/go-winio v0.6.2
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
github.com/buger/goterm v1.0.4
github.com/compose-spec/compose-go/v2 v2.4.6-0.20241203131247-9a9cc5d9c345
github.com/compose-spec/compose-go/v2 v2.4.6-0.20241211145305-4afb43c663dd
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit, use the release v2.4.6 version of compose-go, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes indeed, let's kill 2 birds with 1 stone

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof enabled auto-merge (rebase) December 12, 2024 08:44
@ndeloof ndeloof merged commit df9e420 into docker:main Dec 12, 2024
28 checks passed
@ndeloof ndeloof deleted the watch_restart branch December 12, 2024 11:21
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Dec 20, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker/compose](https://github.com/docker/compose) | minor | `v2.31.0` -> `v2.32.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>docker/compose (docker/compose)</summary>

### [`v2.32.1`](https://github.com/docker/compose/releases/tag/v2.32.1)

[Compare Source](docker/compose@v2.32.0...v2.32.1)

#### What's Changed

##### 🐛 Fixes

-   only check volume mounts for updated config by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12386
-   e2e test to prevent future regression by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12389

**Full Changelog**: docker/compose@v2.32.0...v2.32.1

### [`v2.32.0`](https://github.com/docker/compose/releases/tag/v2.32.0)

[Compare Source](docker/compose@v2.31.0...v2.32.0)

#### What's Changed

##### ✨ Improvements

-   build with bake by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12344
-   introduce watch restart action by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12375
-   introduce sync+exec watch action by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12330
-   Recreate container on volume configuration change by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12363

##### 🐛 Fixes

-   fix support for service.mac_address by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12371
-   pull --quiet should not drop status message, only progress by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12358
-   do not require a build section but for `rebuild` action by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12343
-   log configuration error as a watch log event by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12359

##### 🔧  Internal

-   disable failing TestBuildSSH test by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12349
-   Make e2e tests pass locally by [@&#8203;glours](https://github.com/glours) in docker/compose#12348

##### ⚙️ Dependencies

-   bump docker + buildx to latest release by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12372
-   bump otel dependencies to v1.28.0 and v0.53.0 to align with buildx, buildkit and engine versions by [@&#8203;glours](https://github.com/glours) in docker/compose#12338
-   build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#12378
-   build(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#12377
-   build(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#12353
-   build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#12352
-   update xx to v1.6.1 for compatibility with alpine 3.21 and file 5.46+ by [@&#8203;thaJeztah](https://github.com/thaJeztah) in docker/compose#12366

**Full Changelog**: docker/compose@v2.31.0...v2.32.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS42NC4wIiwidXBkYXRlZEluVmVyIjoiMzkuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
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.

Add simple restart action (without sync) to Compose Watch for use with bind mounts
2 participants