Commit Graph

21 Commits

Author SHA1 Message Date
rajdharwadkar 2d82080249 Support armada to run on opensuse image leap15
Added Dockerfile for opensuse so it builds leap15 image
Modified to support multiple distros for image building.

Change-Id: Iffa7d0dbe4bc301e78a0bba1adc927d8aa2cbdcc
2019-05-06 10:06:46 -07:00
Sean Eagan 259ca27a4f Switch to ubuntu base image
Change to use ubuntu base image instead of python. Also refactor Dockerfile
to remove unnecessary build dependencies to reduce size.

BREAKING CHANGE: The `make images` PYTHON_BASE_IMAGE arg is now renamed to BASE_IMAGE.

Change-Id: I63556290d8e007bfac4315529261d75e362806d6
2019-01-30 14:29:07 -06:00
j330k fb88969c91 Making Python version uniform across all airship components.
Change-Id: Ia6ee58fd11a83151b1011b2a21779f8a17edad0c
2018-10-20 12:07:57 +00:00
Roman Gorshunov b6358d24b9 Fix: git commit id labels on images
1) Use OCI Image Specs for labels instead of custom 'commit-id=xxxxx'
   or legacy "Label Schema"
2) Fix missing git commit id labels on images (.revision)
3) Add human-readable title (.title) of the image, URL (.url), and
   a few other properties (annotations) according to the latest Specs

Change-Id: I7029d7caf521c7f56c1046fff9ecdd4e81090618
2018-09-21 03:31:12 +02:00
Jerome Brette da408ff145 Update Dockerfile to allow override of FROM variable
1. The first goal is to let user customize the base image of the component
by passing FROM=myimage during the build process. This would let any
project leveraging Airship ensure that the base image is matching the
security requirements for that project. This will also ease the control of
the /etc/apt/source.list and thereby the result of apt-get update/upgrade
procedure.
2. The above goal is achievable by using docker-ce feature such as:
ARG FROM="defaultbaseimage:xx"
FROM ${FROM}
For this reason, the installation of docker.io in the Zuul gating is beeing
replaced by docker-ce.
3. Third Goal is to bring consistency with the other compoenents leveraging
Helm such as the openstack-helm and potentially use bindep the same way
the LOCI images are to ensure
4. The new syntax in the Dockerfile is still commented out until the associated
image builder have been updated to use docker-ce as they have been for the LOCI
images.

Change-Id: Id91284433d6e4c3560ce5b261f29cc5f2e8e6048
2018-07-17 13:07:12 -05:00
Mark Burnett 1de365b3e0 Re-sequence Dockerfile for quicker dev rebuilds
This is primarily a convenience for developers to improve iteration.

Change-Id: I7bfe7b6d37c128ef700a8a0e6656e7e139ad0582
2018-02-16 12:19:42 -05:00
Marshall Margenau e1b64d200b style(armada): quality of life and cleanup
- adding .editorconfig file
- minor cleanup in various files related to .editorconfig
- typos, whitespace, etc.
- other general housekeeping items on the codebase

Change-Id: I104f8dcb06aafb180da12f7ee4c0ded41fc07b9d
2018-02-12 10:27:11 -05:00
Roadrunner2058 d383e772fd feat(yaml): Support document references
This allows the user to apply and/or validate a manifest using
either a filepath (as before) or URL.

Addition by sh8121att:

- Create a general document resolver class to handle local paths
  and URIs
- Allow multiple filenames and combine them into a single document
  set
- Change API to allow for passing document reference URIs to be
  resolved server-side rather
- Update validation API to conform to UCP specification
- Dockerfile updates to speed up build
- Fix unit tests

Closes #96

Change-Id: I5a57779f10d1b63ffc161a14afec851a34ae9efe
2018-01-08 13:39:26 -06:00
portdirect 8b1db2b002 fix(Dockerfile): Place config files in expected location
This PS moves the config files to the expected locations.

Change-Id: Ib2fb75a118a662c606f5ec96b07850dd9fb5904d
2017-11-16 03:43:58 -04:00
gardlt 7b26e59422 feat(cli): using-click-framework
- using click framework
- added api client
- allow interactions between code and service endpoints
- documention on the command line
- updated gitignore

Change-Id: Ibe359025f5b35606d876c29fa88e04048f276cc8
2017-11-02 20:59:57 +00:00
gardlt cba78d1d03 style(armada): converting py2 to py3
- Format code to python 3.5
- using absoulute paths

Change-Id: I7414b5de915429c2c7f85b99f2ab91f395c62121
2017-10-10 19:55:20 +00:00
gardlt bb26131ce2 feat(api): policy enforcement and api standard
- enhanced logging
- created base structure
- updated docs
- PasteDeploy auth
- Oslo Policy

Closes #107

Change-Id: I805863c57f17fcfb26dac5d03efb165e4be49a4e
2017-09-20 21:54:39 +00:00
Alan Meadows 501702ae39 fix(docker): armada own directory in container
- Ensure armada has ownership over its own home directory

Closes #141, #142

Change-Id: I93c88fd2df3ba6df2c6d1727c3a8b025ff6d8f2b
2017-09-14 18:37:01 -04:00
Tim Heyer ea6ad23672 Migrate from pygit2 to GitPython
Change-Id: Ib477b945e922fd0a1767bd6643c0a45751599fad
2017-08-09 21:20:25 +00:00
Wil Reichert add0e2eb99 Dockerfile cleanup
Layer cnosolidate & remove unnecessary build packages
Shrinks image from 865MB to 370MB
Exec gunicorn in entrypoint so <ctrl> c works properly
Run as unpriviledged user instead of root
2017-08-03 11:24:16 -05:00
Mark Burnett f8ff2c32df Use COPY instead of git clone 2017-07-26 09:14:25 -05:00
gardlt 68d95bdcc5 [feature] restructure-clean-up-project
* updating file-structure
* update docker file
* update develop docs
* update api and cmd
2017-06-12 09:06:17 -05:00
Mark Burnett 3abf8b93c6 add git clone for armada repo 2017-05-03 12:51:38 -05:00
gardlt 629a118f49 [feature] implement-api-service
* created tiller status
* created apply api
* fixing prefix-issues
2017-05-01 17:16:11 -05:00
Brandon B. Jozsa 1e34ab6934 allow the user variable to be leveraged 2017-04-24 15:56:11 -04:00
Brandon B. Jozsa 31546f2956 adding dockerfile 2017-03-10 16:34:19 -05:00