From c12a6e1535f585ca273e639c8ebe324a3bff196b Mon Sep 17 00:00:00 2001 From: f Date: Sat, 20 May 2023 14:25:29 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20poder=20pasar=20la=20versi=C3=B3n=20de?= =?UTF-8?q?=20ruby=20y=20gems=20por=20env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 3 +++ Gemfile | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 325731b7..c2bc3a83 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -51,6 +51,9 @@ pipeline: - "git add public && git commit -m \"ci: assets [skip ci]\"" - "git pull upstream ${CI_COMMIT_BRANCH}" - "git push upstream ${CI_COMMIT_BRANCH}" + environment: + - "RUBY_VERSION=${RUBY_VERSION}" + - "GEMS_SOURCE=https://14.3.alpine.gems.sutty.nl" secrets: - "SSH_KEY" - "KNOWN_HOSTS" diff --git a/Gemfile b/Gemfile index b2472035..ad92645a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,8 @@ # frozen_string_literal: true -puts 'Usa haini.sh para generar un entorno de trabajo reproducible' -source 'https://gems.sutty.nl' +source 'https://17.3.alpine.gems.sutty.nl' -ruby '~> 2.7' +ruby "~> #{ENV.fetch('RUBY_VERSION', '3.1')}" gem 'dotenv-rails', require: 'dotenv/rails-now'