Verified Commit 300a7713 authored by azubieta's avatar azubieta

Build arch package

parent 82a51d7c
Pipeline #1160 failed with stages
in 23 minutes and 39 seconds
......@@ -145,38 +145,25 @@ test:opensue_leap_pkg:
- zypper --non-interactive --no-gpg-checks install ./appimage-cli-tool*.rpm
- app --help
deploy:opensue_leap_pkg:
image: python:3.7
stage: deploy
# Arch package
build:arch_pkg:
image: azubieta90/appimage-user-tool-build:arch
stage: build
script:
- pip3 install requests
- wget https://www.opencode.net/azubieta/ocs-upload-tool/raw/master/ocs-upload.py
- python3 ocs-upload.py --username=azubieta --password="${PASSWORD}" --product=1298369 --version=0.1.5 --description="Open Suse Leap" --pkg-type=OpenSuse --pkg-arch=x86-64 appimage-cli-tool*.rpm
- mkdir build
- cp .travis/arch/PKGBUILD build
- cd build && makepkg
artifacts:
expire_in: 1 year
paths:
- build/appimage-cli-tool*.pkg
dependencies:
- test:opensue_leap_pkg
only:
- tags
# Arch package
#build:arch_pkg:
# image: azubieta90/appimage-user-tool-build:arch
# stage: build
# script:
# - mkdir build
# - cp .travis/arch/PKGBUILD build
# - cd build && makepkg
# artifacts:
# expire_in: 1 year
# paths:
# - build/appimage-cli-tool*.pkg
#
#
#test:arch_pkg:
# image: archlinux/base
# stage: test
# script:
# - pacman -Sp --noconfirm build/appimage-cli-tool*.pkg
# - app --help
# dependencies:
# - build:arch_pkg
\ No newline at end of file
test:arch_pkg:
image: archlinux/base
stage: test
script:
- pacman -Sp --noconfirm build/appimage-cli-tool*.pkg
- app --help
dependencies:
- build:arch_pkg
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment