mirror of https://github.com/zulip/zulip.git
ci: Remove Ubuntu 14.04 (trusty) from CI.
Tweaked by tabbott to improve our CI docs discussion of these. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
b4204e7cfd
commit
bfa82a70c8
|
@ -82,25 +82,6 @@ aliases:
|
||||||
|| echo "Error in uploading coverage reports to codecov.io."
|
|| echo "Error in uploading coverage reports to codecov.io."
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"trusty-backend-python3.4":
|
|
||||||
docker:
|
|
||||||
# This is built from tools/circleci/images/trusty/Dockerfile .
|
|
||||||
# Trusty ships with Python 3.4.
|
|
||||||
- image: gregprice/circleci:trusty-python-5.test
|
|
||||||
|
|
||||||
working_directory: ~/zulip
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
|
|
||||||
- *create_cache_directories
|
|
||||||
- *restore_cache_package_json
|
|
||||||
- *restore_cache_requirements
|
|
||||||
- *install_dependencies
|
|
||||||
- *save_cache_package_json
|
|
||||||
- *save_cache_requirements
|
|
||||||
- *run_backend_tests
|
|
||||||
|
|
||||||
"xenial-backend-frontend-python3.5":
|
"xenial-backend-frontend-python3.5":
|
||||||
docker:
|
docker:
|
||||||
# This is built from tools/circleci/images/xenial/Dockerfile .
|
# This is built from tools/circleci/images/xenial/Dockerfile .
|
||||||
|
@ -160,6 +141,5 @@ workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- "trusty-backend-python3.4"
|
|
||||||
- "xenial-backend-frontend-python3.5"
|
- "xenial-backend-frontend-python3.5"
|
||||||
- "bionic-backend-python3.6"
|
- "bionic-backend-python3.6"
|
||||||
|
|
|
@ -58,7 +58,7 @@ You might be interested in:
|
||||||
|
|
||||||
* **Running a Zulip server**. Setting up a server takes just a couple
|
* **Running a Zulip server**. Setting up a server takes just a couple
|
||||||
of minutes. Zulip runs on Ubuntu 18.04 Bionic, Ubuntu 16.04 Xenial,
|
of minutes. Zulip runs on Ubuntu 18.04 Bionic, Ubuntu 16.04 Xenial,
|
||||||
Ubuntu 14.04 Trusty, and Debian 9 Stretch. The installation process is
|
and Debian 9 Stretch. The installation process is
|
||||||
[documented here](https://zulip.readthedocs.io/en/stable/production/install.html).
|
[documented here](https://zulip.readthedocs.io/en/stable/production/install.html).
|
||||||
Commercial support is available; see <https://zulipchat.com/plans>
|
Commercial support is available; see <https://zulipchat.com/plans>
|
||||||
for details.
|
for details.
|
||||||
|
|
|
@ -52,18 +52,16 @@ uses those SSH keys for authentication.
|
||||||
|
|
||||||
The main CircleCI configuration file is
|
The main CircleCI configuration file is
|
||||||
[./circleci/config.yml](https://github.com/zulip/zulip/blob/master/.circleci/config.yml).
|
[./circleci/config.yml](https://github.com/zulip/zulip/blob/master/.circleci/config.yml).
|
||||||
We currently run several jobs during a CircleCI build. They are:
|
We run multiple jobs during a CircleCI build to test different
|
||||||
* trusty-python-3.4
|
supported platforms. They are currently:
|
||||||
* xenial-python-3.5
|
|
||||||
* bionic-python-3.6
|
* xenial-backend-frontend-python-3.5
|
||||||
|
* bionic-backend-python3.6
|
||||||
|
|
||||||
Each runs the Zulip backend test suites, using the indicated
|
Each runs the Zulip backend test suites, using the indicated
|
||||||
platform/OS and Python version. `bionic-python-3.6` job for example
|
platform/OS and Python version. As suggested by the names, only one
|
||||||
runs the tests in Ubuntu Xenial with Python 3.6 pre-installed.
|
suite runs the frontend test suites, since those are not
|
||||||
Additionally, the `xenial` suite also runs the Zulip frontend test
|
platform-dependent.
|
||||||
suites; since those are not platform-dependent, it doesn't make sense
|
|
||||||
to run them on all platforms. Your build for the PR will pass only if
|
|
||||||
all the 3 jobs are executed successfully.
|
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
trusty:
|
|
||||||
base_image: buildpack-deps:trusty-scm
|
|
||||||
extra_packages: python-virtualenv postgresql-9.3
|
|
||||||
|
|
||||||
xenial:
|
xenial:
|
||||||
base_image: buildpack-deps:xenial-scm
|
base_image: buildpack-deps:xenial-scm
|
||||||
extra_packages: virtualenv postgresql-9.5
|
extra_packages: virtualenv postgresql-9.5
|
||||||
|
|
Loading…
Reference in New Issue