Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advisories
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
advisories
Commits
e12b7fc8
Commit
e12b7fc8
authored
2 years ago
by
Alex Iribarren
Browse files
Options
Downloads
Plain Diff
Merge branch 'updates' into 'master'
Updates See merge request
!14
parents
907fa320
585f7a23
No related branches found
No related tags found
1 merge request
!14
Updates
Pipeline
#4191152
passed
2 years ago
Stage: build
Stage: deploy_test
Stage: deploy
Stage: cleanup
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
advisories/updateinfo.sh
+3
-6
3 additions, 6 deletions
advisories/updateinfo.sh
with
3 additions
and
6 deletions
advisories/updateinfo.sh
+
3
−
6
View file @
e12b7fc8
#!/bin/bash -x
TOP
=
"/advisories"
DISTS
=
"
slc6X
cc7X c8X"
DISTS
=
"cc7X c8X
CS9
"
REPOS
=
"repos"
ARCHS
=
"
i386 x86_
64"
ARCHS
=
"
x86_64 aarch
64"
UPDINFO
=
"/root/updateinfo.pl"
UPDINFOPY
=
"/root/updateinfo.py"
UPDARGS
=
"-X"
for
DIST
in
${
DISTS
}
;
do
for
ARCH
in
$ARCHS
;
do
if
[
$DIST
==
"cc7X"
-a
$ARCH
==
"i386"
]
;
then
continue
fi
if
[
$DIST
==
"c8X"
-a
$ARCH
==
"i386"
]
;
then
if
[
$DIST
==
"cc7X"
-a
$ARCH
==
"aarch64"
]
;
then
continue
fi
# Keep a backup db file to be used in case another script needs to read it at the same time this cronjob runs
...
...
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