Comments (5)
After a little research it looks like we can do something similar to this: https://rust-lang-nursery.github.io/rust-cookbook/os/external.html#continuously-process-child-process-outputs.
It may be even simpler than this since we don't need to process the output, just display it.
from loop.
Might be helpful of what scripts/push-images.sh
is in case this is actually not the expected behavior:
#!/bin/bash
set -e
blue=$(tput setaf 4)
magenta=$(tput setaf 5)
yellow=$(tput setaf 3)
normal=$(tput sgr0)
function tagnbag() {
tag="$1"
gitlabTag="registry.gitlab.com/companyname/$1"
docker tag $tag $gitlabTag
printf "\n${blue}Pushing $gitlabTag ${normal}\n"
docker push $gitlabTag
}
tagnbag companyname/image1:prod
tagnbag companyname/image2:prod
tagnbag companyname/image3:prod
tagnbag companyname/image4:prod
tagnbag companyname/image5:prod
# so on and so forth
from loop.
😍 tagnbag
😍
This is an excellent use case that we should absolutely support.
I'm guessing this is possibly related to #7
Can you describe what does happen? Does it just exit with no output, or hang indefinitely? I'd like to be able to have a smallest possible reproduction of this.
from loop.
@art-of-dom any ideas about this one?
from loop.
Can you describe what does happen? Does it just exit with no output, or hang indefinitely? I'd like to be able to have a smallest possible reproduction of this.
I'm pretty sure loop
is running it, but outputs nothing while it is running. If the command fails, it then outputs the entirety of the stdout of the command up until it failed and goes silent again.
from loop.
Related Issues (20)
- offset and count-by are not working as expected. HOT 2
- Make and Distribute Debian Package HOT 12
- Compilation errors in Debian 9 HOT 1
- Normalize Usage in Readme
- stdin Broken HOT 1
- Floating Point Issues When Counting By Floats
- Duration/Until Time Appears To Have An Extra First Iteration
- Parallel execution HOT 4
- cat items | loop -- echo $ITEM broken?
- v0.6.1 on crates.io fails to compile HOT 6
- --until-changes and --until-same have the same documentation
- Error codes in summary are reported as negative numbers
- Continuous output during execution and refactoring HOT 2
- Could not compile `loop-rs`
- Please create a release and release tag
- Errors running `cargo test`
- Exponential Backoff HOT 1
- Maintainer Needed HOT 1
- loop + omnihash (all in one)?
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 loop.