annotate contrib/docker/pytype/entrypoint.sh @ 51497:9da3fcc5f70f stable

test-lock: use synchronisation file instead of sleep This will prevent the test to be flaky on load.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 11 Mar 2024 16:05:28 +0100
parents 87bfd1703597
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51307
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
1 #!/usr/bin/env bash
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
2
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
3 set -euo pipefail
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
4
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
5 cd /tmp/mercurial-ci/
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
6 make local
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
7 ./contrib/setup-pytype.sh
87bfd1703597 contrib: add a set of scripts to run pytype in Docker
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
8 ./contrib/check-pytype.sh