From 95ef648a3823b9a56bc4d863ab4c98f85744054f Mon Sep 17 00:00:00 2001 From: Vijendar Komalla Date: Wed, 17 Feb 2016 11:15:37 -0600 Subject: [PATCH 1/4] Create appfile.yaml --- appfile.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 appfile.yaml diff --git a/appfile.yaml b/appfile.yaml new file mode 100644 index 0000000..f59aac4 --- /dev/null +++ b/appfile.yaml @@ -0,0 +1,11 @@ +version: 1 +name: python-sample-app +description: Sample Python web app. +artifacts: +- name: python-sample-app + content: + href: https://github.com/rackspace-solum-samples/solum-python-sample-app.git + language_pack: python27 + unittest_cmd: pip install -r test-requirements.txt; pep8 app.py + run_cmd: python app.py + ports: 80 From 4208b90924508b63fe8b71e1e7eb5754c14332eb Mon Sep 17 00:00:00 2001 From: Vijendar Komalla Date: Thu, 18 Feb 2016 14:27:12 -0600 Subject: [PATCH 2/4] Update appfile.yaml --- appfile.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/appfile.yaml b/appfile.yaml index f59aac4..50f4bdc 100644 --- a/appfile.yaml +++ b/appfile.yaml @@ -1,11 +1,11 @@ version: 1 name: python-sample-app description: Sample Python web app. -artifacts: -- name: python-sample-app - content: - href: https://github.com/rackspace-solum-samples/solum-python-sample-app.git - language_pack: python27 +language_pack: python27 +source: + repository: https://github.com/rackspace-solum-samples/solum-python-sample-app.git +workflow_config: unittest_cmd: pip install -r test-requirements.txt; pep8 app.py run_cmd: python app.py - ports: 80 +ports: + - 80 From e5d7785774da27dcf6c5bae7d5bfcad1cdc29f28 Mon Sep 17 00:00:00 2001 From: Vijendar Komalla Date: Thu, 18 Feb 2016 14:30:46 -0600 Subject: [PATCH 3/4] Update appfile.yaml --- appfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appfile.yaml b/appfile.yaml index 50f4bdc..80370d0 100644 --- a/appfile.yaml +++ b/appfile.yaml @@ -5,7 +5,7 @@ language_pack: python27 source: repository: https://github.com/rackspace-solum-samples/solum-python-sample-app.git workflow_config: - unittest_cmd: pip install -r test-requirements.txt; pep8 app.py + test_cmd: pip install -r test-requirements.txt; pep8 app.py run_cmd: python app.py ports: - 80 From 08a52488842edd8ccd5cea1eb81bbad66312b6c7 Mon Sep 17 00:00:00 2001 From: Vijendar Komalla Date: Thu, 18 Feb 2016 14:37:33 -0600 Subject: [PATCH 4/4] Update appfile.yaml --- appfile.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/appfile.yaml b/appfile.yaml index 80370d0..0352c06 100644 --- a/appfile.yaml +++ b/appfile.yaml @@ -4,6 +4,7 @@ description: Sample Python web app. language_pack: python27 source: repository: https://github.com/rackspace-solum-samples/solum-python-sample-app.git + revision: master workflow_config: test_cmd: pip install -r test-requirements.txt; pep8 app.py run_cmd: python app.py