athena-oss / athena Goto Github PK
View Code? Open in Web Editor NEWAn automation platform with a plugin architecture that allows you to easily create and share services.
Home Page: https://athena-oss.github.io/athena/
License: Apache License 2.0
An automation platform with a plugin architecture that allows you to easily create and share services.
Home Page: https://athena-oss.github.io/athena/
License: Apache License 2.0
It could be great to have basic authentication support and set the parameters in the athena.json file.
Athena Environment
OS: Darwin deupc00064 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
Athena version: 0.10.2
Plugins:
- atlas [1.3.0]
- base [0.10.2]
- php [0.7.2]
- proxy [0.3.1]
- selenium [0.3.1]
Images:
- olx/athena-proxy-olx [0.3.1] 578266a8af89
- olx/athena-proxy [0.3.1] 4c166e57adfd
- olx/athena-migrations [1.0.0] 2b27823f4e07
- olx/athena-gui [1.0.1] 6e3f6f1390ca
- olx/athena-php7.0-php-php7.0 [1.0.0] 07fdd085b117
- olx/athena-atlas [1.1.0] 892f90c0fd76
- olx/athena-atlas [1.2.3] 892f90c0fd76
- olx/athena-atlas [1.3.0] 892f90c0fd76
- olx/athena-php5.6-php-php5.6 [1.0.0] 85946af3eb37
Running containers:
- athena-selenium-0-firefox::selenium/node-firefox:2.53.1-beryllium
- athena-selenium-0-hub:4444:selenium/hub:2.53.1-beryllium
- athena-plugin-proxy-0:9090-9999:olx/athena-proxy-olx:0.3.1
I'm running Docker for Mac Version 1.13.0 (15072). Before the actual new-issue
output I see:
Usage: docker COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/Users/caio.moritz/.docker")
-D, --debug Enable debug mode
--help Print usage
-H, --host list Daemon socket(s) to connect to (default [])
-l, --log-level string Set the logging level ("debug", "info", "warn", "error", "fatal") (default "info")
--tls Use TLS; implied by --tlsverify
--tlscacert string Trust certs signed only by this CA (default "/Users/caio.moritz/.docker/ca.pem")
--tlscert string Path to TLS certificate file (default "/Users/caio.moritz/.docker/cert.pem")
--tlskey string Path to TLS key file (default "/Users/caio.moritz/.docker/key.pem")
--tlsverify Use TLS and verify the remote
-v, --version Print version information and quit
Management Commands:
checkpoint Manage checkpoints
container Manage containers
image Manage images
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
volume Manage volumes
Commands:
attach Attach to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
deploy Deploy a new stack or update an existing stack
diff Inspect changes on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
history Show the history of an image
images List images
import Import the contents from a tarball to create a filesystem image
info Display system-wide information
inspect Return low-level information on Docker objects
kill Kill one or more running containers
load Load an image from a tar archive or STDIN
login Log in to a Docker registry
logout Log out from a Docker registry
logs Fetch the logs of a container
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
ps List containers
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save one or more images to a tar archive (streamed to STDOUT by default)
search Search the Docker Hub for images
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
version Show the Docker version information
wait Block until one or more containers stop, then print their exit codes
Run 'docker COMMAND --help' for more information on a command.
@rafaelspinto I witness the presentation of MC (from OLX Philippines) about Athena and I am really amazed of how this tool can do from a QA standpoint to DevOps.
So I started to play after MC's presentation and the most obvious thing from the documentation is the setup. I am on Ubuntu and there is no clear guide on how to access the tool after running apt-get install athena
. I tried athena wizard star
but I am completely blind on that one.
Eager contributor here once I know how the system works.
There's currently too many steps required for releasing Athena and its plugins. Currently the process involves the following:
CHANGELOG.md
file with a diff manually generatedplugins/base/version.txt
(Athena project) or version.txt
(any plugin project)This process is slow, error prone and can definitely be simplified.
you can not pass args by "athena.plugin.run_command" currently.
I think it's a common scenario,
when you want to write some internal plugin that shared by another plugin ?
right now this isn't be possible:
athena.docker.add_option "--env SOMETHING='with empty spaces'"
When running athena
or even athena -h
, the output is incomplete: no help on the --athena-
long global flags are printed. This is what's missing:
You can also use the following athena flags :
--athena-dbg Enables the debug mode.
--athena-env=<name|file_with_environment_config> Specifies the environment to be used.
--athena-dns=<nameserver_ip> Specifies which nameserver will be used in the container.
--athena-no-logo Suppresses the logo.
Athena Environment
OS: Darwin deupc00064 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
Athena version: 0.10.4
Plugins:
- atlas [1.4.2]
- base [0.10.4]
- gradle [1.0.0]
- php [0.7.4]
- proxy [0.3.1]
- selenium [0.3.1]
Images:
- olx/athena-proxy-olx [0.3.1] 578266a8af89
- olx/athena-proxy [0.3.1] 4c166e57adfd
- olx/athena-migrations [1.0.0] 2b27823f4e07
- olx/athena-gui [1.0.1] 6e3f6f1390ca
- olx/athena-php7.0-php-php7.0 [1.0.0] 07fdd085b117
- olx/athena-atlas [1.1.0] 892f90c0fd76
- olx/athena-atlas [1.2.3] 892f90c0fd76
- olx/athena-atlas [1.3.0] 892f90c0fd76
- olx/athena-atlas [1.4.0] 892f90c0fd76
- olx/athena-atlas [1.4.2] 892f90c0fd76
- olx/athena-php5.6-php-php5.6 [1.0.0] 85946af3eb37
Running containers:
I am using Google Drive for storing my data in cloud and my directory structure is something like "/Users/abhishektomar/Google Drive/infra/athena" but whenever I am running athena command to do any thing it failed because of space in a directory name.
error what I am getting is:
docker: Error parsing reference: "Drive/infra/athena/terraform:/opt/platform_terraform" is not a valid repository/tag.
It would be great if athena would provide first–class docker-compose support to allow for a better startup of more complex environment (e.g. in an integration test, when mySQL and ElasticSearch is necessary), docker compose is really helpful for that.
Additionally, it would be great to specify a list of await commands that are executed until the exit with code 0 (e.g. a curl request that checks if elastic search has booted yet).
ensure that the BUILD
argument in a Dockerfile
which has a default value in docker/default.env
can also have values with whitespaces
Reproducible on Athena 0.10.3 running on Archlinux.
Function athena.os._get_host_ip_for_linux
depends on a certain ifconfig
output pattern that has changed in newer versions.
It used to be like this:
inet addr:{$ip_address} netmask ... broadcast ...
Now it's like this:
inet {$ip_address} netmask ... broadcast ...
Both versions need to be supported.
How can i install athena in linux ubuntu?
go to https://athena-oss.github.io/athena/
search for "unit tests"
Actual Result:
https://athena-oss.github.io/athena/tests
athena.plugin.set_plg_cmd_dir
expects right now one or more directories separated by empty spaces which is not a typicall way in an Unix environment and will break on directories containing empty spaces.
So instead of relying on empty spaces athena should expect a ':' separated list in ATHENA_PLG_CMD_DIR
and the athena.plugin.set_plg_cmd_dir
and athena.plugin.get_plg_cmd_dir
method documentation needs to reflect that.
Athena version: fb66cf6
When running this command inside my own fork:
./athena plugins update php --athena-no-logo
I got the following error output (not very informative):
[ERROR] there was a problem updating the plugin 'php'
It would be handy to have the git
command stderr
contents appended to our error message.
I am trying to setup Athena on a Win7 Machine. I already installed docker and git. i ran my bash commands on the VM to install the plugins, but after installing the plugins, i am having a unrecognized command when i ran "athena selenium". Can you help me with this?
The upcoming GitHub issue template will contain instructions on how to generate your issue template. My idea is to ask users to run athena new-issue
to generate the initial Markdown description. The template will include indispensable info like:
Every project that uses Athena plugins will include some boilerplate shell script code for installing all plugins. Ideally there would be a way to specify (maybe in athena.json
) all Athena dependencies to be installed.
in https://github.com/athena-oss/athena/blob/master/lib/shared/functions.os.sh#L603 the _get_host_ip_for_mac
is expecting the host IP on device en0 which is not always the same. To improve this situation we should at least (thinking of IPv4/v6) go through en* and take the first private IPv4 address we find
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.