Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
reposync
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
linuxsupport
cronjobs
reposync
Commits
5a3e1e19
Commit
5a3e1e19
authored
2 years ago
by
Marta Vila Fernandes
Committed by
Alex Iribarren
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove gpgcheck on umd base repo
parent
2fcbe244
No related branches found
Branches containing commit
No related tags found
1 merge request
!234
Remove gpgcheck on umd base repo
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dev.repos.d/UMD.repo
+31
-0
31 additions, 0 deletions
dev.repos.d/UMD.repo
dev.repos.yaml
+1
-1
1 addition, 1 deletion
dev.repos.yaml
prod.repos.d/UMD.repo
+1
-2
1 addition, 2 deletions
prod.repos.d/UMD.repo
reposync/runreposync.sh
+7
-1
7 additions, 1 deletion
reposync/runreposync.sh
with
40 additions
and
4 deletions
dev.repos.d/UMD.repo
0 → 100644
+
31
−
0
View file @
5a3e1e19
[UMD-4-7-x86_64-base]
name=UMD 4 base (CentOS7) x86_64
baseurl=http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/base
enabled=1
gpgcheck=0
[UMD-4-7-x86_64-updates]
name=UMD 4 updates (CentOS7) x86_64
baseurl=http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-emi file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IGE file:///etc/pki/rpm-gpg/UMD-RPM-PGP-KEY file:///etc/pki/rpm-gpg/RPM-GPG-KEY-QCG file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid file:///etc/pki/rpm-gpg/0608B895.txt
[UMD-4-EGI-trustanchors]
name=EGI-trustanchors
baseurl=http://repository.egi.eu/sw/production/cas/1/current
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-EUGridPMA-RPM-3
[UMD-4-preview.repository-centos-7-x86_64]
name=Repository for preview.repository (o/s: centos7 arch: x86_64)
baseurl=http://repository.egi.eu/sw/untested/umd/4/centos7/x86_64/
enabled=1
gpgcheck=0
[UMD-4-preview.community-repository-centos-7-x86_64]
name=Repository for preview.repository (o/s: centos7 arch: x86_64)
baseurl=http://repository.egi.eu/community/software/preview.repository/2.0/releases/centos/7/x86_64/RPMS
enabled=1
gpgcheck=0
This diff is collapsed.
Click to expand it.
dev.repos.yaml
+
1
−
1
View file @
5a3e1e19
...
...
@@ -9,7 +9,7 @@
# Default: "//"
defaults
:
schedule
:
'
*
*
*
*
*'
schedule
:
'
0
*
*
*
*'
checksum
:
'
sha256'
pathroot
:
'
mirror'
pathcut
:
'
//'
...
...
This diff is collapsed.
Click to expand it.
prod.repos.d/UMD.repo
+
1
−
2
View file @
5a3e1e19
...
...
@@ -2,8 +2,7 @@
name=UMD 4 base (CentOS7) x86_64
baseurl=http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/base
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-emi file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IGE file:///etc/pki/rpm-gpg/UMD-RPM-PGP-KEY file:///etc/pki/rpm-gpg/RPM-GPG-KEY-QCG file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid file:///etc/pki/rpm-gpg/0608B895.txt
gpgcheck=0
[UMD-4-7-x86_64-updates]
name=UMD 4 updates (CentOS7) x86_64
...
...
This diff is collapsed.
Click to expand it.
reposync/runreposync.sh
+
7
−
1
View file @
5a3e1e19
...
...
@@ -65,6 +65,12 @@ fi
# Delete the lock if we die
trap
'rm -f "$LOCKFILE"; exit $?'
INT TERM EXIT
# Verify gpgcheck
grep
-q
'gpgcheck=1'
/etc/yum.repos.d/sync.repo
if
[
$?
-eq
0
]
;
then
GPGCHECK
=
'--gpgcheck'
fi
if
[[
$RUN_REPOSYNC
-eq
1
]]
;
then
# Run reposync
...
...
@@ -74,7 +80,7 @@ if [[ $RUN_REPOSYNC -eq 1 ]]; then
--downloadcomps
\
--download-metadata
\
--norepopath
\
--gpgcheck
\
${
GPGCHECK
}
\
--download-path
${
REPOPATH
}
\
--repoid
${
REPOID
}
2> /local/stderr
RET
=
$?
...
...
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