Commit Graph

26 Commits

Author SHA1 Message Date
Dmitry Tantsur 82084730cd Remove the configuration sample file
It's horribly outdated and can be easily regenerated locally.
A similar change has been done to ironic long ago.

Change-Id: I5b7a0079bc90320adc2b4710cdee714d278e543c
2019-12-02 12:11:58 +01:00
Vu Cong Tuan 9008a5cd30 Remove testrepository
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository is unnecessary
and should be removed.

[1] https://review.openstack.org/578521

Change-Id: Ic4005aa6f4bf5fb52fc207ff1cec666ccef8d0da
2018-07-11 18:20:09 +07:00
John L. Villalovos 0ef540fc20 Migrate to stestr as unit tests runner
Recent update brought os-testr 1.0.0 that already uses stestr test
runner instead of testrepository. This patch migrates those places
using testrepository to using stestr.

Inspired by the patch of the same name in openstack/ironic

Change-Id: I2c1b271550629437627f3f62b6f33e2beb2b3c4b
2017-09-26 09:23:53 -07:00
Julia Kreger 537dbcd03a Move contributor documentation
Change-Id: I43890d380b3cb6b19cfb84bf5d9dcad4f19c0062
2017-07-10 19:57:58 +00:00
linbing c3bf482254 Update .gitignore to ignore .idea of PyCharm
Change-Id: Id5d0820cebff0f236dc98907e29ad30a9c0b27c8
2016-10-10 13:58:43 +08:00
Mathieu Mitchell a0ca6ce157 Enforce upper-constraints when building ramdisks
Currently, building ramdisks installs ironic-python-agent without any
upper-constraints. This causes the package to be installed with newer,
untested dependencies.

This commits introduces a tool to generate a local upper-constraints
file based on predefined strategies (below). Additionally, the fallback
to the openstack/requirements uses the URL defined in tox.ini instead of
redefining it. This prevents having to keep track of two separate
variables when releasing.

upper-constraints lookup strategies (in order):

  * UPPER_CONSTRAINTS_FILE points to a local file
  * UPPER_CONSTRAINTS_FILE points to a URL
  * /opt/stack/new/requirements/upper-constraints.txt
  * upper-constraints.txt from openstack/requirements git repository

Partial-bug: #1616554
Change-Id: Ib5c0c57cafdb6ffd7456e61f3b1bb5fa57520e5a
2016-08-26 09:06:24 -04:00
Sam Betts f9c2a283d6 Make sure that .eggs directory is in gitignore
This patch changes *.egg and *.egg-info to *.egg* to cover both cases
that were existing before and also cover .eggs

Change-Id: I896d408a0c8f13352838bb4068a194ab5c4515cc
2016-04-11 16:54:07 +01:00
Jay Faulkner 63d4323435 Fix coverage for IPA
ironic-python-agent coverage was broken, tox -ecover printed error
messages. This change fixes the coverage command to work reliably, and
adds the directory generated by the job to gitignore.

Change-Id: I36656c17c13b5b4bce8e7eca2ec0f12c1bf76f29
2016-04-08 22:32:02 +00:00
John L. Villalovos 1ffaaf6abf Add support for proxy servers during image build
When building the docker image, the 'apt-get' and 'pip install' that are
run inside the docker image will fail in a an environment that uses
proxy servers.

Support environments with proxy servers by dynamically propagating
'http_proxy', 'https_proxy', and 'no_proxy' into the docker environment
when running 'apt-get' and 'pip install'

This can not be done with either --env-file or --env as those are
arguments to 'docker run'. The command being run here is 'docker build'

Once Docker 1.9 is widely deployed, we should switch to using the 'ARG'
command which was added in Docker 1.9. Currently Ubuntu 14.04 uses
Docker 1.6.  Using the ARG command will be a much cleaner solution.

Change-Id: Idd994cd58b9fb75bae13a43fc8363c36f113527d
Closes-Bug: #1533796
2016-02-04 14:27:49 -08:00
Jim Rollenhagen e8488c2534 Add reno for release notes management
Change-Id: Id6bfe132dcc8fc3efbe0d96820eebf7d174b2736
2015-12-16 16:04:29 -08:00
Martin André af20875e87 Update gitignore
Add files generated during CoreOS ramdisk build to gitignore.

Change-Id: Ia31004a5672e8926efe91c3a4fc591ff6a7159d7
2015-10-08 15:06:19 +09:00
Jay Faulkner be97525975 Add sphinx build + basic documentation
This adds and configures a sphinx doc builder. This is based on the code
in Ironic to build documentation.

The goal is for this to contain development documentation relevant to
hacking on the agent, including how to make custom HardwareManagers.

Change-Id: Ib6cecb9959f4ad5c71440fb37827b996582a9545
2015-03-31 16:22:12 -07:00
Lucas Alvares Gomes 8493e0e437 Add *.swp to .gitignore
Vim creates swap files with the .swp extension, those should be ignored
by git.

Change-Id: I637ef1bac7a94bf1f034e7db74649150cc4fd986
2015-02-10 16:33:36 +00:00
Josh Gachnang d718fd8f6b Fixing merge conflicts, passing py26 2014-03-17 12:01:33 -07:00
Josh Gachnang ce8bc60414 Preparing for OpenStack testing environment
Renamed logging.py to log.py. I was getting import errors because it conflicts
with logging in the stdlib.
2014-03-11 12:50:12 -07:00
Jay Faulkner 141938ec3f img(coreos): Initial commit of CoreOS image build
- Mostly imported from github.com/racker/teeth-agent-image
2014-03-04 15:16:35 -08:00
Russell Haering e771852ebf run coverage from tox 2013-12-20 16:49:21 -08:00
Russell Haering 8821df2599 gitignore .coverage 2013-12-20 15:34:52 -08:00
Russell Haering 27fdc13e49 out with the old, in with the new 2013-12-16 15:38:02 -08:00
Paul Querna 697f98b929 Add many test cases for the RPC protocol and start making a Task structure. 2013-09-26 23:53:07 -07:00
Paul Querna 28d5eebe7e Use twisted application framework 2013-09-23 23:29:55 -07:00
Paul Querna 8c3e3df857 Update git ignore. 2013-09-24 02:56:51 +00:00
Paul Querna 27fba494ed Add scripting and Makefile infrastructure to create virtual envs and be ran by CI tooling. 2013-09-20 17:09:10 +00:00
Russell Haering 11eac2f1a5 implement connecting and handshaking 2013-09-17 18:04:52 -07:00
Russell Haering 6ba1e2e664 rename teeth.agent to teeth_agent 2013-09-17 13:35:54 -07:00
Russell Haering 24d12fbf9c begin work on the agent 2013-09-17 11:43:40 -07:00