Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
manifest
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SECO Northern Europe
Yocto
manifest
Merge requests
!248
CI: Fix install hints
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CI: Fix install hints
CI-install-hints
into
dunfell
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Tobias Kahlki
requested to merge
CI-install-hints
into
dunfell
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
The files haven't been found due to changed current directory. Fixed the search path.
Edited
3 years ago
by
Tobias Kahlki
0
0
Merge request reports
Compare
dunfell
dunfell (base)
and
latest version
latest version
7f10a169
1 commit,
3 years ago
1 file
+
5
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci-build.yml
+
5
−
5
Options
@@ -32,18 +32,18 @@ variables:
.dump_install_command
:
&dump_install_command
# print install instructions
-
|-
-
|-
for i in ${INSTALLSCRIPTS};do
if [[ -f "${BUILDPATH}/${IMAGEPATH}/${i}" ]]; then
cat <<-EOF
SCRIPT="${CI_PROJECT_DIR}/${BUILDPATH}/${IMAGEPATH}/${i}"
if [[ -f "${SCRIPT}" ]]; then
cat <<-EOF
==============================
Install the image:
Install the image:
export GITLAB_TOKEN=<your_access_token>
FNG="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}/artifacts/${BUILDPATH}/${IMAGEPATH}/${i}"
curl --location --header "PRIVATE-TOKEN: \$GITLAB_TOKEN" "\$FNG" | sh -s -- --url="\$(dirname "\$FNG")"
==============================
EOF
fi
done
Loading