We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
custom.dependencies.ignore
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
Hello, I am observing a strange behavior with the custom.dependencies.ignore array.
Take this skaffold config:
apiVersion: skaffold/v4beta12 kind: Config metadata: name: myproject build: artifacts: - image: myimage context: ./test-build-avoidance custom: buildCommand: ./build.sh myimage dependencies: paths: - ./src/* ignore: - ./src/ignore/* tagPolicy: dateTime: {} local: push: true
And this structure:
test-build-avoidance/ ├── build.sh └── src ├── ignore │ └── tobeignored └── randomcode
When I run this command skaffold build --cache-file skaffold.cache -d myregistry:
skaffold build --cache-file skaffold.cache -d myregistry
skaffold.cache
tobeignored
This is the output of skaffold diagnose. I notice that even with this command the file tobeignored is counted.
skaffold diagnose
Generating tags... - myimage -> myimage:2025-03-14_10-59-00.577_CET Skaffold version: 62fba6a236833db0d0d689a33e0b1007518d3456 Configuration version: skaffold/v4beta12 Number of artifacts: 1 Custom artifact: myimage - Dependencies: 2 files - Time to list dependencies: 220.218µs (2nd time: 68.687µs) - Time to compute mTimes on dependencies: 8.498µs (2nd time: 3.247µs)
Thank you in advance!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I am observing a strange behavior with the
custom.dependencies.ignore
array.Take this skaffold config:
And this structure:
When I run this command
skaffold build --cache-file skaffold.cache -d myregistry
:skaffold.cache
filetobeignored
This is the output of
skaffold diagnose
. I notice that even with this command the filetobeignored
is counted.Thank you in advance!
The text was updated successfully, but these errors were encountered: