.gitlab-ci.yml.bak 1.02 KB
Newer Older
1 2 3 4
image: arm32v7/debian

before_script:
  - echo 'Acquire::http { Proxy "http://172.17.0.1:3142"; }' >> /etc/apt/apt.conf.d/proxy
5 6
  - apt update
  - apt install -y sudo make build-essential autoconf automake autogen live-build tar gzip xz-utils gdisk unzip wget kpartx lvm2 dosfstools coreutils parted xfsprogs wget binutils tar git parted bc
7 8 9 10 11 12 13 14 15 16
  - mkdir keyring && cd keyring && wget -r -np --tries=10 -A .deb "http://archive.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/" && dpkg --force-all -i archive.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/parrot-archive-keyring*.deb && cd .. && rm -rf keyring
  - echo "deb http://deb.parrotsec.org/parrot/ parrot main" > /etc/apt/sources.list.d/parrot.list && apt update
  - apt download live-build debootstrap && dpkg --force-all -i live-build*.deb debootstrap*.deb
  - rm -r /etc/apt/sources.list.d/parrot.list && apt update
build:
  script: make clean && ./configure_gitlabCI && make all_arm64v8env -j8
  artifacts:
    paths:
      - parrotsec-*rpi*
    expire_in: 3 months