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

In some rare occasions s6-overlay hangs at shutdown for undefined amount of time #558

Closed
felipecrs opened this issue Nov 24, 2023 · 4 comments

Comments

@felipecrs
Copy link

felipecrs commented Nov 24, 2023

From users perspective, this issue is very similar #557, the difference being that this happens very rarely now.

I use s6-overlay in my jenkins-agent image, to bring up a docker daemon inside the container as a sidecar service.

I had never observed such a problem when I was using v2 (which I recently upgraded felipecrs/docker-images#78), but after upgrading to v3, I started catching this problem.

My environment runs thousands of containers like this every day, and at the end of a working day I noticed 4 in "Termination" state (k8s) for a very long time (more than 50 minutes) with the container still running, and checking its logs, I can see:

medium-karrer001-lz2pq jnlp Nov 24, 2023 7:44:56 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave$SlaveDisconnector call
medium-karrer001-lz2pq jnlp INFO: Disabled agent engine reconnects.
medium-karrer001-lz2pq jnlp Nov 24, 2023 7:44:56 PM hudson.remoting.Launcher$CuiListener status
medium-karrer001-lz2pq jnlp INFO: Write side closed
medium-karrer001-lz2pq jnlp s6-rc: info: service legacy-services: stopping
medium-karrer001-lz2pq jnlp Received signal 15; terminating.
medium-karrer001-lz2pq jnlp time="2023-11-24T19:44:56.583376624Z" level=info msg="Processing signal 'terminated'"
medium-karrer001-lz2pq jnlp Nov 24, 2023 7:44:56 PM hudson.remoting.Launcher$CuiListener status
medium-karrer001-lz2pq jnlp INFO: Read side closed
medium-karrer001-lz2pq jnlp Nov 24, 2023 7:44:56 PM hudson.remoting.Launcher$CuiListener status
medium-karrer001-lz2pq jnlp INFO: Terminated
medium-karrer001-lz2pq jnlp Nov 24, 2023 7:44:56 PM hudson.remoting.Launcher$CuiListener status
medium-karrer001-lz2pq jnlp INFO: Read side closed
medium-karrer001-lz2pq jnlp time="2023-11-24T19:44:58.616127477Z" level=error msg="stream copy error: read /proc/self/fd/38: file already closed"
medium-karrer001-lz2pq jnlp time="2023-11-24T19:44:58.616138528Z" level=error msg="stream copy error: read /proc/self/fd/39: file already closed"
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:00.620677740Z" level=warning msg="error copying stdout" runtime=io.containerd.runc.v2
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:00.620870318Z" level=warning msg="error copying stderr" runtime=io.containerd.runc.v2
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:06.599597216Z" level=info msg="Container failed to exit within 10s of signal 15 - using the force" container=88f8afd0a0f49698fc87cbd40f6d2707829b8fdf0c97a2f1ad952f82e6e02a96
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:11.584523240Z" level=error msg="Force shutdown daemon"
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:11.584624658Z" level=info msg="Daemon shutdown complete"
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:11.584772233Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:11.584804684Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerd
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:11.584819011Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=moby
medium-karrer001-lz2pq jnlp s6-svwait: fatal: timed out
medium-karrer001-lz2pq jnlp s6-rc: info: service legacy-services successfully stopped
medium-karrer001-lz2pq jnlp s6-rc: info: service legacy-cont-init: stopping
medium-karrer001-lz2pq jnlp s6-rc: info: service legacy-cont-init successfully stopped
medium-karrer001-lz2pq jnlp s6-rc: info: service fix-attrs: stopping
medium-karrer001-lz2pq jnlp s6-rc: info: service fix-attrs successfully stopped
medium-karrer001-lz2pq jnlp s6-rc: info: service s6rc-oneshot-runner: stopping
medium-karrer001-lz2pq jnlp s6-rc: info: service s6rc-oneshot-runner successfully stopped
medium-karrer001-lz2pq jnlp time="2023-11-24T19:45:11.615070940Z" level=info msg="Processing signal 'terminated'"

As you can see, looks like the docker daemon within the container did not exit in time (s6-svwait: fatal: timed out), and then I am not sure what else happened, but s6-overlay was supposed to wait for 15s and then force kill everything.

Again, note that this only happens rarely. I cannot reproduce the issue reliably, tried a lot, and I could not build an example repository too that can reproduce the problem.

These are my S6 envs:

ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 \
    # Wait for services before running CMD \
    S6_CMD_WAIT_FOR_SERVICES=1 \
    # Give 15s for services to start \
    S6_CMD_WAIT_FOR_SERVICES_MAXTIME=15000 \
    # Give 15s for services to stop \
    S6_SERVICES_GRACETIME=15000 \
    # Honor container env on CMD \
    S6_KEEP_ENV=1

My only hope is that maybe some part of the code that was changed to fix #557 is not fully bullet proof and can be optimized to ensure this does not happen.

If it is not the case, and you think nothing can be done unless we can reproduce the issue reliably, feel free to close this issue.

For now, my only option is to downgrade back to v2, unfortunately.

felipecrs added a commit to felipecrs/docker-images that referenced this issue Nov 24, 2023
@felipecrs
Copy link
Author

PS: It may also be related to how stressed the machine is at the moment of shutdown.

@felipecrs
Copy link
Author

I just caught a situation where docker daemon actually gracefully finishes within the SERVICES_GRACETIME, but container still hangs at shutdown so I believe the issue is not related to that.

small-karrer001-cx0qq jnlp INFO: Terminated
small-karrer001-cx0qq jnlp Nov 24, 2023 8:29:15 PM hudson.remoting.Launcher$CuiListener status
small-karrer001-cx0qq jnlp INFO: Performing onReconnect operation.
small-karrer001-cx0qq jnlp s6-rc: info: service legacy-services: stopping
small-karrer001-cx0qq jnlp Received signal 15; terminating.
small-karrer001-cx0qq jnlp time="2023-11-24T20:51:21.072402755Z" level=info msg="Processing signal 'terminated'"
small-karrer001-cx0qq jnlp time="2023-11-24T20:51:21.075793836Z" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
small-karrer001-cx0qq jnlp time="2023-11-24T20:51:21.076441096Z" level=info msg="Daemon shutdown complete"
small-karrer001-cx0qq jnlp time="2023-11-24T20:51:21.076613767Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
small-karrer001-cx0qq jnlp time="2023-11-24T20:51:21.076613006Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerd
small-karrer001-cx0qq jnlp s6-rc: info: service legacy-services successfully stopped
small-karrer001-cx0qq jnlp s6-rc: info: service legacy-cont-init: stopping
small-karrer001-cx0qq jnlp s6-rc: info: service legacy-cont-init successfully stopped
small-karrer001-cx0qq jnlp s6-rc: info: service fix-attrs: stopping
small-karrer001-cx0qq jnlp s6-rc: info: service fix-attrs successfully stopped
small-karrer001-cx0qq jnlp s6-rc: info: service s6rc-oneshot-runner: stopping
small-karrer001-cx0qq jnlp s6-rc: info: service s6rc-oneshot-runner successfully stopped

@skarnet
Copy link
Contributor

skarnet commented Nov 25, 2023

This is disturbing, this suggests a race condition somewhere, that is rarely hit.

Indeed, if the problem is similar to the one in #557, this is entirely independent from graceful termination succeeding or not.

Did you observe that issue in s6-overlay v3.1.6.0 as well? or did it only start in v3.1.6.1 (where it was 100%) and continue in v3.1.6.2 (<0.4% of the time)?

@felipecrs
Copy link
Author

Hey, @skarnet, thanks a lot for your response. I observed some cluster issues in my environment related to the volumes not being properly unmounted at pod finalization. Work is being done to fix that, and I am believing that it could be the cause of the problem and that nothing would be wrong with s6-overlay itself.

When that cluster issue gets resolved at my side, I will re-attempt to upgrade to v3, and monitor.

For now I will close this issue as there's nothing to be done from your side, and I will reopen if I face similar problems after upgrading again.

Again, thanks. Have a great weekend.

@felipecrs felipecrs closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2023
felipecrs added a commit to felipecrs/docker-images that referenced this issue Nov 27, 2023
maayanyosef added a commit to explorium-ai/jenkins-agent-dind that referenced this issue Jul 28, 2024
* Downgrade docker compose from 2.19.1 to 2.18.1

Because of docker/compose#10751

* Revert "Downgrade docker compose from 2.19.1 to 2.18.1"

Because docker compose 2.20.2 solves the issue.

This reverts commit d0e25e5.

* Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)

* Align remoting version with jenkins/docker-agent

So we don't try to use non-tested versions of the remoting library.

Also adds some dependencies from jenkins/docker-agent that were missing
in this image.

* Bump dind hack to latest version

* Clean not needed data like man pages

* Switch skopeo installation to skopeo-bin

* Upgrade fixuid from 0.5.1 to 0.6.0

* Add retry (felipecrs#80)

* Fix some hadolint issues

* Bump actions/checkout from 3 to 4 (felipecrs#81)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/metadata-action from 4 to 5 (felipecrs#85)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](docker/metadata-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/build-push-action from 4 to 5 (felipecrs#84)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/login-action from 2 to 3 (felipecrs#83)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/setup-buildx-action from 2 to 3 (felipecrs#82)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Honor default shell in /ssh-command/get.sh

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)

* Revert "Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)" (felipecrs#86)

This reverts commit 0c9a5a9.

* Revert "Upgrade s6-overlay from v2 to v3 (felipecrs#78)"

This reverts commit b074844, due to
just-containers/s6-overlay#558.

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)""

This reverts commit 70ec592.

Refs felipecrs#78
Refs just-containers/s6-overlay#558 (comment)

* Downgrade and pin Node.js to v18 (felipecrs#90)

* Bump peter-evans/dockerhub-description from 3 to 4 (felipecrs#91)

Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 3 to 4.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](peter-evans/dockerhub-description@v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Ubuntu 20.04 to 22.04

* Fix minor README issues (felipecrs#93)

* Extract image preparation into a separate script and improve it (felipecrs#94)

Among other things, the new script no longer needs add-apt-repository,
changes the kubernetes debian repository to the new one.

As part of this improvement, we also change the base image from
buildpack to ubuntu, while still keeping the build-essential package
installed. This allows to trim the image size a little bit.

* Stop publishing to Docker Hub (felipecrs#95)

I prefer to concentrate on publishing to GitHub Container Registry, so
that I don't need to maintain two accounts and also because this way all
download counts are in one place.

As part of this change, I also removed the Docker image from Docker Hub,
so that when users try to download it again, it will fail and therefore
notice that the image is no longer available there. Otherwise, they
would keep using the old image without noticing that it's no longer
updated.

* Remove btrfs-progs and add pigz for faster docker pulls (felipecrs#96)

* Remove non-generic packages from image but add pkgx (felipecrs#97)

* Set docker daemon log-level to warn by default (felipecrs#98)

And remove deprecated fix-attrs.

* Use same JDK as jenkins/inbound-agent (upgrade to 17) (felipecrs#89)

* Add automatic tests (felipecrs#59)

* Add support for `arm64` architecture (felipecrs#75)

* Add Oh My Bash and nano to make debugging the container easier (felipecrs#99)

* Add mention to pkgx and sshd into README

* Allow to run with docker on docker mode (felipecrs#100)

* Setup dond-shim when running in docker on docker mode (felipecrs#101)

* Configure Renovate (felipecrs#102)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Format json files

* Enable Renovate automerge and dependency dashboard

* Remove nightly docker tags and other dev improvements

* Fix build and Renovate regex

* Reorganize README

* Allow to run as a devcontainer (felipecrs#104)

* Configure Renovate to update Docker (felipecrs#106)

* Update dependency felipecrs/fixdockergid to v0.7.1

* Update dependency docker/buildx to v0.13.0

* Update dependency moby/moby to v25.0.4 (felipecrs#110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency docker/compose to v2.24.7 (felipecrs#108)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Update ubuntu Docker tag to jammy-20240227 (felipecrs#111)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Fix shell in intermediate stage

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-5

* Refactor legacy s6-overlay services.d into s6-rc.d (felipecrs#114)

* Set startup time per s6-overlay service (felipecrs#115)

* Split image into devcontainer and jenkins-agent-dind (felipecrs#117)

* Fix paths in renovate.json after rename [skip ci]

* Fix image push

* Fix image push (again)

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-6

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-7

* Configure GitHub Actions cache (felipecrs#124)

* Update dependency moby/moby to v25.0.5

* Update dependency docker/compose to v2.25.0

* Update dependency docker/buildx to v0.13.1 (felipecrs#118)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Only pin docker-ce version (felipecrs#127)

* Retain USER and HOME env vars when running with docker exec

* Add tests for USER env var

* Reduce sleeps

* Check docker socket through mountpoint

* Speed up Jenkins startup in test

* Fix devcontainer not running entrypoint

* Fix description label of the images

* Fix build cache in CI not being used properly

Refs docker/buildx#1044

* Update jenkins/jenkins Docker tag to v2.440.2

* Combine dockerfiles to improve caching (felipecrs#130)

Because apparently bake does not cache linked build contexts.

* Update dependency moby/moby to v26 (felipecrs#131)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix images description in ghcr.io (felipecrs#133)

* Add test for SSHD in devcontainer (felipecrs#135)

* Test scripted pipeline mounting ~/.m2 (felipecrs#136)

* Ship a better default Dockerfile `SHELL` (felipecrs#137)

* Update dependency moby/moby to v26.0.1

* Update ubuntu Docker tag to jammy-20240405

* Update jenkins/jenkins Docker tag to v2.440.3

* Update dependency moby/moby to v26.0.2

* Update dependency moby/moby to v26.1.0

* Update ubuntu Docker tag to jammy-20240416

* Update Ubuntu 22.04 to 24.04 (felipecrs#144)

* Add Volta back as a pkgx stub (felipecrs#146)

* Move Volta stub to ~/.local/bin instead of /usr/local/bin (felipecrs#148)

* Add python3 and pipx (felipecrs#149)

* Update dependency moby/moby to v26.1.1

* Update ubuntu Docker tag to noble-20240429

* Prefer volta binaries over pkgx ones if available (felipecrs#152)

* Inherit DOMAIN from parent container for /ssh-command/get.sh (felipecrs#153)

* Update dependency moby/moby to v26.1.2

* Update Jenkins Agent JDK from 17 to 21 (felipecrs#155)

* Bypass dind hack when running with Sysbox (felipecrs#156)

* Add wget back to devcontainer and jenkins-agent-dind

Wget was part of v1, but was unintentionally removed in v2.

* Update dependency jenkinsci/helm-charts to v5.1.13

* Update dependency jenkinsci/helm-charts to v5.1.15

* Update dependency jenkinsci/helm-charts to v5.1.16

* Update dependency moby/moby to v26.1.3

* Update dependency jenkinsci/helm-charts to v5.1.17

* Update dependency jenkinsci/helm-charts to v5.1.18

* Update dependency jenkinsci/helm-charts to v5.1.20

* Update dependency jenkinsci/helm-charts to v5.1.21

* Update dependency jenkinsci/helm-charts to v5.1.22

* Update dependency jenkinsci/helm-charts to v5.1.23

* Update dependency jenkinsci/helm-charts to v5.1.24

* Update dependency jenkinsci/helm-charts to v5.1.25

* Update dependency jenkinsci/helm-charts to v5.1.26

* Update ubuntu Docker tag to noble-20240530

* Update dependency moby/moby to v26.1.4

* Update dependency jenkinsci/helm-charts to v5.1.28

* Update dependency jenkinsci/helm-charts to v5.1.29

* Update dependency jenkinsci/helm-charts to v5.1.30

* Update dependency jenkinsci/helm-charts to v5.1.31

* Update dependency jenkinsci/helm-charts to v5.2.0

* Update dependency jenkinsci/helm-charts to v5.2.1

* Update dependency jenkinsci/helm-charts to v5.2.2

* Update docker/bake-action action to v5 (felipecrs#179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update ubuntu Docker tag to noble-20240605

* Update dependency jenkinsci/helm-charts to v5.3.0

* Update dependency jenkinsci/helm-charts to v5.3.1

* Update dependency moby/moby to v27 (felipecrs#183)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency moby/moby to v27.0.2

* Use my pkgx fork while main repo is inactive (felipecrs#185)

* Update dependency jenkinsci/helm-charts to v5.3.2

* Update dependency jenkinsci/helm-charts to v5.3.3

* Create FUNDING.yml

* Update dependency felipecrs/pkgx to 1.2.0-felipecrs.1 (felipecrs#189)

* Update dependency moby/moby to v27.0.3

* Improve Renovate depNames

* Try to fix Renovate for felipecrs/pkgx

* Remove unnecessary Renovate config for felipecrs/pkgx

* Update dependency felipecrs/pkgx to v1.2.0-felipecrs.2

* Update dependency jenkinsci/helm-charts to v5.3.6

* Update dependency jenkinsci/helm-charts to v5.4.1

* Update dependency jenkinsci/helm-charts to v5.4.2

* Update dependency jenkinsci/helm-charts to v5.4.3

* Update dependency docker to v27.1.0

* Update dependency docker to v27.1.1

* update ci

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
maayanyosef added a commit to explorium-ai/jenkins-agent-dind that referenced this issue Jul 28, 2024
* Downgrade docker compose from 2.19.1 to 2.18.1

Because of docker/compose#10751

* Revert "Downgrade docker compose from 2.19.1 to 2.18.1"

Because docker compose 2.20.2 solves the issue.

This reverts commit d0e25e5.

* Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)

* Align remoting version with jenkins/docker-agent

So we don't try to use non-tested versions of the remoting library.

Also adds some dependencies from jenkins/docker-agent that were missing
in this image.

* Bump dind hack to latest version

* Clean not needed data like man pages

* Switch skopeo installation to skopeo-bin

* Upgrade fixuid from 0.5.1 to 0.6.0

* Add retry (felipecrs#80)

* Fix some hadolint issues

* Bump actions/checkout from 3 to 4 (felipecrs#81)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/metadata-action from 4 to 5 (felipecrs#85)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](docker/metadata-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/build-push-action from 4 to 5 (felipecrs#84)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/login-action from 2 to 3 (felipecrs#83)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/setup-buildx-action from 2 to 3 (felipecrs#82)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Honor default shell in /ssh-command/get.sh

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)

* Revert "Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)" (felipecrs#86)

This reverts commit 0c9a5a9.

* Revert "Upgrade s6-overlay from v2 to v3 (felipecrs#78)"

This reverts commit b074844, due to
just-containers/s6-overlay#558.

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)""

This reverts commit 70ec592.

Refs felipecrs#78
Refs just-containers/s6-overlay#558 (comment)

* Downgrade and pin Node.js to v18 (felipecrs#90)

* Bump peter-evans/dockerhub-description from 3 to 4 (felipecrs#91)

Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 3 to 4.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](peter-evans/dockerhub-description@v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Ubuntu 20.04 to 22.04

* Fix minor README issues (felipecrs#93)

* Extract image preparation into a separate script and improve it (felipecrs#94)

Among other things, the new script no longer needs add-apt-repository,
changes the kubernetes debian repository to the new one.

As part of this improvement, we also change the base image from
buildpack to ubuntu, while still keeping the build-essential package
installed. This allows to trim the image size a little bit.

* Stop publishing to Docker Hub (felipecrs#95)

I prefer to concentrate on publishing to GitHub Container Registry, so
that I don't need to maintain two accounts and also because this way all
download counts are in one place.

As part of this change, I also removed the Docker image from Docker Hub,
so that when users try to download it again, it will fail and therefore
notice that the image is no longer available there. Otherwise, they
would keep using the old image without noticing that it's no longer
updated.

* Remove btrfs-progs and add pigz for faster docker pulls (felipecrs#96)

* Remove non-generic packages from image but add pkgx (felipecrs#97)

* Set docker daemon log-level to warn by default (felipecrs#98)

And remove deprecated fix-attrs.

* Use same JDK as jenkins/inbound-agent (upgrade to 17) (felipecrs#89)

* Add automatic tests (felipecrs#59)

* Add support for `arm64` architecture (felipecrs#75)

* Add Oh My Bash and nano to make debugging the container easier (felipecrs#99)

* Add mention to pkgx and sshd into README

* Allow to run with docker on docker mode (felipecrs#100)

* Setup dond-shim when running in docker on docker mode (felipecrs#101)

* Configure Renovate (felipecrs#102)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Format json files

* Enable Renovate automerge and dependency dashboard

* Remove nightly docker tags and other dev improvements

* Fix build and Renovate regex

* Reorganize README

* Allow to run as a devcontainer (felipecrs#104)

* Configure Renovate to update Docker (felipecrs#106)

* Update dependency felipecrs/fixdockergid to v0.7.1

* Update dependency docker/buildx to v0.13.0

* Update dependency moby/moby to v25.0.4 (felipecrs#110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency docker/compose to v2.24.7 (felipecrs#108)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Update ubuntu Docker tag to jammy-20240227 (felipecrs#111)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Fix shell in intermediate stage

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-5

* Refactor legacy s6-overlay services.d into s6-rc.d (felipecrs#114)

* Set startup time per s6-overlay service (felipecrs#115)

* Split image into devcontainer and jenkins-agent-dind (felipecrs#117)

* Fix paths in renovate.json after rename [skip ci]

* Fix image push

* Fix image push (again)

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-6

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-7

* Configure GitHub Actions cache (felipecrs#124)

* Update dependency moby/moby to v25.0.5

* Update dependency docker/compose to v2.25.0

* Update dependency docker/buildx to v0.13.1 (felipecrs#118)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Only pin docker-ce version (felipecrs#127)

* Retain USER and HOME env vars when running with docker exec

* Add tests for USER env var

* Reduce sleeps

* Check docker socket through mountpoint

* Speed up Jenkins startup in test

* Fix devcontainer not running entrypoint

* Fix description label of the images

* Fix build cache in CI not being used properly

Refs docker/buildx#1044

* Update jenkins/jenkins Docker tag to v2.440.2

* Combine dockerfiles to improve caching (felipecrs#130)

Because apparently bake does not cache linked build contexts.

* Update dependency moby/moby to v26 (felipecrs#131)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix images description in ghcr.io (felipecrs#133)

* Add test for SSHD in devcontainer (felipecrs#135)

* Test scripted pipeline mounting ~/.m2 (felipecrs#136)

* Ship a better default Dockerfile `SHELL` (felipecrs#137)

* Update dependency moby/moby to v26.0.1

* Update ubuntu Docker tag to jammy-20240405

* Update jenkins/jenkins Docker tag to v2.440.3

* Update dependency moby/moby to v26.0.2

* Update dependency moby/moby to v26.1.0

* Update ubuntu Docker tag to jammy-20240416

* Update Ubuntu 22.04 to 24.04 (felipecrs#144)

* Add Volta back as a pkgx stub (felipecrs#146)

* Move Volta stub to ~/.local/bin instead of /usr/local/bin (felipecrs#148)

* Add python3 and pipx (felipecrs#149)

* Update dependency moby/moby to v26.1.1

* Update ubuntu Docker tag to noble-20240429

* Prefer volta binaries over pkgx ones if available (felipecrs#152)

* Inherit DOMAIN from parent container for /ssh-command/get.sh (felipecrs#153)

* Update dependency moby/moby to v26.1.2

* Update Jenkins Agent JDK from 17 to 21 (felipecrs#155)

* Bypass dind hack when running with Sysbox (felipecrs#156)

* Add wget back to devcontainer and jenkins-agent-dind

Wget was part of v1, but was unintentionally removed in v2.

* Update dependency jenkinsci/helm-charts to v5.1.13

* Update dependency jenkinsci/helm-charts to v5.1.15

* Update dependency jenkinsci/helm-charts to v5.1.16

* Update dependency moby/moby to v26.1.3

* Update dependency jenkinsci/helm-charts to v5.1.17

* Update dependency jenkinsci/helm-charts to v5.1.18

* Update dependency jenkinsci/helm-charts to v5.1.20

* Update dependency jenkinsci/helm-charts to v5.1.21

* Update dependency jenkinsci/helm-charts to v5.1.22

* Update dependency jenkinsci/helm-charts to v5.1.23

* Update dependency jenkinsci/helm-charts to v5.1.24

* Update dependency jenkinsci/helm-charts to v5.1.25

* Update dependency jenkinsci/helm-charts to v5.1.26

* Update ubuntu Docker tag to noble-20240530

* Update dependency moby/moby to v26.1.4

* Update dependency jenkinsci/helm-charts to v5.1.28

* Update dependency jenkinsci/helm-charts to v5.1.29

* Update dependency jenkinsci/helm-charts to v5.1.30

* Update dependency jenkinsci/helm-charts to v5.1.31

* Update dependency jenkinsci/helm-charts to v5.2.0

* Update dependency jenkinsci/helm-charts to v5.2.1

* Update dependency jenkinsci/helm-charts to v5.2.2

* Update docker/bake-action action to v5 (felipecrs#179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update ubuntu Docker tag to noble-20240605

* Update dependency jenkinsci/helm-charts to v5.3.0

* Update dependency jenkinsci/helm-charts to v5.3.1

* Update dependency moby/moby to v27 (felipecrs#183)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency moby/moby to v27.0.2

* Use my pkgx fork while main repo is inactive (felipecrs#185)

* Update dependency jenkinsci/helm-charts to v5.3.2

* Update dependency jenkinsci/helm-charts to v5.3.3

* Create FUNDING.yml

* Update dependency felipecrs/pkgx to 1.2.0-felipecrs.1 (felipecrs#189)

* Update dependency moby/moby to v27.0.3

* Improve Renovate depNames

* Try to fix Renovate for felipecrs/pkgx

* Remove unnecessary Renovate config for felipecrs/pkgx

* Update dependency felipecrs/pkgx to v1.2.0-felipecrs.2

* Update dependency jenkinsci/helm-charts to v5.3.6

* Update dependency jenkinsci/helm-charts to v5.4.1

* Update dependency jenkinsci/helm-charts to v5.4.2

* Update dependency jenkinsci/helm-charts to v5.4.3

* Update dependency docker to v27.1.0

* Update dependency docker to v27.1.1

* update ci

* Update README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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

No branches or pull requests

2 participants