From 944327072c6e99abf26416b4dc7f248130f0a11f Mon Sep 17 00:00:00 2001 From: Antoine B Date: Sat, 4 Nov 2023 14:26:07 +0100 Subject: [PATCH] wip --- .github/workflows/vapor-nginx-test.yml | 1 - vapor-ci/.dockerignore | 11 +++++++++++ vapor-ci/spec/dockerfile_spec.rb | 8 +++----- vapor-nginx/.dockerignore | 11 +++++++++++ vapor-roadrunner/.dockerignore | 11 +++++++++++ 5 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 vapor-ci/.dockerignore create mode 100644 vapor-nginx/.dockerignore create mode 100644 vapor-roadrunner/.dockerignore diff --git a/.github/workflows/vapor-nginx-test.yml b/.github/workflows/vapor-nginx-test.yml index 36966d26..cceb3a2d 100644 --- a/.github/workflows/vapor-nginx-test.yml +++ b/.github/workflows/vapor-nginx-test.yml @@ -38,5 +38,4 @@ jobs: gem install bundler bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - bundle exec rubocop bundle exec rspec diff --git a/vapor-ci/.dockerignore b/vapor-ci/.dockerignore new file mode 100644 index 00000000..670bf2b4 --- /dev/null +++ b/vapor-ci/.dockerignore @@ -0,0 +1,11 @@ +.idea +.git +.github +.gitignore +Gemfile +Gemfile.lock +spec +.rspec +.rubocop.yml +vendor +Dockerfile diff --git a/vapor-ci/spec/dockerfile_spec.rb b/vapor-ci/spec/dockerfile_spec.rb index 3d11c8f5..be941e02 100644 --- a/vapor-ci/spec/dockerfile_spec.rb +++ b/vapor-ci/spec/dockerfile_spec.rb @@ -19,11 +19,9 @@ image = ::Docker::Image.build_from_dir( '.', - { - 't' => 'abenevaut/vapor-ci:rspec', - 'cache-from' => 'abenevaut/vapor-ci:latest', - 'buildargs' => build_args - } + t: 'abenevaut/vapor-ci:rspec', + 'cache-from': 'abenevaut/vapor-ci:latest', + buildargs: build_args ) set :os, family: :alpine diff --git a/vapor-nginx/.dockerignore b/vapor-nginx/.dockerignore new file mode 100644 index 00000000..670bf2b4 --- /dev/null +++ b/vapor-nginx/.dockerignore @@ -0,0 +1,11 @@ +.idea +.git +.github +.gitignore +Gemfile +Gemfile.lock +spec +.rspec +.rubocop.yml +vendor +Dockerfile diff --git a/vapor-roadrunner/.dockerignore b/vapor-roadrunner/.dockerignore new file mode 100644 index 00000000..670bf2b4 --- /dev/null +++ b/vapor-roadrunner/.dockerignore @@ -0,0 +1,11 @@ +.idea +.git +.github +.gitignore +Gemfile +Gemfile.lock +spec +.rspec +.rubocop.yml +vendor +Dockerfile