damoon / d8s Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
add environment variable to detect d8s usage from tilt and disable docker prune schedule
https://docs.tilt.dev/api.html#api.docker_prune_settings
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/check.yml
actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
golangci/golangci-lint-action v3@639cd343e1d3b897ff35927a75193d57cfcba299
actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
actions/setup-go v4@fac708d6674e30b6ba41289acaab6d4b75aa0753
actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
helm/kind-action v1.7.0@fa81e57adff234b2908110485695db0f181f3c67
yokawasa/action-setup-kube-tools v0.9.3@af4ebb1af1efd30c5bd84a2e9773355ad6362a33
actions/setup-go v4@fac708d6674e30b6ba41289acaab6d4b75aa0753
.github/workflows/release.yml
actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
actions/setup-go v4@fac708d6674e30b6ba41289acaab6d4b75aa0753
goreleaser/goreleaser-action v3@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757
go.mod
go 1.17
github.com/urfave/cli/v2 v2.24.4
pkg/kubernetes.yaml
ghcr.io/turbine-kreuzberg/dind-nurse latest@sha256:3ea535a54ee43e743b0e09860c8d36810fb64ff9e2a0eaf331e0ea289b382b0b
docker 24.0.2-dind@sha256:28c6ddb5d7bfdc019fb39cc2797351a6e3e81458ad621808e5e9dd3e41538c77
Deployment apps/v1
.github/workflows/check.yml
golangci/golangci-lint v1.53.3
golangci/golangci-lint '1.20.5'
golangci/golangci-lint '1.20.5'
.github/workflows/check.yml
golang/go 1.20.5
golang/go 1.20.5
.github/workflows/check.yml
tilt-dev/tilt v0.33.1
How to reproduce:
# list port-forwards before
ps u | grep 'kubectl port-forward'
# run some minimal d8s commands
d8s up sh -c 'exit 0'
d8s run sh -c 'exit 0'
# list port-forwards after
ps u | grep 'kubectl port-forward'
Expected behaviour: The number of port-forwards stays the same.
Actual behaviour: The number of port-forwards increases every time d8s
is executed.
d8s version: 0.9.2
uname -a: Linux [REDACTED] 5.4.0-97-generic #110~18.04.1-Ubuntu SMP Mon Jan 17 20:50:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
running something like this in a Tiltfile
will fail when running d8s up tilt up
:
def helmfile_docker(cmd):
pwd = local("pwd | tr -d '\n' ")
return local("docker run --rm -w /workdir -v %s:/workdir --entrypoint=bash quay.io/roboll/helmfile:v0.143.0 -c '%s'" % (pwd, cmd) )
a possible solution to that is using unset in the local directive like that:
def helmfile_docker(cmd):
pwd = local("pwd | tr -d '\n' ")
return local("unset DOCKER_HOST; docker run --rm -w /workdir -v %s:/workdir --entrypoint=bash quay.io/roboll/helmfile:v0.143.0 -c '%s'" % (pwd, cmd) )
This behaviour is not obvious although understandable as d8s overwrites the DOCKER_HOST.
This should maybe be mentioned in the documentation or handled in some other way?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.