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
+ 182
133
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -7,10 +7,10 @@ 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
- 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
.ubuntu:download:artifacts:
# This script will retrieve the artifacts of latests successful specified job in every dependency.
@@ -20,10 +20,15 @@ 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] # setup must be executed if
- !reference [.ubuntu:download:select_jobs, script]
- echo $DEPS_NAMES[@]
- set +x
@@ -55,14 +60,13 @@ include:
before_script :
- 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:setup, script]
- !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 +127,20 @@ 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: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,15 +152,15 @@ 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:list_dependencies, script]
- !reference [.windows:download:repositories, script]
script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:select_jobs, script]
- !reference [.windows:download:repositories, script]
script:
- >
for($i = 0; $i -lt $DEPS_SELECTED_JOBS.Count ; $i++) {
# clone repo
Loading