Releases: projectatomic/atomicapp
0.4.3
You'll now see pretty colors with logging / output!
With this release, we've refactored our logging formatter making it easier to decipher between information, debug, warning and errors.
You are now able to specify what logging format you'd like to output via the command line:
--logtype {cockpit,color,nocolor,none}
Override the default logging output. The options are:
nocolor: we will only log to stdout; color: log to
stdout with color; cockpit: used with cockpit
integration; none: atomicapp will disable any logging.
If nothing is set and logging to file then 'nocolor'
by default. If nothing is set and logging to tty then
'color' by default.
The main features are:
- A new logging mechanism that outputs color-coordinated logging messages
- Added CLI commands for color, nocolor, cockpit and 'none' output
UI:
- Failure on finding no artifacts
Other:
- Readme updates / typo fixes
Charlie Drage <charlie@charliedrage.com> (3):
Fail if unable to find artifact
Change order of getting context
Update readme
Dusty Mabe <dusty@dustymabe.com> (4):
logging: Add in Atomic App Logging class
logging: add cockpit logging output
tests: fix test to look for output in stdout vs stderr
Shubham Minglani <shubham@linux.com> (1):
Remove extra whitespaces from logging output.
0.4.2
As we start to get closer to a 1.0.0 release, we continue to focus on tests and user interaction. This weeks release focus on both as well as a minor feature.
The main features of this release are:
- Meta data is now an optional requirement when building
UI:
- Relative path support for provider ocnfig data
- Raise on missing artifact or docker image failure
Bug fixes:
- Label fixes against
atomic
cli master branch. We now pass our current working directory as a variable
Misc:
- Remove uneeded test suite files (Dockerfiles, licenses, etc.)
- All references to
install
have now been removed within the code in favour offetch
Charlie Drage <charlie@charliedrage.com>:
Fail on missing artifacts within Nulecule file
Add tests for failure of finding Nulecule artifacts
Remove instances of install verb to fetch
Remove unneeded files in test examples dirs
Fix xpathing tests on missing files
Dusty Mabe <dusty@dustymabe.com>:
providerconfig: support someone specifying a relative path
cli: Print helpful error if no app_spec provided.
Do not use artifacts dir to select provider.
tests: update cli test
labels: update run labels to no longer use backticks
labels: no longer default to verbose output
Add Tomas to MAINTAINERS
Adds Atomicapp lifecycle definition. Closes #290
nulecule: error if no artifacts in spec for inherited provider
Ratnadeep Debnath <rtnpro@gmail.com>:
Update file handling doc. Fixes #285
Suraj Deshmukh <surajssd009005@gmail.com>:
This makes `metadata` an optional argument
0.4.1
0.4.1 is a minor bug fix release.
Charlie Drage <charlie@charliedrage.com>:
Remove roadmap in favour of wiki
Remove symbolic link from Dockerfile
Dusty Mabe <dusty@dustymabe.com>:
cli: Fix bug with atomic cli + genanswers
openshift: Fix a few spelling mistakes.
openshift: clean up scale function log message.
If not given, don't populate namespace in answers.conf.gen.
Tomas Kral <tkral@redhat.com>:
marathon: do not convert types when parsing json artifact
0.4.0
With this release we bump our version to 0.4.0 to coincide with our BETA-4 release as well as the change to our "install" verb.
The most significant new features are:
- Renaming install to fetch
- Allowing users to pass an answers file as a URL
For an extended list of changes, please see the git shortlog below.
Charlie Drage <charlie@charliedrage.com>:
Change undeploy/deploy functions to run/stop
Rename install to fetch
Remove mention of uninstall function
Fix test names
Remove install label from Dockerfiles
Dusty Mabe <dusty@dustymabe.com>:
docker: fix stopping for artifacts with '--name='
cli: allow specifying target dir during atomic run
cli: add --namespace option to cli
Allow users to provide answers file as url.
Create destination app_path dir if it doesn't exist yet.
Ratnadeep Debnath <rtnpro@gmail.com>:
Support specifying default provider in Nulecule spec file. Fixes #378
Tomas Kral <tkral@redhat.com>:
openshift provider: safer stop
openshift provider: fix typos, add more explanation
openshift provider: remove acronyms from comments
0.3.1
This release introduces some significant features to Atomic App as well as our first release since 0.3.0.
The outmost features include:
- Persistent storage
- HTTPS (TLS) verification and support for OpenShift
- OpenShift stop support
- Nested Nulecule application support for OpenShift.
For an extended list of changes, please see the git shortlog below.
Charlie Drage <charlie@charliedrage.com> (9):
Merge pull request #457 from rtnpro/remove-docker-containers-on-stop
Merge pull request #392 from kadel/marathon-provider
0.3.0 Release
Add persistent storage core
Add Kubernetes persistent storage functionality
Test requirements.py persistent storage
Warn if no persistent volumes exist to claim
Merge pull request #485 from kadel/issue484
Stop Docker containers more gracefully
Dharmit Shah <shahdharmit@gmail.com> (10):
Common place for list of Providers
PEP8
Adds Marathon provider data for `helloapache` example
Nulecule for `helloapache` app now contains information about marathon artifacts
CLI tests for marathon provider using `helloapache` atomic app
Information about where to specify `providerapi` for Marathon provider
Changes suggested in PR review
Added try..except block for request
Catch `AnyMarkupError` instead of `Exception` for invalid artifacts
Use `ProviderFailedException` instead of `sys.exit`
Dusty Mabe <dusty@dustymabe.com> (40):
Merge pull request #463 from kadel/make_rest_request
Revert "Remove container on stopping on Docker provider. Fixes #389"
Merge pull request #464 from projectatomic/revert-457-remove-docker-containers-on-stop
Allow user to specify both source and destination as directories.
Merge pull request #466 from dustymabe/dusty-src-dest
cli: import argparse rather than specific items
cli: Restructure argument parsers.
cli: Add global options help text to toplevel parser.
cli: Add in a --mode cli switch to select action.
Merge pull request #468 from dustymabe/dusty-add-mode
Fix yaml choice for --answers-format.
utils: add rm_dir() function.
Add --destination=none. Files don't persist after run.
Update native openshift code to use dest=none.
Add 'genanswers' action to generate answers.conf in cwd.
Merge pull request #469 from dustymabe/dusty-add-genanswers-new
cli: Fix the name of the genanswers subparser.
cli: Clarify some of the app_spec help texts.
Merge pull request #465 from projectatomic/openshift-unittests
Merge pull request #473 from kadel/openshift-AttributeError
Merge pull request #472 from dustymabe/dusty-update-stop-app-spec-help
Merge pull request #474 from kadel/openshift-stop
Merge pull request #460 from cdrage/persistent-storage
Merge pull request #488 from cdrage/stop-more-gracefully
cli: Add genanswers as a choice for --mode.
Include port information in detected openshift api endpoint.
Merge pull request #490 from dustymabe/allow-genanswers-for-mode
Merge pull request #491 from dustymabe/dusty-add-port-to-providerapi
Merge pull request #480 from kadel/openshift-ssl
Merge pull request #489 from projectatomic/oc-new-app-with-nested-nulecules
cli: allow overriding cmdline from env vars
Merge pull request #504 from dustymabe/dusty-cli-overrides
Add support for embedding answers file in application.
Merge pull request #505 from dustymabe/dusty-allow-embedded-answers-file
Add in cli options for some provider* answers.
Merge pull request #506 from dustymabe/dusty-add-cli-overrides
native openshift: move detection of provider information to provider.
native openshift: Add in ssl verification.
native openshift: respect it if user set tls_verify to False.
Merge pull request #503 from dustymabe/dusty-ssl-in-native-openshift
Ratnadeep Debnath <rtnpro@gmail.com> (13):
Remove container on stopping on Docker provider. Fixes #389
Refactored openshift provider for testing. #459
Refactor openshift provider: Move interaction with remote API from OpenShiftProvider
Added tests for OpenshiftProvider.deploy.
Refactor openshift _process_artifacts
Added tests for openshift _process_artifact_data.
Added tests for openshift to parse kube config
Added docs for openshift provider unittests.
Unpack image using Openshift API on Openshift provider.
Fixed unittests for Nulecule and NuleculeComponent
Fix using ssl connection options in websocket connection to Openshift.
Wait for Openshift pod to run, before extracting content.
Delete openshift pod irrespective of successful or failed extraction.
Tomas Kral <tkral@redhat.com> (24):
move openshift._make_request() to Utils.make_rest_request()
first draft of marathon provider
change providerurl to providerapi
fix dry-run for marathon
empty marathon_artifacts array in init()
marathon fixes
add Marathon to list of supported providers
raise exeption on AnyMarkupError in Marathon provider
mention Mesos with Marathon in docs
use Utils.make_rest_request in Marathon provider
add more docs to functions in Marathon provider
fix AttributeError OpenshiftClient.ssl_verify
Implement stop for OpenShift provider.
openshift provider: fix typos, add comments
openshift provider: when deleting use selector from RC to get PODs
openshift provider: update comments
openshift provider: add option for skiping tls verification
fix typos and flake8 errors
openshift provider: doc of providertlsverify and providercafile
openshift provider: break ssl_verify to provider_ca and provider_tls_verify
openshift provider: use _requests_tls_verify() in undeploy
openshift provider: check that required options are !None
openshift provider: test connection to OpenShift print nicer error message when invalid ttl/ssl certificate
openshift provider: translate CA path to host path and check if exists
0.3.0
This release introduces a new provider (Mesos) as well as a major refactor of the OpenShift provider.
For an extended list of changes please see the git log below of the changes between 0.2.3 and 0.3.0
Aaron Weitekamp <aweiteka@redhat.com>:
Update OpenShift docs to describe how native mode works
Charlie Drage <charlie@charliedrage.com>:
Adds some more information when running --dry-run
Default to a reasonable provider in /artifacts
Minor fix in nulecule testing and flake8
Add clean to Makefile
Dharmit Shah <shahdharmit@gmail.com>:
Common place for list of Providers
PEP8
Adds Marathon provider data for `helloapache` example
Nulecule for `helloapache` app now contains information about marathon artifacts
CLI tests for marathon provider using `helloapache` atomic app
Information about where to specify `providerapi` for Marathon provider
Changes suggested in PR review
Added try..except block for request
Catch `AnyMarkupError` instead of `Exception` for invalid artifacts
Use `ProviderFailedException` instead of `sys.exit`
Dusty Mabe <dusty@dustymabe.com>:
Support for options anywhere on command line.
Adds dockerignore file.
Removes VOLUME from Dockerfiles.
Update working dir to have broader permissions.
Provider documentation update/re-organization.
utils: adds function to detect if running in openshift pod.
Act accordingly if run via `oc new-app`.
Allow non-root in openshift pod to grab lockfile.
Revert "Remove container on stopping on Docker provider. Fixes #389"
Ratnadeep Debnath <rtnpro@gmail.com>:
Move global cli options to sub command level.
Remove container on stopping on Docker provider. Fixes #389
Tomas Kral <tkral@redhat.com>:
first attempt to use OpenShift api instead of oc command
openshift - add pods and persistentvolumeclaims
add requests as dependency
openshift provider - fix duplicate deployment with composite apps
openshift provider cleanup and working undeploy
openshift-api refactoring
openshift-api add template processing
openshift-api keep types specified in json
openshift-api fix issues raised in code review #420
openshift-api validate artifact in _process_artifacts
openshift-api add providerconfig support
openshift-api fail if providerconfig and answers.conf are in conflict
openshift-api handle timeouts when communicating with remote api
openshift-api update docs
openshift-api remove undeploy() for now as it is not working properly
move openshift._make_request() to Utils.make_rest_request()
first draft of marathon provider
change providerurl to providerapi
fix dry-run for marathon
empty marathon_artifacts array in init()
marathon fixes
add Marathon to list of supported providers
raise exeption on AnyMarkupError in Marathon provider
mention Mesos with Marathon in docs
use Utils.make_rest_request in Marathon provider
add more docs to functions in Marathon provider
0.2.3
This release fixes numerous bugs as well as introduces some organizational changes to our main code-base.
Please see below for a summary of commits between 0.2.2 and 0.2.3
Charlie Drage <charlie@charliedrage.com>:
Fix constants in nulecule dir
Clean up CLI answers-format option
Change tmp dir location
Update README dependencies
fix readme.md link blob
Lib.py should load plugins in init
Add roadmap doc
Fix tests not removing answers.conf.gen
Update requirements.md
Dusty Mabe <dusty@dustymabe.com>:
Removes RHEL7 dockerfile.
Dockerfiles: remove unnecessary line from Dockerfiles.
Moves Dockerfiles to Dockerfiles.git/ directory.
Adds Dockerfiles.pkgs/ directory.
Updates fedora git Dockerfile to use Fedora 23.
Updates git Dockerfiles to use env var for version.
Updates git Dockerfiles to add reqs to the workdir location.
Don't run container to extract files.
Swapnil Kulkarni <me@coolsvap.net>:
Updated minor typos
0.2.2
This is our first release since our major refactor in 0.2.1.
This release fixes numerous bugs as well as introduces some refactoring to our Dockerfile's and how we handle dependencies.
Please see below for a summary of commits from 0.2.1 to 0.2.2.
Charlie Drage <charlie@charliedrage.com> (1):
raise exception when running run --dry-run
Dusty Mabe <dusty@dustymabe.com> (7):
Adds more checking for docker client/server sync issues.
utils: Adds in AtomicAppUtilsException class.
Reworks answers file processing.
Removes dryrun from _write_answers() function.
Remove specific versions from required libraries.
Reworks testing Dockerfile and test requirements.
Reworks Dockerfiles.
Ratnadeep Debnath <rtnpro@gmail.com> (4):
Added docs for provider and adding a new provider
Merge config sets value for key if it or it's value is missing at source.
Fixes in README for provider:
Removing docker-compose provider from supported providers list.
Subin M <subin@apache.org> (1):
remove unused method printAnswerFile
Tomas Kral <tkral@redhat.com> (1):
add PROVIDERS constant
0.2.1
This is a major release for Atomic App that refactors most of the base code as well as adds numerous features.
- Complete refactor of the Atomic App core codebase
- JSON Pointer xpathing for artifacts
- Integration of unpacking to /var/lib/atomicapp rather than
cwd
- Numerous bug fixes && improvements to integration tests
Please see the git shortlog
summary below for all commits since the previous release.
Charlie Drage <charlie@charliedrage.com> (8):
Remove dotfiles from tests
Sync requirements with master. Fixes lockfile issue.
add xpathing
Dusty Mabe <dusty@dustymabe.com> (15):
Don't unpack files to cwd
Enables running atomicapp from within a container again.
Implement a few comments from code review #356.
Remove Aaron from MAINTAINERS upon his request.
Add Ratnadeep to MAINTAINERS :)
Adds preferred email for Dusty to MAINTAINERS.
Adds nice error message for Docker client/server out of sync. Closes #174
Syncs up run labels in Dockerfiles.
Fixes run label in Dockerfiles so that atomic run <image> works.
Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> (1):
Use epel-release rather than echo'ing .repo config files
Ratnadeep Debnath <rtnpro@gmail.com> (19):
Updated docs for file handling for artifact path. #143
Added note on not supporting nested artifact dir. #143
Added unittests for Nulecule class.
Added tests for NuleculeComponent load
Added tests for NuleculeComponent run.
Added tests for stopping NuleculeComponent.
Added tests for NuleculeComponent load_config.
Added tests for loading external app in NuleculeComponent.
Added tests for accessing components of a nulecule component.
In NuleculeComponent, pass 'dryrun' param when calling render of external Nulecule.
Added tests for rendering a NuleculeComponent
Added tests for retrieving artifact paths for a NuleculeComponent.
Added tests for rendering an artifact in NuleculeComponent.
Reorganize and group code in each testcase for atomicapp/nulecule into
Bugfix in merging config and updated tests for the same
Fix unittest for Nulecule load config.
Fix mocking 'open' in nulecule/base.py.
Fixed test for rendering artifact.
Fixed test for rendering local artifact for provider.
Tomas Kral <tkral@redhat.com> (1):
do not create symlink if source doesn't exist
0.1.12
We have fixed many bugs as well as implemented more enhancements to the Atomic App life cycle with this release.
Please see below for a summary of commits for the 0.1.12 release.
Aaron Weitekamp <aweiteka@redhat.com> (2):
Add openshift LABELs
Add OpenShift LABEL information
Charlie Drage <charlie@charliedrage.com> (10):
update testing
dup code
add two new cool maintainers!
fix artifact bug
added makefile
update travis
add requirement doc
docker stop terminology fix
Christoph Görn <goern@redhat.com> (13):
add some issuestats.com stats
prepared Atomic App 0.1.11 release
added merge rules
Dusty Mabe <dusty@dustymabe.com> (4):
Fixes handling of directory for answers argument.
Reverts "artifact logic bugfix". Fixes #306
Fixes broken builds bc of lockfile dependency.
Subin M <subin@apache.org> (1):
add new method find_executable_binary
Swapnil Kulkarni <me@coolsvap.net> (1):
Small fix for pep8 error
Václav Pavlín <vaclav.pavlin@gmail.com> (5):
Generate provider config for kubernetes if it does not exist
Do not use sudo in Docker provider
Use DEFAULT_PROVIDER_CONFIG in exception message
Mention config file generation in Kubes provider descripion
Fix bad indentation issue
Signed by Charlie Drage charlie@charliedrage.com
http://pgp.mit.edu/pks/lookup?op=get&search=0x622CDF119B3B446C