Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
wazzuf-ripper
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Booloki
wazzuf-ripper
Commits
18060238
Commit
18060238
authored
Mar 02, 2019
by
Booloki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change build CI stage from yaourt to yay
parent
f5f0e409
Pipeline
#110
failed with stages
in 11 minutes and 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
.gitlab-ci.yml
.gitlab-ci.yml
+7
-5
No files found.
.gitlab-ci.yml
View file @
18060238
...
...
@@ -79,10 +79,10 @@ build:archlinux-package:
-
useradd builduser -m
# Create the builduser
-
passwd -d builduser
# Delete the buildusers password
-
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
# Allow the builduser passwordless sudo
# Clone
, build and install package-query (yaourt dependancy
)
-
sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/
package-query.git && cd package-query
&& makepkg -si --noconfirm'
#
Clone, build and install yaourt
-
sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/yaourt.git && cd yaourt && makepkg -si --noconfirm'
# Clone
and install yay (binary version
)
-
sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/
yay-bin.git && cd yay-bin
&& makepkg -si --noconfirm'
#
Update env (with AUR)
-
yay -Syu --noconfirm --noprogressbar -q
# Package build
-
sudo -u builduser bash -c "cd ~ && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.lokizone.net/booloki/wazzuf-ripper.git && cd wazzuf-ripper && cp packaging/archlinux/PKGBUILD . && sed -i s/^pkgver=.*/pkgver=${CI_COMMIT_TAG}/ PKGBUILD && updpkgsums && makepkg -s"
-
mkdir build
...
...
@@ -139,7 +139,7 @@ test:archlinux-install:
-
echo 'Server = http://miroir.lan/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
# Add multilib repository
-
echo -e "[multilib]\nInclude = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf
# Update env
# Update env
(base)
-
pacman -Syu --noconfirm --noprogressbar -q
# Dependencies install
-
pacman -S --noconfirm --noprogressbar -q git base-devel sudo
...
...
@@ -149,6 +149,8 @@ test:archlinux-install:
-
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
# Allow the builduser passwordless sudo
# Clone and install yay (binary version)
-
sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si --noconfirm'
# Update env (with AUR)
-
yay -Syu --noconfirm --noprogressbar -q
# Install check (cli only)
-
sudo -u builduser bash -c 'yay -U --noconfirm build/wazzuf-ripper-[0-9]?*.pkg.tar.xz'
# Uninstall check
...
...
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