Comments (8)
hmm, we should provide a container image name to amun to execute that, this container image should include the microbenchmark.
from amun-api.
https://paste.ofcode.org/PrLfLsKSwuUr4LamXQvFaN
This is what the create_dockerfile
return's when I tried passing the sample from the stage amun link, if I delete the part above FROM, it seems to build as a docker image also, is that what we were expecting? I am not sure.
from amun-api.
Check the input string - on the API endpoint, there is requested:
"script": "#!/usr/bin/bash\necho \"Here should be run tests...\"\n",
that is transformed to (based on your paste):
RUN echo -e "#!/usr/bin/bash\n\\necho \"Here should be run tests...\"\n\\n" > "/home/amun/script"
I think the expected content of the file is (based on the API endpoint input):
#!/usr/bin/bash
echo "Here should be run tests..."
Will the echo
invocation (as done in the generated Dockerfile) produce same file as desired?
from amun-api.
I think they produce the same result, do you want the extra space to be removed?
from amun-api.
do you want the extra space to be removed?
it would be great if they match
from amun-api.
This would be just for the value of the key script
right?
from amun-api.
I think it applies to all the _write_file_string
invocations:
Line 76 in bcdfc3b
So also for writing the lock file, requirements file or pip configuration.
from amun-api.
whats the status of this?
from amun-api.
Related Issues (20)
- ConfigException: Invalid kube-config file. No configuration found. HOT 3
- [spike] think about how to evolve amun inner workings HOT 3
- Kebechet update HOT 1
- New patch release HOT 1
- [Epic] Extend Amun feature wise to be a testing platform for containers in a cluster HOT 8
- Amun api failing to run due to the kafka bit missing HOT 4
- Kebechet update HOT 1
- New minor release HOT 1
- New patch release HOT 1
- New patch release HOT 2
- New patch release HOT 1
- New patch release
- new patch release HOT 1
- New patch release HOT 1
- Amun API fails to start due to dependency issues HOT 2
- New patch release HOT 1
- New patch release HOT 1
- New patch release HOT 1
- Validate identifier length on the endpoint input HOT 5
- Check if workflow spec has been resolved successfully HOT 3
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 amun-api.