Comments (4)
please re-open, I think I know what it is
from rockcraft.
This looks like a craft-providers issue, @facundobatista and @mr-cal both recently worked on the code paths related to this, I will make sure looking into this is planned for in our upcoming sprint.
from rockcraft.
Can't manage to reproduce in 100% cases... I will reopen with a working step-by-step example when I manage to reproduce.
from rockcraft.
Update
the reported error case was caused by the introduction of base: bare
in #36. This specific corner case has been fixed in d1a5f04.
I'd suggest nonetheless to keep this issue open, and ask @valentincanonical to update the description as the request is still valid for other error cases as well, like: when installing a new Rockcraft snap locally, if there is already an LXC instance from a previous build, all forthcoming builds of the same ROCK will still have the old Rockcraft version installed within the LXC instance.
Other unforeseen error cases might still occur, due to the leftover image/bundle/step dirs left within the LXC instance from previous builds.
Additionally, sensitive information might also be leftover within the LXC instance after a build.
Conclusion
I believe the issue is still valid, and we should aim to have a clean environment on every ROCK build - ideally having a new LXC instance for every build, without compromising build time
from rockcraft.
Related Issues (20)
- Remove references to "edge" from the docs
- Remove the "Rockcraft Parts" page
- Integrate with Starbase
- Show link to full execution logs when `rockcraft pack --debug` enters debug session HOT 3
- clarify the impact of the global rockcraft.yaml fields in the final ROCK
- add the typical environment variables to any interactive session, like with `--debug`
- Error message for invalid versions is misleading
- Document how primed files become an OCI layer
- improve the speed rockcraft's iterative design experience
- isolate parts of a rockcraft build process from each other
- Integrate plugin docs from craft-parts
- Dedicated plugin for `deb-security-manifest` HOT 5
- Consider creating and making the _daemon_ user available before running any steps
- Add support for pinning the build and build-base images
- `run-user` does not work properly without `services` HOT 1
- rock with `entrypoint-service` does not work if executed without any `args` HOT 7
- Summarise what has/has not been completed when failing or entering a `--debug` session HOT 1
- overlay-packages is not documented in rockcraft.yaml reference HOT 1
- Upgrade skopeo version for docker engine API version HOT 4
- Add support for `org.opencontainers.image.revision` annotation HOT 1
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 rockcraft.