semaphoreci / agent Goto Github PK
View Code? Open in Web Editor NEWAgent for running Semaphore 2.0 jobs
License: Apache License 2.0
Agent for running Semaphore 2.0 jobs
License: Apache License 2.0
A customer reported this issue, and I was also able to reproduce it. A better buffering scheme is necessary.
Scenario:
Actual results:
Expected results:
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.
Hi.
I would like to package the semaphoreci-agent for use with self-hosted CI runners on NixOS in the nixpkgs repository. Currently, this repository is missing a LICENSE file, COPYING file, or SPDX license annotations in source files, meaning (unless I missed the indication elsewhere) it will have to be considered "unfree" and not be cached automatically by NixOS's caching infrastructure.
Also, my employer and your customer, Replit, would like to use NixOS self-hosted runners and this would make it easier on us.
Could you consider adding a open source software license file, or making a declaration of the license of this source code in this issue?
Thanks,
Ryan Mulligan
This ticket was created to track this requirement.
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:
cat passord_file.txt | docker login...
Will have to test the two approaches to figure out which is the best one to use.
SemaphoreCI self hosted agent is needed on ppc64le architecture to run tests for the Calico project. The agent binary does build on ppc64le:
$ env GOOS=linux GOARCH=ppc64le go build -o build/agent main.go
$ file ./build/agent
./build/agent: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), dynamically linked, interpreter /lib64/ld64.so.2, Go BuildID=kxUqIGqsV1xnp7r7RCO6/qGCA9WRGUOCHGPXgE8fi/nDa2NKeDf_9fyOQwzZOb/S_1TkycwGy76NrmR8mBa, with debug_info, not stripped
There are ppc64le machines available via Oregon State University Open Source Lab (OSU OSL) that can be used for testing and development. I can assist with setup if needed. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.