Comments (9)
Hey @alexey-igrychev I am new and wanted to contribute.
Can I work on this issue?
from werf.
Our end goal is to enable layer-by-layer caching globally in the werf.yaml file hence we can add the staged option in the meta section of the werf.yaml
from werf.
- All files in the config folder related to directives in the
werf.yaml
and their processing. - I suggested looking at the usage of the staged option – it appears in six files:
from werf.
Hey!
To get started with setting up werf using the Buildah backend, along with an example project, check out the documentation here. Once you're set up, don't forget to follow the contributing guidelines which you can find here.
from werf.
Can you please share steps to get started?
from werf.
Hello, and thank your interest in this issue! ❤️
- Begin by understanding how the
werf.yaml
configuration is read and processed, then look into how the current staged directive works for individual images and where it is used. - After that, you will have enough knowledge to add the new staged directive under the build section and the rest of the code.
- Ensure that an image-specific staged setting overrides the common one, maintaining flexibility for individual configurations:
project: app configVersion: 1 build: staged: true --- image: example dockerfile: ./Dockerfile staged: false
- Ensure that an image-specific staged setting overrides the common one, maintaining flexibility for individual configurations:
- Finally, you should update documentation here and here.
Layer-by-layer caching works only with the Buildah backend and you can find the necessary setup instructions here.
Don't hesitate to reach out if you have any questions or need help along the way. 🙌🏼
from werf.
Hey @alexey-igrychev Thanks for helping me..
I had a few doubts-
-
we have many werf.yaml files so which one should I look and understand the code of that file?
-
You pointed to look into
pkg/config/image_from_dockerfile.go
file and see how the Staged is used but when i see it then i think it is used in the function
func (c *ImageFromDockerfile) IsStapel() bool {
return false
}
and it always returns false so i cant understand what to look into this file?
from werf.
Thanks I will look into it
from werf.
Hey @alexey-igrychev I looked into the files and dir mentioned by you and I will start working on it..
Just a question: can you please share some steps to get started?
from werf.
Related Issues (20)
- feature: new deploy engine HOT 4
- Harbor cleanup: Robot account doesn't have enough rights for cleanup images HOT 1
- Charts from .helm/charts dir not packed into bundle by default
- Panic building staged multiplatform images HOT 1
- Add support registries.conf HOT 1
- Print name/kind when werf diff fails HOT 1
- `werf helm secret values` does not round-trip for numbers in Yaml HOT 2
- buildah: using aws assumed role results in ignoring ECR account via --repo HOT 1
- werf helm dependency update not using values at WERF_VALUES_1 HOT 1
- deepCopy in werf.yaml not working HOT 2
- Final repo to dockerhub do not work HOT 2
- `--wait-for-jobs` causes werf not to track resources during `helm` `install`/`upgrade` HOT 2
- Добавить опции в режим деплоя bundle apply HOT 1
- Comprehensive support for mirror container registries HOT 3
- Build OCI artifacts and save to the registry
- error server-side applying resource "...": failed to create typed patch object "...": ...
- error adding edge from "..." to "...": edge would create a cycle
- werf helm upgrade fails with `error processing rollout phase stage: error tracking resources:` but normal helm doesn't HOT 5
- cannot change on fly werf HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from werf.