Comments (2)
There's also another instance where unmanagement would have reduced the complexity of a change massively:
https://gitlab.flyingcircus.io/flyingcircus/fc.directory.deployment/-/merge_requests/65
from batou.
A similar approach for files might be temporary states, where intermediate files are stored in a temp directory.
Archives for example, where you only require the contents of the archive, not the archive itself, could be downloaded to a temporary location, unpacked there and subsequently deleted without requiring the user to manage the download location or the deletion of the archive manually.
In python pseudo-code this might look like
with S3Download(...) as archive:
extract(archive, inplace=True)
copy(f"{archive}/README.txt", f"{workdir}/README.txt")
# the archive is being deleted right after the copy or exists only in `/tmp`
I am not sure how well that would fit the batou configure-verify-update model though, maybe a wrapper component like
self += TempDir(S3Download(...))
self.temp_archive = self._
...
could work better?
from batou.
Related Issues (20)
- readme is outdated HOT 2
- Improve secret detection handling
- Allow consistency check to run offline (in CI)
- Provisioning lacks per host settings HOT 2
- Output component level error information
- JSONContent integration incomplete HOT 2
- add newline to .batou.json
- Multiple URLs with the same identities cause duplicated recipients in age encrypted secrets HOT 4
- Superfluous complicated message for long diffs + sensitive data
- User story for re-init git-bundle on remotes after history rewriting
- feature request: warn about untracked components on the remote side
- Better error message if batou is already running
- Feature request: Let batou return requested environment value in the commandline
- Allow only one batou deployment at a time
- Provide more SSH output if connection fails
- bootstrap script generates requirements.txt with very old batou version
- Long time to encrypt/decrypt age secret files HOT 1
- Update method `git-bundle` doesn't remove deleted files if `rsync` method was used before
- turn environment config into toml files HOT 1
- crashing on migrate when there is no environments folder
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 batou.