GitLab Page explication d'erreur pipeline

Bonjour à tous et toutes, je cherche à mettre en ligne un site internet en utilisant jekyll et les gitlab page de framagit. Je rencontre une erreur lors de la mise en ligne ou le pipeline bloque en me renvoyant à cette erreur :

Running with gitlab-runner 12.2.0 (a987417a)
on Grincheux (Framasoft shared runner) 843b4faa
Using Docker executor with image ruby:2.3 ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image ruby:2.3 ...
Using docker image sha256:c0d23ebb3ed63af928b7c4a954de87a5d3c1fe98a2dfcb2a44e685a3e65c3c61 for ruby:2.3 ...
Authenticating with credentials from /root/.docker/config.json
Running on runner-843b4faa-project-50447-concurrent-0 via ruth2...
Authenticating with credentials from /root/.docker/config.json
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/metadocs/metadocs.frama.io/.git/
From https://framagit.org/metadocs/metadocs.frama.io
   e267e41..63e4e7e  master     -> origin/master
Checking out 63e4e7e5 as master...

Skipping Git submodules setup
Authenticating with credentials from /root/.docker/config.json
Authenticating with credentials from /root/.docker/config.json
Authenticating with credentials from /root/.docker/config.json
$ bundle install
You must use Bundler 2 or greater with this lockfile.
Authenticating with credentials from /root/.docker/config.json
ERROR: Job failed: exit code 1

Aillant déjà un site propulser par le même combo, mais par le même thème. Je cherche à comprendre d’où vient l’erreur.

Si quelqu’un à la lecture facile de ce que cela veut dire je susi preneur.

You must use Bundler 2 or greater with this lockfile.

La version de bundler de cette image n’est pas compatible avec le lockfile contenu dans le dépôt. Il faut donc mettre à jour bundler avant de faire bundle install.

@Framasky merci de l’explication. Vu que c’est dans les gitlab page de framagit, de mon coté je peux y faire quelque chose ? Ou pas du tout ?

Utilise une image docker qui contient la bonne version de bundler ou installe bundler à la bonne version dans les étapes de script de ton .gitlab-ci.yml, je dirais.

je ne sais pas comment faire tous cela mais je vais chercher merci pour l’aide apporté. =)

Solution trouvé au cas où cela pourrait aider quelqu’un voici mon fichier .gtilab-ci.yml. Merci pour les explication @Framasky

# requiring the environment of Ruby 2.3.x
image: ruby:2.3

variables:
  INSTALL_BUNDLER_VERSION: "~> 2.0.1"

#add cache to 'vendor' for speeding up builds
#cache:
#  paths: 
#    - vendor/

before_script:
  - gem install bundler -v "$INSTALL_BUNDLER_VERSION"
  - bundle install #--path vendor

# add a job called 'test'
test:
  stage: test
  script:
    - bundle exec jekyll build -d test/
  artifacts:
    paths:
      - test # generating site folder to be browsed or download
  except:
    - master # the 'test' job will affect all branches expect 'master'

# the 'pages' job will deploy and build your site to the 'public' path
pages:
  stage: deploy
  script:
    - bundle exec jekyll build -d public/
  artifacts:
    paths:
      - public
  only:
    - master # this job will affect only the 'master' branch