Commit Graph

86 Commits

Author SHA1 Message Date
Suzanne Dupéron
2c677c2b73 Fix typo in script (third) 2020-02-18 16:18:59 +01:00
Suzanne Dupéron
b594f85594 Fix typo in script (again) 2020-02-18 12:27:14 +01:00
Suzanne Dupéron
9f7b39afd3 Fix typo in script 2020-02-18 11:37:02 +01:00
Suzanne Dupéron
f9d2daf7f3 Run dev pipeline for *-run-dev branches 2020-02-17 17:45:11 +01:00
Jev Björsell
1d06dd4f74
Pin docker image to a working one.
Related to ci job timeout tracked here: https://gitlab.com/gitlab-org/gitlab-runner/issues/6697
2020-02-15 06:49:39 -08:00
Jev Björsell
c59be5f746 * Switch to in-line CI for webide over GitLab's child-pipeline feature. There was too many bugs/weirdness with the child-pipeline. Maybe we use it when it matures.
* Flatten the build_and_deploy_docker and build_and_deploy_website into one step. They don't appear to be dependent, and if the upstream "test" jobs ran okay, then we can run these jobs in parallel.
* Run the webide unit tests in the `test` stage only if there are changes to the tools/webide directory.
* Switch to using the new `rules` ([docs](https://docs.gitlab.com/ee/ci/yaml/#rules))property instead of `only` / `except`. `rules` is now the preferred way of setting job policies. `only`/`except` are [candidates for deprecation](https://docs.gitlab.com/ee/ci/yaml/#onlyexcept-basic).
* Build/push docker images only when CI is running on the canonical `ligolang/ligo` repo. Makes hacking on CI in forked repos easier.
* Don't push a `latest` tag for the webide.
2020-02-13 23:10:02 +00:00
Suzanne Dupéron
1bd9ca9d1e Remove message "tput: No value for $TERM and no -T specified" in gitlab builds 2020-02-10 20:37:30 +01:00
Jev Björsell
bffa1585b0
Fix docker tag to use default docker hub registry
Follow the same logic as `scripts/build_docker_image.sh` This could use
some further refactoring simplification.
2020-02-07 09:14:50 -08:00
Jev Björsell
74198fd61f
Add trigger to kick off the webide child ci pipeline 2020-02-07 08:09:05 -08:00
Jev Björsell
7d94a41d92
Missed one stray environment variable 2020-02-07 08:01:07 -08:00
Jev Björsell
dfb4c4caa3
Move CI ENV vars and use a recent docker image
When this MR is merged, remove `LIGO_REGISTRY_IMAGE_BASE_NAME` and
`LIGO_REGISTRY_IMAGE` from gitlabs CI settings: https://gitlab.com/ligolang/ligo/-/settings/ci_cd

This will allow CI builds to run in forked repositories.

Use a recent docker/dind image that supports `--cache-from` which will
be put to use in later MRs.
2020-02-06 18:43:24 -08:00
Tom Jack
6f4c147a31 Don't merge to master 2020-01-23 11:48:27 -06:00
Tom Jack
6bcd75e5b6 CI for "merge_requests" 2020-01-23 11:43:43 -06:00
Suzanne Dupéron
27f99ab120 build_and_deploy_website depends on build_and_package_binaries
build_and_deploy_website depended implicitly on
build_and_package_binaries. I guess it needs to come after, still (from
Tom Jack)
2020-01-10 11:49:01 +01:00
Suzanne Dupéron
8c6c3c1869 Run gitlab-ci pipeline stages in parallel
for faster merges
2020-01-10 01:09:37 +01:00
Lesenechal Remi
f16f16e4b3 coverage resutlts as a CI artifact 2019-12-31 14:23:51 +01:00
Tom Jack
dbb36e6fdc Use runtest to run tests 2019-11-21 12:28:38 -06:00
Matej Šima
aa231cec27 Feature/smaller docker image 2019-11-09 22:34:20 +00:00
Tom Jack
804281b206 Copy debian packages into gitlab-pages 2019-10-01 18:08:00 -05:00
Matej Sima
78c6cbae68 Add build & packaging scripts for multiplatform ligo binary distribution 2019-09-30 14:25:01 -05:00
Matej Sima
d9afee0fad Attempt to fix docker_build CI config 2019-09-25 13:19:44 +02:00
Matej Sima
d1c1f0c08e Move docker_build to 'script' level in the CI 2019-09-25 13:14:41 +02:00
Matej Sima
af9e6a90b9 Move docker publishing and testing to script instead of after_script in the CI 2019-09-25 13:11:10 +02:00
Matej Sima
c60a02942b Update the CLI testing script CI pipeline 2019-09-25 10:52:26 +02:00
Matej Šima
5fcb426239 Refactor/add cli tests 2019-09-22 13:06:52 +00:00
Tom Jack
33dbd11482 Delete broken local-repo-job 2019-09-21 13:50:01 -07:00
Matej Sima
2773a2e4cd Bring back local-repo-job for testing 2019-09-21 14:28:33 +02:00
Tom Jack
e0b5910627 Try to fix CI again 2019-09-08 12:37:11 -07:00
Georges Dupéron
61550c6c2f CI docker WIP 2019-09-07 14:30:24 +02:00
Georges Dupéron
fbcfe56df3 CI docker WIP 2019-09-07 14:25:32 +02:00
Georges Dupéron
cc1e142f25 CI docker WIP 2019-09-07 14:10:49 +02:00
Georges Dupéron
41b2691f39 CI docker WIP 2019-09-07 14:08:35 +02:00
Georges Dupéron
d31001fab6 CI docker WIP 2019-09-07 13:30:46 +02:00
Georges Dupéron
644d90be6d Fix CI and Makefile (WIP) 2019-09-06 17:27:09 +02:00
Georges Dupéron
8b639e5231 Small fixes to the doc and to the odoc build script 2019-06-20 21:11:37 +02:00
Georges Dupéron
461b0ff331 cd folder 2019-06-12 11:09:21 +02:00
Georges Dupéron
044e2fac7f Move odoc to the right folder 2019-06-12 10:26:58 +02:00
Georges Dupéron
b0408fdcd9 move internal documentation at the end, otherwise npm deletes it it seems. 2019-06-12 09:50:47 +02:00
Georges Dupéron
08f1e368de Merge remote-tracking branch 'origin/georges-bash-security-and-error-detection' into feature/#3-add-odoc-to-website 2019-06-10 21:42:37 +02:00
Georges Dupéron
47409db7db Started using the scripts/… in .gitignore, started a Makefile for one-liners to be used by the devs, e.g. make build-deps, make, make test 2019-06-10 10:19:49 +02:00
Georges Dupéron
8d86f4ba5c temporarily build docs on feature/#3-add-odoc-to-website branch 2019-06-07 12:24:16 +02:00
Georges Dupéron
b36f497f85 add odoc to Ci 2019-06-07 11:56:03 +02:00
Matej Sima
44ecc0a133 Cleanup before merging 2019-06-06 17:59:03 +02:00
Matej Sima
12d4f5d0b9 Remove unnecessary scripts from webpage build 2019-06-06 17:08:23 +02:00
Matej Sima
c15f950a1a debug ci 2019-06-06 17:03:30 +02:00
Matej Sima
c0cc9c76dc Add updated installation guide, restructure docs 2019-06-06 16:49:47 +02:00
Matej Sima
0e6a3f6721 Update website versioning workflow 2019-06-06 15:45:45 +02:00
Matej Sima
0e82c183ec Update CI config to create & deploy 'next' version of docs 2019-06-05 16:46:00 +02:00
Georges Dupéron
8789004f43 build the remote-repo job only on master 2019-06-01 13:44:08 +02:00
Matej Sima
d83d8a5449 Add only 'master' to docker image deployment job 2019-05-27 18:47:10 +02:00