-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from ownport/v0.5.0
V0.5.0
- Loading branch information
Showing
31 changed files
with
678 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
# service directories | ||
bin/ | ||
opt/ | ||
ansible/ | ||
tmp/ | ||
.local-ci/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
ansible==2.9.10 | ||
PyYAML==5.3.1 | ||
paramiko==2.7.1 | ||
pyasn1==0.4.8 | ||
asn1crypto==1.3.0 | ||
bcrypt==3.1.7 | ||
cffi==1.14.0 | ||
PyNaCl==1.4.0 | ||
jinja2==2.11.2 | ||
six==1.15.0 | ||
markupsafe==1.1.1 | ||
|
||
ansible-base>=2.10,<2.11 | ||
Jinja2 | ||
PyYAML | ||
paramiko | ||
markupsafe |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Development | ||
|
||
## Build new package | ||
|
||
To create new version of portable-ansible or add additional packages to existing distribution there is needed to create `builder` container. | ||
|
||
```sh | ||
./manage.sh builder start | ||
./manage.sh builder prepare | ||
./manage.sh builder run | ||
./manage.sh builder stop | ||
``` | ||
Note: the list of included packages are listed in the file `conf/requirements` | ||
|
||
The result file with portable-ansible build will be available in `builds/` directory. | ||
```sh | ||
ls builds/ | ||
|
||
portable-ansible-<version>-py3.tar.bz2 | ||
``` | ||
|
||
## Testing | ||
|
||
For portable-ansible testing there are needed to create two docker images: | ||
- ansible-client: the container will contain latest ansible build | ||
- ansible-server: this container will be used for connecting from client via ssh keys or username/password | ||
|
||
### Preparation Steps | ||
|
||
```sh | ||
./manage.sh server start | ||
./manage.sh client start | ||
``` | ||
|
||
### Running tests | ||
```sh | ||
./manage.sh client local_tests | ||
./manage.sh client remote_tests | ||
``` | ||
|
||
### Release resources | ||
|
||
```sh | ||
./manage.sh server stop | ||
./manage.sh client stop | ||
``` | ||
Check there are no `ansible-*` containers up and running | ||
```sh | ||
./manage.sh container list | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
172.17.0.2 ansible-server | ||
172.17.0.3 ansible-client |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.