Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aur-autobuild-mirror
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
aur-autobuild-mirror
Commits
fbaabbdc
There was a problem fetching the pipeline stages.
Commit
fbaabbdc
authored
1 year ago
by
Recolic
Browse files
Options
Downloads
Patches
Plain Diff
auto build
parent
37fd2447
No related branches found
No related tags found
No related merge requests found
Pipeline
#925
canceled with stages
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-9
15 additions, 9 deletions
README.md
with
15 additions
and
9 deletions
README.md
+
15
−
9
View file @
fbaabbdc
...
...
@@ -6,23 +6,29 @@ Create your own mirror site, to auto-build your favorite AUR packages and free y
## Deploy
1.
Build docker image
```
cd docker-pikaur
docker build -t your-name/pikaur .
```
### Use my docker image
2
.
Put this
directory
to your server. Assume you're placing this directory to
`/srv/my-mirror-site`
1
.
Put this
repo
to your server. Assume you're placing this directory to
`/srv/my-mirror-site`
3
.
Modify the
`build_outdir`
and
`repo_name`
variable in aur-sync.sh.
2
.
Modify the
`build_outdir`
and
`repo_name`
variable in aur-sync.sh.
You should know how to publish the output directory with your web server.
4
.
Add a crontab line and enjoy!
3
.
Add a crontab line and enjoy!
```
# Trigger recolic-aur rebuild twice a month at 6 AM UTC+8, means 22:00 UTC.
0 22 2,17 * * cd /srv/mirrors && nohup ./aur-sync.sh >> /var/log/aursync.log 2>&1 & disown
```
### Build your own docker image
1.
Build docker image
```
cd docker-pikaur
docker build -t your-name/pikaur .
```
2.
Move
`your-name/pikaur`
to your server, modify
`aur-sync.sh`
manually, and continue following
`Use my docker image`
guide.
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