Skip to content
Snippets Groups Projects

multiple fixes

Merged Grégoire Kubler requested to merge fix/quantization_onnx_dependecy into main
Compare and
13 files
+ 116
99
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -7,10 +7,14 @@ include:
###################################################################################################
.ubuntu:download:setup:
script:
- GITLAB_ECLIPSE_URL="https://gitlab.eclipse.org"
- API_URL="$GITLAB_ECLIPSE_URL/api/v4"
- apt-get update -qq
- apt-get install -y -qq git unzip curl jq
- >
if [[ ! $setup_completed ]] ; then
GITLAB_ECLIPSE_URL="https://gitlab.eclipse.org"
API_URL="$GITLAB_ECLIPSE_URL/api/v4"
apt-get update -qq
apt-get install -y -qq git unzip curl jq
setup_completed=true
fi
.ubuntu:download:artifacts:
# This script will retrieve the artifacts of latests successful specified job in every dependency.
@@ -20,10 +24,16 @@ include:
# NOTE:
# For this script to work the var DEPENDENCY_JOB must be defined ;
# - DEPENDENCY_JOB: the name of the specific job that will serve as reference.
script:
before_script :
- set -x
- !reference [.ubuntu:download:setup, script]
- !reference [.ubuntu:download:list_dependencies, script]
- !reference [.ubuntu:download:artifacts, script]
- set +x
script:
- set -x
- !reference [.ubuntu:download:setup, script] # sometimes only the script must be called & not the before_script hence setup must be here.
- !reference [.ubuntu:download:select_jobs, script]
- echo $DEPS_NAMES[@]
- set +x
@@ -57,12 +67,12 @@ include:
- set -x
- !reference [.ubuntu:download:setup, script]
- !reference [.ubuntu:download:list_dependencies, script]
- !reference [.ubuntu:download:select_jobs, script]
- !reference [.ubuntu:download:repositories, script]
- set +x
script:
- !reference [.ubuntu:download:setup, script] # sometimes only the script must be called & not the before_script hence setup must be here.
- !reference [.ubuntu:download:select_jobs, script]
- echo "Cloning each dependency and checking them out at the commit of selected job."
- >
for i in "${!DEPS_NAMES[@]}"; do
@@ -123,15 +133,21 @@ include:
###################################################################################################
# WINDOWS
###################################################################################################
.windows:download:artifacts:
.windows:download:setup:
script:
- $ErrorActionPreference = "Stop"
- choco install jq -Y
- $GITLAB_ECLIPSE_URL="https://gitlab.eclipse.org"
- $API_URL="$GITLAB_ECLIPSE_URL/api/v4"
- Write-Host "CI project namespace $CI_PROJECT_NAMESPACE"
.windows:download:artifacts:
before_script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:list_dependencies, script]
- !reference [.windows:download:select_jobs, script]
- !reference [.windows:download:artifacts, script]
script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:select_jobs, script]
- >
for($i = 0; $i -lt $DEPS_SELECTED_JOBS.Count ; $i++) {
$DEP_ID=$DEPS_SELECTED_JOBS[$i].pipeline.project_id
@@ -143,14 +159,13 @@ include:
}
- !reference [ .windows:download:print_warning , script ]
.windows:download:dependencies:
script:
- $ErrorActionPreference = "Stop"
- choco install jq -Y
- $GITLAB_ECLIPSE_URL="https://gitlab.eclipse.org"
- $API_URL="$GITLAB_ECLIPSE_URL/api/v4"
- Write-Host "CI project namespace $CI_PROJECT_NAMESPACE"
.windows:download:repositories:
before_script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:list_dependencies, script]
- !reference [.windows:download:repositories, script]
script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:select_jobs, script]
- >
for($i = 0; $i -lt $DEPS_SELECTED_JOBS.Count ; $i++) {
Loading