From 416cb2f2a0459bb612361d4500a8e9e82848eebc Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 7 Dec 2022 09:33:30 +0100 Subject: [PATCH] Enable beaker on hcloud --- .github/workflows/ci.yml | 4 +++- Gemfile | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df69587..a6a624e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: run: bundle exec rake rubocop - name: Setup Test Matrix id: get-outputs - run: bundle exec metadata2gha --use-fqdn --pidfile-workaround false + run: bundle exec metadata2gha --domain ${{ github.run_attempt }}-${{ github.run_id }}-${{ github.sha }}.example.com --pidfile-workaround false unit: needs: setup_matrix @@ -77,6 +77,8 @@ jobs: env: BEAKER_PUPPET_COLLECTION: ${{ matrix.puppet.collection }} BEAKER_setfile: ${{ matrix.setfile.value }} + BEAKER_HYPERVISOR: 'hcloud' + HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' tests: needs: diff --git a/Gemfile b/Gemfile index 33bcb8e..de15636 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ group :test do gem 'voxpupuli-test', '~> 5', :require => false gem 'coveralls', :require => false gem 'simplecov-console', :require => false - gem 'puppet_metadata', '~> 1.0', :require => false + gem 'puppet_metadata', git: 'https://github.com/bastelfreak/puppet_metadata', branch: 'foo2' end group :development do @@ -15,6 +15,7 @@ end group :system_tests do gem 'voxpupuli-acceptance', '~> 1.0', :require => false + gem 'beaker-hcloud', require: false, git: 'https://github.com/oneiros/beaker-hcloud', branch: 'issue-10' end group :release do