From ea063c7a6ae6a5d7e11e8c22f9707d5c8f674ac7 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 11 Apr 2023 10:08:26 +0200 Subject: [PATCH] Update stage-build to run tox sequentially Change-Id: I967f19a8c35700290e93c9d8bd863b63b7c2d239 Signed-off-by: garciadeblas --- devops-stages/stage-build.sh | 3 +-- .../update_stage_build-49b24abdeba0e581.yaml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/update_stage_build-49b24abdeba0e581.yaml diff --git a/devops-stages/stage-build.sh b/devops-stages/stage-build.sh index 88182897..3ac7ab60 100755 --- a/devops-stages/stage-build.sh +++ b/devops-stages/stage-build.sh @@ -37,9 +37,8 @@ dist_ro_vim_vmware dist_ro_vim_gcp" TOX_ENV_LIST="$(echo $PACKAGES | sed "s/ /,/g")" -PROCESSES=$(expr `nproc --a` / 2) -TOX_PARALLEL_NO_SPINNER=1 tox -e $TOX_ENV_LIST --parallel $PROCESSES +TOX_PARALLEL_NO_SPINNER=1 tox -e $TOX_ENV_LIST # Copying packages # RO plugin diff --git a/releasenotes/notes/update_stage_build-49b24abdeba0e581.yaml b/releasenotes/notes/update_stage_build-49b24abdeba0e581.yaml new file mode 100644 index 00000000..800351e8 --- /dev/null +++ b/releasenotes/notes/update_stage_build-49b24abdeba0e581.yaml @@ -0,0 +1,20 @@ +####################################################################################### +# Copyright ETSI Contributors and Others. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. +####################################################################################### +--- +other: + - | + Update stage-build to run tox sequentially. -- 2.25.1