Arthur Meyre
baa8a97e98
chore: remove package watcher workflow for now
...
- causes some errors in github actions
2021-11-16 12:31:21 +01:00
Arthur Meyre
1b3f9aa048
chore: use pip package for docker
...
- comment out package-watcher as it's not compatible with the new docker
waiting on the compiler proper release workflow to update this
- update setup_env target to be docker and bare env friendly (workaround)
- update torch_requirements.txt
refs #809
2021-11-16 10:41:53 +01:00
Umut
d244bcace9
test(scripts): create measurement script tests
2021-11-15 12:45:55 +03:00
Andi Drebes
e356b8f797
fix(ci): Conformance test: Abort on failure in any command in the run section
...
By default, all commands in the `run` section of
`.github/workflows/conformance.yml` are executed, regardless of their
return values and the return value of the last command is used as the
result for the entire flow. Failing test followed by passing tests
thus remain undetected.
This change forces the use of the bash shell and causes it to exit
immediately with a non-zero return value when one of the commands
fails using `set -e`.
2021-11-12 15:05:55 +01:00
youben11
3246f8b035
chore: remove build files from docker image
...
- Reduce the size of the docker image
- Make sure ccache is always used => faster CI tests
2021-11-12 15:05:55 +01:00
Ayoub Benaissa
2088e86edd
ci: run concretelib compatibility-check once a week
2021-11-12 12:12:07 +01:00
IceTDrinker
49dd0f57c1
chore(deps): bump compiler to a888a6b329
...
- disable buildx as it seems to be failing a lot
2021-11-10 17:48:10 +01:00
Andi Drebes
3bf493e83c
ci: Force use of ccache in conformance.yml
...
Set the make variable `CCACHE` to `ON` in order to force the use of
`ccache` during compilation of the code. For unknown reasons, the
build directory must also be removed. Otherwise, a complete rebuild
circumventing the cache is triggered and `ccache` does not have any
effect on compilation time.
Debug information printing `ccache` statistics before and after the
build has also been added.
2021-11-10 15:46:48 +01:00
Arthur Meyre
e20ad467e3
chore: allow to manually run the package watcher to update the env docker
2021-11-09 18:03:18 +01:00
Arthur Meyre
77a379060a
chore: update package watcher to open PR instead of triggering rebuild
...
closes #784
2021-11-09 15:38:57 +01:00
dependabot[bot]
6ea46d2cbe
chore(deps): bump actions/checkout from 2.3.5 to 2.4.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](1e204e9a92...ec3a7ce113 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-08 09:56:22 +01:00
Benoit Chevallier-Mames
b1df5c0fbe
chore: create a template for our new operators
2021-11-02 17:23:32 +01:00
Arthur Meyre
9dedf1abc6
chore: allow to stop package watcher with repo secret
2021-11-02 09:26:22 +01:00
Arthur Meyre
267e5b2137
chore(ci): fix missing env variable for versions.html edition
...
- push versions.html last as it is stateful
2021-10-29 17:40:09 +02:00
Arthur Meyre
00ca11b588
chore: fix versions.html update
...
- run through poetry to have the required dependencies
2021-10-29 16:19:39 +02:00
Arthur Meyre
c5dfb449f3
chore(ci): disable poetry cache
...
- fix an issue that started happening out of nowhere, no fix before 1.2 it
seems
- see https://github.com/python-poetry/poetry/issues/4210
2021-10-29 16:09:32 +02:00
Arthur Meyre
eb54cec065
docs(ci): manage versions.html
...
- create generate_versions_html.py
- update workflow to be able to push pre-releases on preprod server
closes #738
2021-10-29 14:15:34 +02:00
Arthur Meyre
d93015836e
chore(ci): give the possibility to version cache and clear it
...
- will help resolve issues with poetry cache
2021-10-29 14:15:34 +02:00
youben11
dc2d6a362e
chore: stop using "build" target in CI
2021-10-28 15:59:31 +01:00
Arthur Meyre
2fa3a8bcbe
chore(ci): use aws command line and credentials setup for aws tasks
2021-10-28 16:25:21 +02:00
dependabot[bot]
5aa87168f6
chore(deps): bump marocchino/sticky-pull-request-comment
...
Bumps [marocchino/sticky-pull-request-comment](https://github.com/marocchino/sticky-pull-request-comment ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/marocchino/sticky-pull-request-comment/releases )
- [Commits](82e7a0d3c5...39c5b5dc77 )
---
updated-dependencies:
- dependency-name: marocchino/sticky-pull-request-comment
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-25 09:13:27 +02:00
Arthur Meyre
e707333f36
chore(ci): update release text generation
...
closes #634
2021-10-19 18:30:05 +02:00
Arthur Meyre
83ddf92bdd
chore(ci): update workflow to push doc
...
- check version and tag match
- push doc as version if not pre-release
- push doc as stable if version is the biggest one, clear cache in that
case
closes #454
2021-10-19 15:37:09 +02:00
Arthur Meyre
ab151091ce
chore(scripts): add a target to trigger a release
...
- check the version coherence before creating the tag
refs #308
2021-10-19 15:37:09 +02:00
Arthur Meyre
fb0564eea2
docs(ci): change push target for documentation when pushing to main
...
- use preprod bucket through secrets
refs #454
2021-10-19 09:54:55 +02:00
dependabot[bot]
42d4a1b873
chore(deps): bump actions/checkout from 2.3.4 to 2.3.5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](5a4ac9002d...1e204e9a92 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-18 10:29:12 +02:00
Arthur Meyre
a0a0c4bce6
chore(ci): add deps optional scope to fix dependabot PRs
2021-10-18 10:02:25 +02:00
Arthur Meyre
5bb042bc16
chore(ci): prepare docs push for release with dummy steps
2021-10-15 17:10:44 +02:00
Umut
e164671608
feat(ci): add 'execution' optional scope
2021-10-15 16:16:32 +03:00
Umut
753ab5b6a2
feat(ci): add 'compilation' optional scope
2021-10-15 13:06:36 +03:00
Arthur Meyre
31e14e7b66
chore(ci): fix another issue with a glob in the release workflow
2021-10-12 14:59:40 +02:00
Umut
e7a141c4f1
feat(ci): add more optional scopes
2021-10-12 15:11:34 +03:00
youben11
33d75a92f4
ci: remove logging of LLVM commit
...
the loggign is actually incorrect, as this would be the version of the
repo, not the one in the env, so it doesn't even make sense
2021-10-12 11:50:15 +01:00
Arthur Meyre
fd40a8b951
chore: fix release workflow
...
- globs don't expand in quoted strings to the contrary of variables
2021-10-12 10:40:39 +02:00
Benoit Chevallier-Mames
ea7e117815
chore: let's try to check optional scopes
...
refs #583
2021-10-12 10:36:41 +02:00
Arthur Meyre
3c85d63603
chore: fix release workflow dependencies install
...
- graphviz is required for the whole project, we don't have dependencies
groups yet (waiting for poetry 1.2) so we need to install it
2021-10-11 19:06:51 +02:00
Arthur Meyre
8490f88227
chore: change coverage to have global infos
...
- have a small hack to dump pytest-cov report
2021-10-11 19:06:37 +02:00
Arthur Meyre
de3a9f9bb3
chore: update release workflow for auto GitHub release creation
...
- update version_utils.py script to get info about prerelease
- update release template
2021-10-11 16:13:10 +02:00
youben11
952968567b
ci: update msg of LLVM auto-update commit
2021-10-09 11:44:46 +01:00
Arthur Meyre
92ca061da9
chore: fix release workflow
...
- new tool to evaluate latest tag depends on some python packages
- for now install the whole environment again
- when poetry 1.2 is available use groups and only install required deps
2021-10-08 15:59:51 +02:00
youben11
50236f4f18
ci: auto-update llvm 1/week if no breaking changes
2021-10-08 12:28:10 +01:00
Arthur Meyre
f2c08571a3
chore: add changelog generation and artifact upload for release
2021-10-07 18:35:09 +02:00
youben11
34f114cda9
ci: fix compatibility checks
2021-10-07 16:33:00 +01:00
Arthur Meyre
1cc7502251
chore: use Config for docker labels
...
- some configs are duplicated but old ones may not be populated
2021-10-07 17:02:45 +02:00
Arthur Meyre
b363db6700
chore(tools): centralize all versions related utils in a single script
...
- update version to be semver compliant with the new tools
- update make targets and CI workflow to use the new version tool
- update release issue template
2021-10-07 16:49:00 +02:00
Arthur Meyre
ab1f0f3c4a
chore: update env-docker tagging with compiler and concretefhe sha1
...
- also save the concretefhe sha1 in the container labels
2021-10-07 15:42:27 +02:00
youben11
8535ab797e
ci: compatibility check workflows concretelib/llvm
2021-10-07 14:38:50 +01:00
youben11
bfc763144c
ci: new unified build system
2021-10-07 14:38:50 +01:00
Arthur Meyre
674b86cf62
chore: do not fail on PR coverage comment
...
- had the case for whatever reason. Let's harden our workflow some more
2021-10-07 15:09:03 +02:00
Arthur Meyre
05e1227269
chore: update env docker to have runtime lib path in LD_PRELOAD
...
- update the rest of the dockers, script and CI to stop setting LD_PRELOAD
2021-10-07 09:58:23 +02:00