Skip to content

Commit

Permalink
pip is now in .venv/bin (#2771)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-shelkovnikov authored Aug 23, 2024
1 parent ec71495 commit e9b5e56
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.ftest
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ RUN apt update && apt upgrade && apt install make -y
COPY . /app
WORKDIR /app
RUN make clean install
RUN bin/pip install -r requirements/ftest.txt
RUN .venv/bin/pip install -r requirements/ftest.txt
2 changes: 1 addition & 1 deletion Dockerfile.ftest.wolfi
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ USER root
COPY . /connectors
WORKDIR /connectors
RUN make clean install
RUN bin/pip install -r requirements/ftest.txt
RUN .venv/bin/pip install -r requirements/ftest.txt
ENTRYPOINT []
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ install: .venv/bin/python .venv/bin/pip-licenses .venv/bin/elastic-ingest
.venv/bin/pip install -r requirements/ftest.txt

clean:
rm -rf bin lib venv include elasticsearch_connector.egg-info .coverage site-packages pyvenv.cfg include.site.python*.greenlet dist
rm -rf bin lib .venv include elasticsearch_connector.egg-info .coverage site-packages pyvenv.cfg include.site.python*.greenlet dist

lint: .venv/bin/python .venv/bin/black .venv/bin/elastic-ingest
.venv/bin/black --check connectors
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/box/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/box/fixture.py
command: .venv/bin/python tests/sources/fixtures/box/fixture.py
ports:
- "9092:9092"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/confluence/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/confluence/fixture.py
command: .venv/bin/python tests/sources/fixtures/confluence/fixture.py
ports:
- "9696:9696"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/dropbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/dropbox/fixture.py
command: .venv/bin/python tests/sources/fixtures/dropbox/fixture.py
ports:
- "8085:8085"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/github/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/github/fixture.py
command: .venv/bin/python tests/sources/fixtures/github/fixture.py
ports:
- "9091:9091"
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/google_cloud_storage/mocker.py
command: .venv/bin/python tests/sources/fixtures/google_cloud_storage/mocker.py
ports:
- "4444:4444"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/google_drive/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/google_drive/fixture.py
command: .venv/bin/python tests/sources/fixtures/google_drive/fixture.py
ports:
- "10339:10339"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/graphql/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/graphql/fixture.py
command: .venv/bin/python tests/sources/fixtures/graphql/fixture.py
ports:
- "9094:9094"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/jira/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/jira/fixture.py
command: .venv/bin/python tests/sources/fixtures/jira/fixture.py
ports:
- "8080:8080"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/microsoft_teams/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/microsoft_teams/fixture.py
command: .venv/bin/python tests/sources/fixtures/microsoft_teams/fixture.py
ports:
- 10971:10971
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/notion/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/notion/fixture.py
command: .venv/bin/python tests/sources/fixtures/notion/fixture.py
ports:
- "9096:9096"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/onedrive/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/onedrive/fixture.py
command: .venv/bin/python tests/sources/fixtures/onedrive/fixture.py
ports:
- 10972:10972
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/salesforce/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/salesforce/fixture.py
command: .venv/bin/python tests/sources/fixtures/salesforce/fixture.py
ports:
- "10338:10338"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/servicenow/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/servicenow/fixture.py
command: .venv/bin/python tests/sources/fixtures/servicenow/fixture.py
ports:
- "9318:9318"
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/sharepoint_online/fixture.py
command: .venv/bin/python tests/sources/fixtures/sharepoint_online/fixture.py
ports:
- 10337:10337
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/sharepoint_server/fixture.py
command: .venv/bin/python tests/sources/fixtures/sharepoint_server/fixture.py
ports:
- "8491:8491"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/sources/fixtures/zoom/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/zoom/fixture.py
command: .venv/bin/python tests/sources/fixtures/zoom/fixture.py
ports:
- 10971:10971
volumes:
Expand Down

0 comments on commit e9b5e56

Please sign in to comment.