Rename ci_scripts/ into scripts/

This commit is contained in:
link2xt
2021-04-18 20:13:51 +03:00
parent baae31117f
commit 87cb5de8b1
21 changed files with 11 additions and 11 deletions

View File

@@ -142,7 +142,7 @@ This docker image can be used to run tests and build Python wheels for all inter
$ docker run -e DCC_NEW_TMP_EMAIL \ $ docker run -e DCC_NEW_TMP_EMAIL \
--rm -it -v \$(pwd):/mnt -w /mnt \ --rm -it -v \$(pwd):/mnt -w /mnt \
deltachat/coredeps ci_scripts/run_all.sh deltachat/coredeps scripts/run_all.sh
Optionally build your own docker image Optionally build your own docker image
@@ -151,9 +151,9 @@ Optionally build your own docker image
If you want to build your own custom docker image you can do this:: If you want to build your own custom docker image you can do this::
$ cd deltachat-core # cd to deltachat-core checkout directory $ cd deltachat-core # cd to deltachat-core checkout directory
$ docker build -t deltachat/coredeps ci_scripts/docker_coredeps $ docker build -t deltachat/coredeps scripts/docker_coredeps
This will use the ``ci_scripts/docker_coredeps/Dockerfile`` to build This will use the ``scripts/docker_coredeps/Dockerfile`` to build
up docker image called ``deltachat/coredeps``. You can afterwards up docker image called ``deltachat/coredeps``. You can afterwards
find it with:: find it with::

View File

@@ -30,8 +30,8 @@ There is experimental support for triggering a remote Python or Rust test run
from your local checkout/branch. You will need to be authorized to login to from your local checkout/branch. You will need to be authorized to login to
the build machine (ask your friendly sysadmin on #deltachat freenode) to type:: the build machine (ask your friendly sysadmin on #deltachat freenode) to type::
ci_scripts/manual_remote_tests.sh rust scripts/manual_remote_tests.sh rust
ci_scripts/manual_remote_tests.sh python scripts/manual_remote_tests.sh python
This will **rsync** your current checkout to the remote build machine This will **rsync** your current checkout to the remote build machine
(no need to commit before) and then run either rust or python tests. (no need to commit before) and then run either rust or python tests.
@@ -45,6 +45,6 @@ python tests and build wheels (binary packages for Python)
You can build the docker images yourself locally You can build the docker images yourself locally
to avoid the relatively large download:: to avoid the relatively large download::
cd ci_scripts # where all CI things are cd scripts # where all CI things are
docker build -t deltachat/coredeps docker-coredeps docker build -t deltachat/coredeps docker-coredeps
docker build -t deltachat/doxygen docker-doxygen docker build -t deltachat/doxygen docker-doxygen

View File

@@ -42,7 +42,7 @@ echo -----------------------
# Bundle external shared libraries into the wheels # Bundle external shared libraries into the wheels
ssh -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $SSHTARGET mkdir -p $BUILDDIR ssh -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $SSHTARGET mkdir -p $BUILDDIR
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ci_scripts/cleanup_devpi_indices.py $SSHTARGET:$BUILDDIR scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null scripts/cleanup_devpi_indices.py $SSHTARGET:$BUILDDIR
rsync -avz \ rsync -avz \
-e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" \ -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" \
$WHEELHOUSEDIR \ $WHEELHOUSEDIR \

View File

@@ -6,4 +6,4 @@ export CIRCLE_BUILD_NUM=$USER
export CIRCLE_BRANCH=`git branch | grep \* | cut -d ' ' -f2` export CIRCLE_BRANCH=`git branch | grep \* | cut -d ' ' -f2`
export CIRCLE_PROJECT_REPONAME=$(basename `git rev-parse --show-toplevel`) export CIRCLE_PROJECT_REPONAME=$(basename `git rev-parse --show-toplevel`)
time bash ci_scripts/$CIRCLE_JOB.sh time bash scripts/$CIRCLE_JOB.sh

View File

@@ -36,7 +36,7 @@ ssh $SSHTARGET bash -c "cat >$BUILDDIR/exec_docker_run" <<_HERE
# run everything else inside docker # run everything else inside docker
docker run -e DCC_NEW_TMP_EMAIL \ docker run -e DCC_NEW_TMP_EMAIL \
--rm -it -v \$(pwd):/mnt -w /mnt \ --rm -it -v \$(pwd):/mnt -w /mnt \
deltachat/coredeps ci_scripts/run_all.sh deltachat/coredeps scripts/run_all.sh
_HERE _HERE

View File

@@ -42,5 +42,5 @@ ssh $SSHTARGET <<_HERE
source \$HOME/venv/bin/activate source \$HOME/venv/bin/activate
which python which python
bash ci_scripts/run-python-test.sh bash scripts/run-python-test.sh
_HERE _HERE

View File

@@ -25,6 +25,6 @@ ssh $SSHTARGET <<_HERE
export TARGET=x86_64-unknown-linux-gnu export TARGET=x86_64-unknown-linux-gnu
export RUSTC_WRAPPER=sccache export RUSTC_WRAPPER=sccache
bash ci_scripts/run-rust-test.sh bash scripts/run-rust-test.sh
_HERE _HERE