Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Docker Build Images
scripts
Commits
aa2b6ea2
Commit
aa2b6ea2
authored
3 years ago
by
Johannes Meyer
Browse files
Options
Downloads
Patches
Plain Diff
icinga-build-deb-test: Pin local repo to 1001
parent
6aea60db
No related branches found
No related tags found
No related merge requests found
Pipeline
#19283
passed
3 years ago
Stage: lint
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icinga-build-deb-test
+2
-0
2 additions, 0 deletions
icinga-build-deb-test
with
2 additions
and
0 deletions
icinga-build-deb-test
+
2
−
0
View file @
aa2b6ea2
...
@@ -15,7 +15,9 @@ fi
...
@@ -15,7 +15,9 @@ fi
cd
"
${
WORKDIR
}
/
${
BUILDDIR
}
"
cd
"
${
WORKDIR
}
/
${
BUILDDIR
}
"
dpkg
-s
apt-utils &>/dev/null
||
sudo
apt-get
install
-y
apt-utils
dpkg
-s
apt-utils &>/dev/null
||
sudo
apt-get
install
-y
apt-utils
apt-ftparchive packages
.
>
Packages
apt-ftparchive packages
.
>
Packages
echo
"Codename: ./"
>
Release
echo
"deb [trusted=yes] file:
$(
pwd
)
/ ./"
|
sudo tee
/etc/apt/sources.list.d/local.list
echo
"deb [trusted=yes] file:
$(
pwd
)
/ ./"
|
sudo tee
/etc/apt/sources.list.d/local.list
echo
-e
"Package: *
\n
Pin: release n=./,c=
\n
Pin-Priority: 1001"
|
sudo tee
/etc/apt/preferences.d/local
sudo
apt-get update
sudo
apt-get update
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment