Hello
I've been trying to run my pipeline with this yml configuration file but i keep getting this problem
bash: apt-get: command not found
This is the yml
image: ruby:3.0.3
pipelines:
default:
- step:
name: Run minitests
script:
# Dependencias necesarias
- apt-get update && \
apt-get install -y \
fonts-liberation \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libatspi2.0-0 \
libcups2 \
libdbus-1-3 \
libdrm2 \
libgbm1 \
libgtk-3-0 \
libnspr4 \
libnss3 \
libu2f-udev \
libvulkan1 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
xdg-utils && \
rm -rf /var/lib/apt/lists/*
# Configuracion de chrome y chromedriver
- dpkg -i driver/117.0.5938.132/google-chrome.deb
- export CHROMEDRIVER_PATH=driver/117.0.5938.132/
- export PATH="${CHROMEDRIVER_PATH}:${PATH}"
- export BROWSER=:chrome
- export LOAD=eager
- gem install bundler
- bundle install
- rake runner:run_tests
It's the image im using? i used the same image in a docker with the same steps and everything runs fine, i don't understand why this happens in the pipeline
Hi @Cesar Alejandro Chavana Cazarez ,
The issue is the '\' this are used for escaping in the shell. You can remove it and it should work.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.