Commit Graph

14 Commits

Author SHA1 Message Date
Abhilash Raj
941b7f0411 Remove the get_latest_ref script and use the primary branch.
We previously used the get_latest_ref.py script to fetch the
latest commit sha for each project that passed CI correctly. Although,
that has some challenges due to requiring Gitlab Auth token. It causes
issues with building PRs and we don't want to share the Gitlab token
with PR authors.

Instead, this commit removes the code and sha references and Instead
simply uses the primary master branch from each project to build the
rolling release container image.
2022-04-14 07:24:10 +00:00
Abhilash Raj
b84c09c1ae Remove generate tests and use static test yaml. (#515)
* Remove generate tests and use static test yaml.

Since there aren't any more variables in the test yaml, replace
the shell script with a static YAML.

* Print python version

* Remove generate test step
2021-09-18 16:26:59 -07:00
Abhilash Raj
a5c591226d Update CI setup 2021-09-17 19:55:49 +00:00
Abhilash Raj
7ce2c3f14d Fix the tests. 2018-07-25 23:10:21 -07:00
Abhilash Raj
0bbd4aadc7 We don't need tags when building. 2018-07-05 14:45:42 -07:00
Christoph Wagner
770267b417 set TAG in build only if not set before 2018-07-04 21:21:25 +02:00
Abhilash Raj
69eeccc9a2 Add a Dockerfile.dev to create build container. (#253) 2018-06-22 18:38:55 -07:00
Abhilash Raj
3b71d5e1dd Add support to build and deploy postorius containers. (#251)
* Add support to build and deploy postorius containers.

- Also, simplify the deployment script.

* Use curly braces instead of round.
2018-06-22 17:32:23 -07:00
Abhilash Raj
97e9d68c3b Ci workflows (#185)
* Build dev images with every commit.

* Use virtualenv to build dev images.

* Activate virtualenv properly.
2017-11-05 21:22:19 -08:00
Abhilash Raj
12e7761c1f Use Circle CI for faster builds. (#181)
Move to Circle CI from Travis CI.
2017-11-05 18:41:00 -08:00
Abhilash Raj
3434446987 Create rolling releases using the Gitlab API. (#171)
* Create rolling releases using the Gitlab API.

This commit builds rolling releases of Container images using the latest commit
on master branch if the pipeline passed for it. The script which gets the
references is still un-tested and should be tested.

The latest commit hashes are passed as arguments to the Dockerfile, which is
then used by PIP to install the specific version of the dependency.
2017-11-03 18:43:59 -07:00
Abhilash Raj
b477b891b6 Change build script to build latest release versions if not in CI (#115)
Build.sh can build the latest versions of the images using the VERSION file under the two repos (core & web).
2017-08-09 16:34:01 -07:00
Abhilash Raj
d5be8baa32 Built on Travis instead of Dockerhub. 2017-05-22 16:51:00 -07:00
Abhilash Raj
dcc2ccb70e Remove building from docker-compose and move that to a seperate script.
I want to be able to distribute docker-compose.yaml without any dependencies. In
order to do that, I should make it pull stable images from hub.docker.com
instead of trying to build them locally. This will avoid users running untested
code from the github repo instead of using the tested version on docker hub.
2017-04-25 19:49:31 -07:00