From 1cf73addfcdeb14e7e4d37482966c402773a82ab Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 5 Sep 2024 11:14:08 +0200 Subject: [PATCH] GH-43969: [CI][Dev] Prune .dockerignore --- .dockerignore | 21 ++------------------- .github/workflows/archery.yml | 2 ++ .github/workflows/cpp.yml | 2 ++ .github/workflows/docs_light.yml | 1 + .github/workflows/go.yml | 2 ++ .github/workflows/integration.yml | 2 ++ .github/workflows/java.yml | 2 ++ .github/workflows/java_jni.yml | 2 ++ .github/workflows/js.yml | 2 ++ .github/workflows/python.yml | 2 ++ .github/workflows/r.yml | 2 ++ .github/workflows/ruby.yml | 2 ++ .github/workflows/swift.yml | 2 ++ 13 files changed, 25 insertions(+), 19 deletions(-) diff --git a/.dockerignore b/.dockerignore index 3791cca95e3fe..1f1715d8e833d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -27,11 +27,11 @@ # include explicitly !ci/** !c_glib/Gemfile -!dev/archery/setup.py !dev/release/setup-*.sh !docs/requirements*.txt +!go/go.mod +!go/go.sum !python/requirements*.txt -!python/manylinux1/** !r/DESCRIPTION !ruby/Gemfile !ruby/red-arrow/Gemfile @@ -46,20 +46,3 @@ !ruby/red-parquet/Gemfile !ruby/red-parquet/lib/parquet/version.rb !ruby/red-parquet/red-parquet.gemspec -!ruby/red-plasma/Gemfile -!ruby/red-plasma/lib/plasma/version.rb -!ruby/red-plasma/red-plasma.gemspec -!rust/Cargo.toml -!rust/benchmarks/Cargo.toml -!rust/arrow/Cargo.toml -!rust/arrow/benches -!rust/arrow-flight/Cargo.toml -!rust/parquet/Cargo.toml -!rust/parquet/build.rs -!rust/parquet_derive/Cargo.toml -!rust/parquet_derive_test/Cargo.toml -!rust/datafusion/Cargo.toml -!rust/datafusion/benches -!rust/integration-testing/Cargo.toml -!go/go.mod -!go/go.sum \ No newline at end of file diff --git a/.github/workflows/archery.yml b/.github/workflows/archery.yml index 2c46071010962..e448209056d78 100644 --- a/.github/workflows/archery.yml +++ b/.github/workflows/archery.yml @@ -20,12 +20,14 @@ name: Archery & Crossbow on: push: paths: + - '.dockerignore' - '.github/workflows/archery.yml' - 'dev/archery/**' - 'dev/tasks/**' - 'docker-compose.yml' pull_request: paths: + - '.dockerignore' - '.github/workflows/archery.yml' - 'dev/archery/**' - 'dev/tasks/**' diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 20bcfcb38da69..4a01d2f8e3aab 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -20,6 +20,7 @@ name: C++ on: push: paths: + - '.dockerignore' - '.github/workflows/cpp.yml' - 'ci/conda_env_*' - 'ci/docker/**' @@ -35,6 +36,7 @@ on: - 'testing' pull_request: paths: + - '.dockerignore' - '.github/workflows/cpp.yml' - 'ci/conda_env_*' - 'ci/docker/**' diff --git a/.github/workflows/docs_light.yml b/.github/workflows/docs_light.yml index 454affd7fa7f9..7d540b7cecdc9 100644 --- a/.github/workflows/docs_light.yml +++ b/.github/workflows/docs_light.yml @@ -20,6 +20,7 @@ name: Docs on: pull_request: paths: + - '.dockerignore' - 'docs/**' - '.github/workflows/docs_light.yml' - 'ci/docker/conda.dockerfile' diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9b18b010a0cb9..d463549206471 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,6 +20,7 @@ name: Go on: push: paths: + - '.dockerignore' - '.github/workflows/go.yml' - 'ci/docker/*_go.dockerfile' - 'ci/scripts/go_*' @@ -27,6 +28,7 @@ on: - 'go/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/go.yml' - 'ci/docker/*_go.dockerfile' - 'ci/docker/**' diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 3a6b568c5207f..ecf89bff8f600 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -20,6 +20,7 @@ name: Integration on: push: paths: + - '.dockerignore' - '.github/workflows/integration.yml' - 'ci/**' - 'dev/archery/**' @@ -33,6 +34,7 @@ on: - 'format/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/integration.yml' - 'ci/**' - 'dev/archery/**' diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 8560f0dd1cbe9..57f834bcbabee 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -20,6 +20,7 @@ name: Java on: push: paths: + - '.dockerignore' - '.github/workflows/java.yml' - 'ci/docker/*java*' - 'ci/scripts/java*.sh' @@ -29,6 +30,7 @@ on: - 'java/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/java.yml' - 'ci/docker/*java*' - 'ci/scripts/java*.sh' diff --git a/.github/workflows/java_jni.yml b/.github/workflows/java_jni.yml index f204d6459ae01..f2ecc801dc724 100644 --- a/.github/workflows/java_jni.yml +++ b/.github/workflows/java_jni.yml @@ -20,6 +20,7 @@ name: Java JNI on: push: paths: + - '.dockerignore' - '.github/workflows/java_jni.yml' - 'ci/docker/**' - 'ci/scripts/cpp_build.sh' @@ -29,6 +30,7 @@ on: - 'java/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/java_jni.yml' - 'ci/docker/**' - 'ci/scripts/cpp_build.sh' diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 4ab9831924fb1..17b57c42b62f6 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -20,12 +20,14 @@ name: NodeJS on: push: paths: + - '.dockerignore' - '.github/workflows/js.yml' - 'ci/docker/*js.dockerfile' - 'ci/scripts/js_*' - 'js/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/js.yml' - 'ci/docker/*js.dockerfile' - 'ci/scripts/js_*' diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b88ea7ce4f1ee..6e83b727593b4 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -20,6 +20,7 @@ name: Python on: push: paths: + - '.dockerignore' - '.github/workflows/python.yml' - 'ci/**' - 'cpp/**' @@ -27,6 +28,7 @@ on: - 'python/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/python.yml' - 'ci/**' - 'cpp/**' diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 7fc45777bf657..fbc2ebe0bc5f1 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -20,6 +20,7 @@ name: R on: push: paths: + - '.dockerignore' - ".github/workflows/r.yml" - "ci/docker/**" - "ci/etc/rprofile" @@ -32,6 +33,7 @@ on: - "r/**" pull_request: paths: + - '.dockerignore' - ".github/workflows/r.yml" - "ci/docker/**" - "ci/etc/rprofile" diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 228bacb77e58a..c4a7f31f4a94c 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,6 +20,7 @@ name: C GLib & Ruby on: push: paths: + - '.dockerignore' - '.github/workflows/ruby.yml' - 'ci/docker/**' - 'ci/scripts/c_glib_*' @@ -33,6 +34,7 @@ on: - 'ruby/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/ruby.yml' - 'ci/docker/**' - 'ci/scripts/c_glib_*' diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 1b3c9eca1814a..86eb113dfc833 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -20,6 +20,7 @@ name: Swift on: push: paths: + - '.dockerignore' - '.github/workflows/swift.yml' - 'ci/docker/*swift*' - 'ci/scripts/swift_*' @@ -27,6 +28,7 @@ on: - 'swift/**' pull_request: paths: + - '.dockerignore' - '.github/workflows/swift.yml' - 'ci/docker/*swift*' - 'ci/scripts/swift_*'