Skip to content

Commit

Permalink
Merge pull request #22 from onaio/kpi-setuptools-config
Browse files Browse the repository at this point in the history
Add ability to specify `setuptools` version
  • Loading branch information
DavisRayM authored Dec 2, 2021
2 parents 19325fa + 4556af4 commit 0ed85a3
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: CI
on:
- push
- pull_request

jobs:
test:
name: Test
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"

- name: Run Molecule tests
uses: onaio/molecule-action@master
File renamed without changes.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ kpi_system_requirements:
- python-celery
- python3-pip
- python3-psycopg2
- python3-setuptools
- software-properties-common
- virtualenv
- ttfautohint
Expand All @@ -27,6 +26,7 @@ kpi_npm_requirements:
kpi_django_setup_commands:
- collectstatic --noinput
- compilemessages
kpi_setuptools_version: "57.5.0"
kpi_pip_paths: "{{ kpi_checkout_path }}/dependencies/pip/external_services.txt"
kpi_local_settings_path: "{{ kpi_checkout_path }}/kobo/local_settings.py"
kpi_settings_app_name: "kobo.local_settings"
Expand All @@ -45,7 +45,7 @@ kpi_python_version: python{{ kpi_python_source_version }}
kpi_checkout_path: "{{ kpi_versioned_path }}/{{ kpi_git_branch }}"
kpi_app_path: "{{ kpi_system_user_home }}/app"
kpi_versioned_path: "{{ kpi_app_path }}-versioned"
kpi_git_branch: kpi_2.0
kpi_git_branch: "ona-custom-changes"
kpi_service_name: "{{ kpi_system_user }}"
kpi_venv_path: "{{ kpi_system_user_home }}/.virtualenvs/{{ kpi_service_name }}"
kpi_nvm_install_path: "{{ kpi_system_user_home }}/.nvm"
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ dependencies:
django_wsgi_group: "{{ kpi_wsgi_group }}"
django_python_packages: "{{ kpi_python_packages }}"
django_manage_services: "{{ kpi_django_manage_services }}"
django_setuptools_version: "{{ kpi_setuptools_version }}"

- role: onaio.collectd
collectd_scripts: "{{ kpi_collectd_scripts }}"
Expand Down
1 change: 0 additions & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@
kpi_pgsql_password: kpi
kpi_enable_monitoring: false
kpi_git_url: "https://github.com/onaio/kpi.git"
kpi_git_branch: "kpi_2.0"

0 comments on commit 0ed85a3

Please sign in to comment.