forked from Unstructured-IO/unstructured-ingest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add filter step (Unstructured-IO#7)
* Add filter step * Fix cli * Fix elasticsearch * Bump version of docker compose * install docker compose manually * Install as root * apt-get update before docker install command * update to use self hosted CI image * Add script to install docker compose * Update docker compose install script * Install docker as sudo * Set missing variables * Print version of docker compose * Add docker compose installation as part of update fixture step * Specify docker compose version * Fix docker compose command * Update ingest test fixtures (Unstructured-IO#10) Co-authored-by: rbiseck3 <[email protected]> * rmove file used for testing * Update e2e tests with new docker compose install script * lint shell * fix sqlite issue * Generate filter step from cli inputs * bugfix and add ingest test * update s3 example file * Remove glob in original connectors * Add file size in local indexer * Update ingest test fixtures (Unstructured-IO#11) Co-authored-by: rbiseck3 <[email protected]> --------- Co-authored-by: Unstructured-DevOps <[email protected]> Co-authored-by: rbiseck3 <[email protected]>
- Loading branch information
1 parent
0510b4f
commit 889a4d5
Showing
117 changed files
with
10,043 additions
and
2,962 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
DOCKER_ARCH=${ARCH} | ||
if [ "${ARCH}" = "x86_64" ]; then | ||
TARGETARCH="amd64" | ||
elif [ "${ARCH}" = "arm64" ] || [ "${ARCH}" = "aarch64" ]; then | ||
TARGETARCH="arm64" | ||
fi | ||
TARGETOS=linux | ||
DOCKER_VERSION=26.1.3 | ||
BUILDX_VERSION=0.16.0 | ||
DOCKER_COMPOSE_VERSION=2.28.1 | ||
|
||
curl -fLo docker.tgz https://download.docker.com/${TARGETOS}/static/stable/"${DOCKER_ARCH}"/docker-${DOCKER_VERSION}.tgz | ||
tar zxvf docker.tgz | ||
rm -rf docker.tgz | ||
mkdir -p /usr/local/lib/docker/cli-plugins | ||
curl -fLo /usr/local/lib/docker/cli-plugins/docker-buildx "https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-${TARGETARCH}" | ||
chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx | ||
curl -SL https://github.com/docker/compose/releases/download/v${DOCKER_COMPOSE_VERSION}/docker-compose-${TARGETOS}-"${DOCKER_ARCH}" -o /usr/local/lib/docker/cli-plugins/docker-compose | ||
chmod +x /usr/local/lib/docker/cli-plugins/docker-compose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.