Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
GitLab Runner Scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
GitLab Runner Scripts
Commits
eab44c56
Verified
Commit
eab44c56
authored
Jun 23, 2020
by
Michal Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add maintenance cron scripts
parent
01ba5950
Pipeline
#45019
passed with stage
in 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
cron.hourly/README.md
cron.hourly/README.md
+15
-0
cron.hourly/gitlab-runner-libvirt-qemu-pull-images
cron.hourly/gitlab-runner-libvirt-qemu-pull-images
+3
-0
cron.hourly/pull-gitlab-runner-scripts-repo
cron.hourly/pull-gitlab-runner-scripts-repo
+3
-0
No files found.
cron.hourly/README.md
0 → 100644
View file @
eab44c56
# Maintenance cron scripts
Following scripts belong to
`/etc/cron.daily/`
(or similar, at your
discretion) on a GitLab Runner, where this repository is cloned.
## Script description
-
`gitlab-runner-libvirt-qemu-pull-images`
Runs
`libvirt-qemu/pull-images.sh`
script, which pulls and extracts
QCOW2 images to the GitLab Runner.
-
`pull-gitlab-runner-scripts-repo`
Pull this repository to deploy changes to Custom executor.
cron.hourly/gitlab-runner-libvirt-qemu-pull-images
0 → 100755
View file @
eab44c56
#!/bin/sh
exec
/home/gitlab-runner/gitlab-runner-scripts/libvirt-qemu/pull-images.sh
>
/dev/null 2>&1
cron.hourly/pull-gitlab-runner-scripts-repo
0 → 100755
View file @
eab44c56
#!/bin/sh
cd
/home/gitlab-runner/gitlab-runner-scripts
&&
git pull
>
/dev/null 2>&1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment