Giter Site home page Giter Site logo

agent's People

Contributors

bogyo210 avatar commanderk5 avatar lucaspin avatar lyoung-confluent avatar mattrym avatar radwo avatar shiroyasha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agent's Issues

Missing "bash" is not reported as job log

Example:

2019/07/23 09:33:01.882436 job.go:314: {"directive":"Pulling docker images...","event":"cmd_finished","exit_code":0,"finished_at":1563874381,"started_at":1563874377,"timestamp":1563874381}
2019/07/23 09:33:01.882441 docker_compose_executor.go:123: Starting stateful shell
2019/07/23 09:33:01.882727 docker_compose_executor.go:351: Waiting for initialization
2019/07/23 09:33:01.882739 docker_compose_executor.go:356: (tty) export PS1=''
2019/07/23 09:33:01.882744 docker_compose_executor.go:356: (tty) stty -echo
2019/07/23 09:33:01.882748 docker_compose_executor.go:356: (tty) echo stty `stty -g` > /tmp/restore-tty
2019/07/23 09:33:01.882751 docker_compose_executor.go:356: (tty) cd ~
2019/07/23 09:33:01.882755 docker_compose_executor.go:356: (tty) echo '87d140552e404df69f6472729d2b2c3'
2019/07/23 09:33:02.260709 docker_compose_executor.go:356: (tty) Creating network "tmp_default" with the default driver
2019/07/23 09:33:03.629848 docker_compose_executor.go:356: (tty) Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown
2019/07/23 09:33:03.668329 docker_compose_executor.go:362: Initialization complete

The Job log output should indicate that there is an issue.

Docker Password with special shell characters prevents docker login for Compose Style

Example:

If the password contains a shell quote, e.g: hello"dasda@das#adasda, our approach of providing the password breaks the shell:

echo "hello"dasda@das#adasda" | docker login ...

Two solutions I see in this situation:

  1. base64 while injecting, and dynamical decode in the machine
  2. Store to a file, do cat passord_file.txt | docker login...

Will have to test the two approaches to figure out which is the best one to use.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.