Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit e84239a

Browse files
committed
[integration] Enhance CI/CD to avoid conflicting version of pycti
1 parent 7c73c8a commit e84239a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.drone.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ services:
9797
commands:
9898
- apk add build-base git libffi-dev cargo github-cli
9999
- chmod 777 scripts/*
100+
- pip3 install . --upgrade --force
100101
- echo "DRONE_SOURCE_BRANCH:${DRONE_SOURCE_BRANCH}, DRONE_PULL_REQUEST:${DRONE_PULL_REQUEST}"
101102
- ./scripts/clone-opencti.sh "${DRONE_SOURCE_BRANCH}" "${DRONE_TARGET_BRANCH}" "$(pwd)" "${DRONE_PULL_REQUEST}"
102103
- ls -lart
103104
- cd opencti/opencti-platform/opencti-graphql
104105
- yarn install
106+
- sed -i '/^pycti==/d' src/python/requirements.txt
105107
- yarn install:python
106108
- NODE_OPTIONS=--max_old_space_size=8192 yarn start
107109

0 commit comments

Comments
 (0)