cragwolfe
bd8a74d686
chore: shell scripts default indent of 2 instead of 4 ( #2287 )
...
Given the tendency for shell scripts to easily enter into a few levels
of indentation and long line lengths, update the default to 2 spaces.
2023-12-19 07:48:21 +00:00
Roman Isecke
76efcf4dd7
chore: add shfmt ( #2246 )
...
### Description
Given all the shell files that now exist in the repo, would be nice to
have linting/formatting around them (in addition to the existing
shellcheck which doesn't do anything to format the shell code). This PR
introduces `shfmt` to both check for changes and apply formatting when
the associated make targets are called.
2023-12-12 01:04:15 +00:00
cragwolfe
69952f66ed
fix(build): update ingest script loc in Dockerfile ( #2052 )
...
Fixes docker-smoke-test.sh to reference the new location for the
wikipedia ingest script, which was moved in
https://github.com/Unstructured-IO/unstructured/pull/1951 . This fix
should allow the docker image build to complete on merges to main.
Reference to recent failed job:
https://github.com/Unstructured-IO/unstructured/actions/runs/6819416096/job/18546724401
2023-11-09 21:55:07 -08:00
cragwolfe
6ad497136d
build: docker image fix ( #1245 )
...
Moving to a non-root user in the docker image caused a failure in the
publication workflow.
This fix was used to publish the 0.10.9 unstructured image in this
workflow:
https://github.com/Unstructured-IO/unstructured/actions/runs/6020624226/job/16332230987
2023-08-29 23:27:52 -07:00
Trevor Bossert
e4535d29ca
Set user for container to same as api image. ( #1239 )
...
This is security best practice, a user can override this with their own
Dockerfile if required.
2023-08-30 01:01:44 +00:00
ryannikolaidis
e08936b6fb
chore: update all bash scripts to use shebang: /usr/bin/env bash ( #779 )
2023-06-20 16:00:55 -07:00
ryannikolaidis
ee52a749c3
fix: docker smoke test on build ( #457 )
2023-04-06 10:03:42 -07:00
ryannikolaidis
59785e4332
chore: install all extras in Dockerfile ( #419 )
...
* Adds step to install all extras
* Adds smoke test of wikipedia ingest to validate in CI
2023-03-30 13:23:30 -07:00