Unable to integrate compilation with Docker Gitlab CI with Ubuntu Image

Ask your support questions in here

Moderator: Moderator Team

Post Reply
qarmin
Posts: 1
Joined: Mon Apr 20, 2020 7:07 pm

Unable to integrate compilation with Docker Gitlab CI with Ubuntu Image

Post by qarmin »

I have this code in gitlab-ci.yml which works great in my local docker instance.

Code: Select all

image: ubuntu:rolling

Coverity:
  stage: build
  script:
    - apt update
    - apt install -y curl git unzip
    - sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
    - export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
    - apt update
    - apt install -y clang meson ninja-build mingw-w64 git wget
    - wget https://svn.reactos.org/amine/RosBEBinFull.tar.gz -O RosBE.tar.gz
    - tar -xzf RosBE.tar.gz
    - RosBEBinFull/RosBE.sh
    - ./configure.sh
    - cd output-MinGW-i386
    - ninja bootcd -j8
I have a error

Code: Select all

Could not detect RosBE.
Probably because gitlab Ci automatically close bash command in file RosBEBinFull/RosBE.sh

Code: Select all

bash --rcfile "$_ROSBE_ROSSCRIPTDIR/RosBE-rc"
Failed job - https://gitlab.com/qarmin/reactos/-/jobs/518619100
Gitlab CI file - https://gitlab.com/qarmin/reactos/-/blo ... lab-ci.yml
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 11 guests