Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
b10cd1c
Merge pull request #624 from splitio/development
chillaq Jan 29, 2026
4646db1
Create pipeline python-client
chillaq Feb 3, 2026
db42ea2
Update pipeline python-client
chillaq Feb 3, 2026
c10ac9e
Update pipeline python-client
chillaq Feb 3, 2026
9b565f2
Update pipeline python-client
chillaq Feb 3, 2026
5f624aa
Update pipeline python-client
chillaq Feb 3, 2026
4460a80
Update pipeline python-client
chillaq Feb 3, 2026
6a26af3
Update pipeline python-client
chillaq Feb 3, 2026
3e7f7fb
Create inputset entry
chillaq Feb 3, 2026
b0bffb0
Update pipeline python-client
chillaq Feb 3, 2026
c69a45a
Update pipeline python-client
chillaq Feb 3, 2026
7c1cddd
Update pipeline python-client
chillaq Feb 3, 2026
892e734
Update pipeline python-client
chillaq Feb 3, 2026
6ede65f
Update pipeline python-client
chillaq Feb 3, 2026
8f9a462
Update pipeline python-client
chillaq Feb 3, 2026
190581c
Update pipeline python-client
chillaq Feb 3, 2026
f753bf5
Update pipeline python-client
chillaq Feb 3, 2026
9f50029
Update pipeline python-client
chillaq Feb 3, 2026
c0deee9
Update pipeline python-client
chillaq Feb 3, 2026
ee57048
Update pipeline python-client
chillaq Feb 3, 2026
bb09d7d
Update pipeline python-client
chillaq Feb 3, 2026
e5037e3
Update pipeline python-client
chillaq Feb 3, 2026
2db3f7c
Update pipeline python-client
chillaq Feb 3, 2026
a5c7836
Update pipeline python-client
chillaq Feb 3, 2026
b97b7cb
Update pipeline python-client
chillaq Feb 3, 2026
585df15
Update pipeline python-client
chillaq Feb 3, 2026
88f4624
Update pipeline python-client
chillaq Feb 3, 2026
81c1b7a
Update pipeline python-client
chillaq Feb 3, 2026
83f9a7b
Update pipeline python-client
chillaq Feb 3, 2026
5bcff96
Update pipeline python-client
chillaq Feb 3, 2026
7a68b13
set pyaml version to 6.0.1 or below
chillaq Feb 3, 2026
45f6426
Merge branch 'harness_pipeline' of https://github.com/splitio/python-…
chillaq Feb 3, 2026
bf1cd13
set aiohttp lib to 3.8.6 or below
chillaq Feb 3, 2026
a061126
setting aiohttp to 3.8.4 or below
chillaq Feb 3, 2026
4134512
Update pipeline python-client
chillaq Feb 3, 2026
d12c9fb
set aiohttp to 3.8.4
chillaq Feb 3, 2026
cd0b558
Update pipeline python-client
chillaq Feb 3, 2026
abc2f4d
set cryptography to 45.0.7 or below
chillaq Feb 3, 2026
409534d
Merge branch 'harness_pipeline' of https://github.com/splitio/python-…
chillaq Feb 3, 2026
aaa3882
Update pipeline python-client
chillaq Feb 3, 2026
ee89b54
Update pipeline python-client
chillaq Feb 3, 2026
3705788
Update pipeline python-client
chillaq Feb 3, 2026
319ea95
Update pipeline python-client
chillaq Feb 3, 2026
10bb79c
Update pipeline python-client
chillaq Feb 3, 2026
a97cf4f
Update pipeline python-client
chillaq Feb 3, 2026
144857d
Update pipeline python-client
chillaq Feb 3, 2026
33d479f
Update pipeline python-client
chillaq Feb 3, 2026
30d946b
Update pipeline python-client
chillaq Feb 3, 2026
78319bd
Update pipeline python-client
chillaq Feb 3, 2026
eeaa3fb
Update pipeline python-client
chillaq Feb 3, 2026
86ebe74
Update pipeline python-client
chillaq Feb 3, 2026
dc08364
Update pipeline python-client
chillaq Feb 3, 2026
6dd0d53
Update pipeline python-client
chillaq Feb 3, 2026
952efb3
Update pipeline python-client
chillaq Feb 3, 2026
1e458ca
Update pipeline python-client
chillaq Feb 3, 2026
fe42577
Update pipeline python-client
chillaq Feb 4, 2026
94c26c7
Update pipeline python-client
chillaq Feb 4, 2026
06ab212
Update pipeline python-client
chillaq Feb 4, 2026
70e6435
remove github actions
chillaq Feb 4, 2026
df8d5f3
Update pipeline python-client
chillaq Feb 4, 2026
14f34fb
Update pipeline python-client
chillaq Feb 4, 2026
f58cb4b
Update pipeline python-client
chillaq Feb 4, 2026
ebeb75c
Update pipeline python-client
chillaq Feb 4, 2026
c174338
Update pipeline python-client
chillaq Feb 4, 2026
bea06aa
Update pipeline python-client
chillaq Feb 4, 2026
fedb993
Update pipeline python-client
chillaq Feb 4, 2026
af11efd
Update pipeline python-client
chillaq Feb 4, 2026
c38a459
Update pipeline python-client
chillaq Feb 4, 2026
3e23e87
Update pipeline python-client
chillaq Feb 4, 2026
3d84f15
Update pipeline python-client
chillaq Feb 4, 2026
3836f8e
Update pipeline python-client
chillaq Feb 4, 2026
38e459e
Update pipeline python-client
chillaq Feb 4, 2026
472661c
Update pipeline python-client
chillaq Feb 4, 2026
8c23ba1
Update pipeline python-client
chillaq Feb 4, 2026
ddbc217
Update pipeline python-client
chillaq Feb 4, 2026
a262d5f
Update pipeline python-client
chillaq Feb 4, 2026
79dfbbb
Update pipeline python-client
chillaq Feb 4, 2026
0c0d2ce
Update pipeline python-client
chillaq Feb 4, 2026
00eb566
Update pipeline python-client
chillaq Feb 4, 2026
1471bb7
Update pipeline python-client
chillaq Feb 4, 2026
482c507
Update pipeline python-client
chillaq Feb 4, 2026
b8db2c2
Update pipeline python-client
chillaq Feb 4, 2026
5309aa4
Update pipeline python-client
chillaq Feb 4, 2026
b2e4920
Update pipeline python-client
chillaq Feb 4, 2026
4a7ffca
Update pipeline python-client
chillaq Feb 4, 2026
62e6fb3
Update pipeline python-client
chillaq Feb 4, 2026
9b095dc
Update pipeline python-client
chillaq Feb 4, 2026
49ec6fb
Update pipeline python-client
chillaq Feb 4, 2026
eb62627
Update pipeline python-client
chillaq Feb 4, 2026
7f975c5
Update pipeline python-client
chillaq Feb 4, 2026
5177952
Update pipeline python-client
chillaq Feb 4, 2026
d21e02c
Update pipeline python-client
chillaq Feb 4, 2026
7c51ff2
Update pipeline python-client
chillaq Feb 4, 2026
d459993
Update pipeline python-client
chillaq Feb 4, 2026
9ce10cc
Update pipeline python-client
chillaq Feb 4, 2026
e8c1b05
Update pipeline python-client
chillaq Feb 4, 2026
287c42b
Update pipeline python-client
chillaq Feb 4, 2026
8bc3657
Update pipeline python-client
chillaq Feb 4, 2026
3497e44
Update pipeline python-client
chillaq Feb 4, 2026
4e4e611
Update pipeline python-client
chillaq Feb 4, 2026
98beefb
Update pipeline python-client
chillaq Feb 4, 2026
9ee571c
Update pipeline python-client
chillaq Feb 4, 2026
02c037f
Update pipeline python-client
chillaq Feb 4, 2026
6a03245
Update pipeline python-client
chillaq Feb 4, 2026
b2e588b
Update pipeline python-client
chillaq Feb 4, 2026
c7c714b
Update pipeline python-client
chillaq Feb 4, 2026
ce96255
Update pipeline python-client
chillaq Feb 4, 2026
b16f19c
Create inputset entry2
chillaq Feb 4, 2026
fbf7b21
Update pipeline python-client
chillaq Feb 4, 2026
31cd96c
Update pipeline python-client
chillaq Feb 4, 2026
04e7869
Update pipeline python-client
chillaq Feb 4, 2026
d002dea
Update pipeline python-client
chillaq Feb 4, 2026
f30bd0d
Update pipeline python-client
chillaq Feb 4, 2026
763a5aa
Update pipeline python-client
chillaq Feb 4, 2026
c236db7
Update pipeline python-client
chillaq Feb 4, 2026
0745caf
Update pipeline python-client
chillaq Feb 4, 2026
ea26cca
Update pipeline python-client
chillaq Feb 4, 2026
e6ab12c
Update pipeline python-client
chillaq Feb 4, 2026
d70944e
Update pipeline python-client
chillaq Feb 4, 2026
8d4d93c
Update pipeline python-client
chillaq Feb 4, 2026
85b2198
Update pipeline python-client
chillaq Feb 4, 2026
817b152
Update pipeline python-client
chillaq Feb 4, 2026
e655b1b
Update pipeline python-client
chillaq Feb 4, 2026
99a155e
Update pipeline python-client
chillaq Feb 4, 2026
a86d2a9
Update pipeline python-client
chillaq Feb 4, 2026
94a3f90
Update pipeline python-client
chillaq Feb 4, 2026
f42eb43
Update pipeline python-client
chillaq Feb 4, 2026
35da1f3
Update pipeline python-client
chillaq Feb 4, 2026
71a7b70
Update pipeline python-client
chillaq Feb 4, 2026
f578558
Update pipeline python-client
chillaq Feb 5, 2026
d7485ed
Update pipeline python-client
chillaq Feb 5, 2026
fa18fab
Update pipeline python-client
chillaq Feb 5, 2026
491b036
Update pipeline python-client
chillaq Feb 5, 2026
0b04f8f
Update pipeline python-client
chillaq Feb 5, 2026
4bb7730
Update pipeline python-client
chillaq Feb 5, 2026
d3b27ff
Update pipeline python-client
chillaq Feb 5, 2026
37e36e4
Update pipeline python-client
chillaq Feb 5, 2026
3948cfd
Update pipeline python-client
chillaq Feb 5, 2026
ddb26c0
Update pipeline python-client
chillaq Feb 5, 2026
526aae8
Update pipeline python-client
chillaq Feb 5, 2026
f40ebff
Update pipeline python-client
chillaq Feb 5, 2026
d4c09c9
Update pipeline python-client
chillaq Feb 5, 2026
f84897c
Update pipeline python-client
chillaq Feb 5, 2026
c0f5554
Update pipeline python-client
chillaq Feb 5, 2026
fd617fa
Update pipeline python-client
chillaq Feb 5, 2026
6cb30c7
Update pipeline python-client
chillaq Feb 5, 2026
824d20d
Update pipeline python-client
chillaq Feb 5, 2026
3679900
Update pipeline python-client
chillaq Feb 5, 2026
7b3860e
Update pipeline python-client
chillaq Feb 5, 2026
0e723da
Update pipeline python-client
chillaq Feb 5, 2026
51700a0
Update pipeline python-client
chillaq Feb 5, 2026
7ac947f
Create inputset python-client
chillaq Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 0 additions & 74 deletions .github/workflows/ci.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/update-license-year.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
pipeline:
name: python-client
identifier: pythonclient
projectIdentifier: Harness_Split
orgIdentifier: PROD
tags:
ai_generated: "true"
properties:
ci:
codebase:
connectorRef: <+input>
repoName: <+input>
build: <+input>
variables:
- name: sonarqube_token
type: Secret
value: <+secrets.getValue('sonarqube-token')>
- name: github_token
type: Secret
value: <+secrets.getValue('github-devops-token')>
stages:
- stage:
name: Build and Test
identifier: ci_stage
type: CI
spec:
cloneCodebase: true
runtime:
type: Cloud
spec:
size: medium
nestedVirtualization: true
platform:
os: Linux
arch: Amd64
execution:
steps:
- step:
timeout: 30m
type: Test
name: Run Python Tests
identifier: run_tests
spec:
connectorRef: account.harnessImage
image: python:3.7.16-alpine
shell: Sh
command: |-
apk update
apk add --no-cache krb5-dev musl-dev libffi-dev build-base

# Run pytest with JUnit XML report output
cd /harness
pip install --upgrade pip
pip install -U setuptools pip wheel
pip install Cython==3.0.12
pip install aiohttp==3.8.4
pip install cryptography==45.0.7
pip install pycparser==2.21

apk add redis
redis-server /etc/redis.conf &

pip install redis==5.0.8
python setup.py test
envVariables:
PYTHONPATH: ${PYTHONPATH}:.
PYTEST_ADDOPTS: "--verbose"
- step:
type: Run
name: Install and Run SonarQube Scanner
identifier: install_sonarqube_scanner
spec:
connectorRef: account.harnessImage
image: sonarsource/sonar-scanner-cli
shell: Bash
command: |
cd /harness
if [ "<+codebase.prNumber>" != "" ]; then
echo "Pull Request Analysis"
sonar-scanner -X \
-Dsonar.host.url=https://sonar.harness.io \
-Dsonar.token=<+secrets.getValue('sonarqube-token')> \
-Dsonar.projectKey=python-client \
-Dsonar.scanner.skipJreProvisioning=true \
-Dsonar.pullrequest.key=<+codebase.prNumber> \
-Dsonar.pullrequest.branch=<+codebase.sourceBranch> \
-Dsonar.pullrequest.base=<+codebase.targetBranch> \
-Dsonar.scanner.skipSystemTruststore=true
else
echo "Branch Analysis"
sonar-scanner \
-Dsonar.host.url=https://sonar.harness.io \
-Dsonar.token=<+secrets.getValue('sonarqube-token')> \
-Dsonar.projectKey=python-client \
-Dsonar.scanner.skipJreProvisioning=true \
-Dsonar.branch.name=<+codebase.branch> \
-Dsonar.scanner.skipSystemTruststore=true
fi
envVariables:
SONAR_TOKEN: <+pipeline.variables.sonarqube_token>
outputVariables:
- name: SONAR_SCANNER_PATH
timeout: 10m
- step:
type: Run
name: Post Quality Gate to GitHub
identifier: Post_Quality_Gate_to_GitHub
spec:
shell: Sh
command: |-
# Get SonarQube quality gate status
curl -u <+secrets.getValue('sonarqube-token')>: \
-s "https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}"

curl -u <+secrets.getValue('sonarqube-token')>: -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' | jq -r .projectStatus.status

QUALITY_GATE_STATUS=$(curl -u <+secrets.getValue('sonarqube-token')>: -s 'https://sonar.harness.io/api/qualitygates/project_status?projectKey=python-client&pullRequest=${<+codebase.prNumber>}' | jq -r .projectStatus.status)

echo "QUALITY_GATE_STATUS: $QUALITY_GATE_STATUS"

# Set GitHub status based on quality gate
if [ "$QUALITY_GATE_STATUS" = "OK" ]; then
STATE="success"
DESCRIPTION="SonarQube Quality Gate passed"
else
STATE="failure"
DESCRIPTION="SonarQube Quality Gate failed"
fi

# Post status to GitHub
curl -X POST \
-H "Authorization: token ${<+secrets.getValue('github-devops-token')>}" \
-H "Content-Type: application/json" \
-d "{
\"state\": \"${STATE}\",
\"description\": \"${DESCRIPTION}\",
\"context\": \"sonarqube/qualitygate\",
\"target_url\": \"https://sonar.harness.io/dashboard?id=python-client&pullRequest=${<+codebase.prNumber>}\"
}" \
"https://api.github.com/repos/splitio/python-client/statuses/<+codebase.commitSha>"
rollbackSteps: []
rollbackSteps: []
caching:
enabled: false
paths: []
buildIntelligence:
enabled: false
description: ""
description: This pipeline was updated by Harness AI on 2026-02-04 05:22:48 UTC by Bilal Al-Shahwany.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inputSet:
pipeline:
identifier: pythonclient
properties:
ci:
codebase:
connectorRef: fmegithubharnessgitops
repoName: python-client
build:
spec:
branch: harness_pipeline
type: branch
name: entry
identifier: entry
orgIdentifier: PROD
projectIdentifier: Harness_Split
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inputSet:
pipeline:
identifier: pythonclient
properties:
ci:
codebase:
connectorRef: fmegithubharnessgitops
repoName: python-client
build:
type: PR
spec:
number: "626"
name: entry2
identifier: entry2
orgIdentifier: PROD
projectIdentifier: Harness_Split
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inputSet:
name: python-client
identifier: pythonclient
orgIdentifier: PROD
projectIdentifier: Harness_Split
pipeline:
identifier: pythonclient
properties:
ci:
codebase:
connectorRef: fmegithubharnessgitops
repoName: python-client
build:
type: PR
spec:
number: <+trigger.prNumber>
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
'iniconfig==1.1.1',
'attrs==22.1.0',
'pytest-asyncio==0.21.0',
'aiohttp>=3.8.4',
'aiohttp==3.8.4',
'aiofiles>=23.1.0',
'requests-kerberos>=0.15.0',
'urllib3==2.0.7'
'urllib3==2.0.7',
'cryptography<=45.0.7'
]

INSTALL_REQUIRES = [
'requests',
'pyyaml',
'pyyaml<=6.0.1',
'docopt>=0.6.2',
'enum34;python_version<"3.4"',
'bloom-filter2>=2.0.0'
Expand Down