This is an automated email from the ASF dual-hosted git repository.
assignuser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 92fc78c027 GH-46806: [Ci][Dev][Swift] Remove Swift related settings
(#46807)
92fc78c027 is described below
commit 92fc78c02787ad72cb4bc65fb50a740b34e07c62
Author: Hiroyuki Sato <[email protected]>
AuthorDate: Sat Jun 14 04:24:25 2025 +0900
GH-46806: [Ci][Dev][Swift] Remove Swift related settings (#46807)
### Rationale for this change
#46803 Removed switch implementation. But, Some Swift relate files are
still exists.
### What changes are included in this PR?
Remove Swift related settings
### Are these changes tested?
No.
### Are there any user-facing changes?
No but for developers of the swift implementation it has been moved to
their own repository.
* GitHub Issue: #46806
Authored-by: Hiroyuki Sato <[email protected]>
Signed-off-by: Jacob Wujciak-Jens <[email protected]>
---
ci/docker/ubuntu-swift.dockerfile | 34 ----------------------------
ci/scripts/swift_test.sh | 47 ---------------------------------------
dev/release/rat_exclude_files.txt | 2 --
docker-compose.yml | 16 -------------
4 files changed, 99 deletions(-)
diff --git a/ci/docker/ubuntu-swift.dockerfile
b/ci/docker/ubuntu-swift.dockerfile
deleted file mode 100644
index d90d2d87b9..0000000000
--- a/ci/docker/ubuntu-swift.dockerfile
+++ /dev/null
@@ -1,34 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-FROM swift:5.10-noble
-
-# Go is needed for generating test data
-RUN apt-get update -y -q && \
- apt-get install -y -q --no-install-recommends \
- golang-go \
- unzip \
- wget && \
- apt-get clean
-
-ARG swift_lint=0.53.0
-RUN wget
https://github.com/realm/SwiftLint/releases/download/${swift_lint}/swiftlint_linux.zip
&& \
- unzip swiftlint_linux.zip && \
- mv swiftlint /usr/local/bin/ && \
- mkdir -p /usr/local/share/doc/swiftlint/ && \
- mv LICENSE /usr/local/share/doc/swiftlint/ && \
- rm -rf swiftlint_linux.zip
diff --git a/ci/scripts/swift_test.sh b/ci/scripts/swift_test.sh
deleted file mode 100755
index aba90f31e5..0000000000
--- a/ci/scripts/swift_test.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-set -ex
-
-data_gen_dir=${1}/swift/data-generator/swift-datagen
-export GOPATH=/
-pushd ${data_gen_dir}
-go get -d ./...
-go run .
-cp *.arrow ../../Arrow
-popd
-
-source_dir=${1}/swift
-pushd ${source_dir}
-swiftlint --strict
-popd
-
-source_dir=${1}/swift/Arrow
-pushd ${source_dir}
-sed 's/\/\/ build://g' Package.swift > Package.swift.build
-mv Package.swift.build Package.swift
-swift test
-popd
-
-source_dir=${1}/swift/ArrowFlight
-pushd ${source_dir}
-sed 's/\/\/ build://g' Package.swift > Package.swift.build
-mv Package.swift.build Package.swift
-swift test
-popd
diff --git a/dev/release/rat_exclude_files.txt
b/dev/release/rat_exclude_files.txt
index 0c827421fe..51c01516e7 100644
--- a/dev/release/rat_exclude_files.txt
+++ b/dev/release/rat_exclude_files.txt
@@ -151,5 +151,3 @@ r/tools/nixlibs-allowlist.txt
.gitattributes
ruby/red-arrow/.yardopts
.github/pull_request_template.md
-swift/data-generator/swift-datagen/go.sum
-swift/CDataWGo/go.sum
diff --git a/docker-compose.yml b/docker-compose.yml
index 2eb8424aee..60c7922146 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -157,7 +157,6 @@ x-hierarchy:
- ubuntu-cpp-thread-sanitizer
- ubuntu-cpp-emscripten
- ubuntu-r-valgrind
- - ubuntu-swift
- ubuntu-verify-rc
- r
- r-revdepcheck
@@ -1039,21 +1038,6 @@ services:
volumes: *ubuntu-volumes
command: *python-command
- ubuntu-swift:
- # Usage:
- # docker compose build ubuntu-swift
- # docker compose run --rm ubuntu-swift
- # Parameters:
- image: ubuntu-swift
- build:
- context: .
- dockerfile: ci/docker/ubuntu-swift.dockerfile
- shm_size: *shm-size
- volumes: *ubuntu-volumes
- command: >
- /bin/bash -c "/arrow/ci/scripts/swift_test.sh /arrow"
-
-
fedora-python:
# Usage:
# docker compose build fedora-cpp