Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Upgrade to Chromogenic 0.5.1 and Ubuntu 18 #704

Merged
merged 6 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
([#665](https://github.com/cyverse/atmosphere/pull/665))
- Increased default renewal Allocation Units to 336
([#703](https://github.com/cyverse/atmosphere/pull/703))
- Upgrade Chromogenic to 0.5.0 and update Dockerfile to be compatible
([#704](https://github.com/cyverse/atmosphere/pull/704))

### Removed
- Removed dead code ([#689](https://github.com/cyverse/atmosphere/pull/689))
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# Docker Container for Atmosphere
FROM ubuntu:14.04
FROM ubuntu:18.04

# Set environment
SHELL ["/bin/bash", "-c"]

# Install dependencies with apt
RUN apt-get update && \
apt-get install --no-install-recommends -y \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
apt-transport-https \
build-essential \
git \
g++ \
libffi-dev \
libguestfs-tools \
libldap2-dev \
libpq-dev \
libsasl2-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
make \
netcat \
openssl \
python \
python-dev \
Expand Down
7 changes: 5 additions & 2 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile -o dev_requirements.txt dev_requirements.in requirements.txt
# pip-compile --output-file=dev_requirements.txt dev_requirements.in requirements.txt
#
amqp==2.2.2
ansible==2.6.1
Expand All @@ -27,7 +27,7 @@ celery==4.0.2
certifi==2017.7.27.1
cffi==1.10.0
chardet==3.0.4
chromogenic==0.4.20
chromogenic==0.5.1
cliff==2.8.0
cmd2==0.7.5
colorama==0.3.9
Expand Down Expand Up @@ -203,3 +203,6 @@ wheel==0.29.0
wrapt==1.10.10
xlsxwriter==0.9.8
yapf==0.24.0

# The following packages are considered to be unsafe in a requirements file:
# setuptools==41.0.1 # via ansible, django-sslserver, ipdb, ipython
3 changes: 0 additions & 3 deletions docker/celerybeat.initd
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/bash
#
# Templated by Clank
#

# =========================================================
# celerybeat - the Celery periodic task scheduler.
Expand Down
3 changes: 0 additions & 3 deletions docker/celeryd.initd
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/bash
#
# Templated by Clank
#

# ============================================
# atmosphere celeryd - Starts the Celery worker daemon.
Expand Down
1 change: 1 addition & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ else
fi

# Start services
sed -i "s/^bind 127.0.0.1 ::1$/bind 127.0.0.1/" /etc/redis/redis.conf
service redis-server start
service celerybeat start
service celeryd start
Expand Down
3 changes: 0 additions & 3 deletions docker/flower.initd
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/bash
#
# Templated by Clank
#

# =========================================================
# flower - the Celery task monitoring web service.
Expand Down
1 change: 1 addition & 0 deletions docker/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ source /opt/env/atmosphere/bin/activate
apt-get update && apt-get install -y postgresql
pip install -U pip==9.0.3 setuptools
pip install pip-tools==1.11.0
sed -i "s/^bind 127.0.0.1 ::1$/bind 127.0.0.1/" /etc/redis/redis.conf
service redis-server start

# Wait for DB to be active
Expand Down
7 changes: 5 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile -o requirements.txt requirements.in
# pip-compile --output-file=requirements.txt requirements.in
#
amqp==2.2.2 # via kombu
ansible==2.6.1
Expand All @@ -21,7 +21,7 @@ celery==4.0.2
certifi==2017.7.27.1 # via requests, tornado
cffi==1.10.0 # via bcrypt, cryptography, pynacl
chardet==3.0.4 # via requests
chromogenic==0.4.20
chromogenic==0.5.1
cliff==2.8.0 # via osc-lib, python-heatclient, python-neutronclient, python-openstackclient
cmd2==0.7.5 # via cliff
colorama==0.3.9
Expand Down Expand Up @@ -136,3 +136,6 @@ vine==1.1.4 # via amqp
warlock==1.2.0 # via python-glanceclient
wrapt==1.10.10 # via debtcollector, positional
xlsxwriter==0.9.8

# The following packages are considered to be unsafe in a requirements file:
# setuptools==41.0.1 # via ansible, django-sslserver