Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
fb4765e
Polishing
EmilianoSanchez Jul 31, 2026
188554e
Update pipeline javascript-client
mariano-arago Jul 31, 2026
4fd01e5
Update Node.js setup step
EmilianoSanchez Jul 31, 2026
c5425b7
Merge branch 'development' into harness-pipeline
EmilianoSanchez Jul 31, 2026
350c7a2
Convert shell steps to docker run steps
mariano-arago Jul 31, 2026
7340c65
Update pipeline javascript-client
mariano-arago Jul 31, 2026
94e5306
Update inputset javascript-client-stage
mariano-arago Jul 31, 2026
09f66d3
Create inputset javascript-client-prod
mariano-arago Jul 31, 2026
d3c3742
Create inputset javascript-client-prod
mariano-arago Jul 31, 2026
5a8a8a6
re-trigger ci
EmilianoSanchez Jul 31, 2026
b59d911
Update pipeline javascript-client
mariano-arago Jul 31, 2026
8e2cbae
Update inputset javascript-client
mariano-arago Jul 31, 2026
78c97dc
re-trigger ci
EmilianoSanchez Jul 31, 2026
afed48f
Update pipeline javascript-client
mariano-arago Jul 31, 2026
ce71300
Update pipeline javascript-client
mariano-arago Jul 31, 2026
1daf283
Update pipeline javascript-client
mariano-arago Jul 31, 2026
35f93a0
Update pipeline javascript-client
mariano-arago Jul 31, 2026
2f43ebd
Fix npm test-browser step
EmilianoSanchez Jul 31, 2026
0a2eaa3
Increase resources
EmilianoSanchez Jul 31, 2026
5aaa3cb
Debugging failing step
EmilianoSanchez Aug 3, 2026
2f6b381
Skip failing steps
EmilianoSanchez Aug 3, 2026
fb5f04c
Update pipeline javascript-client
mariano-arago Aug 3, 2026
9db8fc3
Test CI
mariano-arago Aug 3, 2026
e4d5d4a
Test with new RC
EmilianoSanchez Aug 3, 2026
f2e785b
Browser test
EmilianoSanchez Aug 3, 2026
23d76c8
Browser test
EmilianoSanchez Aug 3, 2026
4b91324
Browser test
EmilianoSanchez Aug 3, 2026
bb2d6bc
Browser test
EmilianoSanchez Aug 3, 2026
951de68
Update pipeline javascript-client
EmilianoSanchez Aug 3, 2026
56c81b3
New approach: Cloud infra + AWS S3 connector
EmilianoSanchez Aug 4, 2026
63cf8f4
Update pipeline javascript-client
EmilianoSanchez Aug 4, 2026
8807f62
Fix glob pattern in AWS S3 steps
EmilianoSanchez Aug 4, 2026
4a452c7
Add test-browser steps
EmilianoSanchez Aug 4, 2026
c94b150
rc
EmilianoSanchez Aug 4, 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: 36 additions & 38 deletions .harness/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,48 +36,38 @@ pipeline:
execution:
steps:
- step:
type: Action
type: Run
name: Set up Node.js
identifier: Set_up_Nodejs
spec:
uses: dcodeIO/setup-node-nvm@master
with:
node-version: lts/*
shell: Bash
command: |-
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
npm --version
- step:
type: Run
name: Install Redis
identifier: Install_Redis
spec:
shell: Sh
shell: Bash
command: |-
sudo add-apt-repository ppa:redislabs/redis
sudo apt-get install -y redis-tools redis-server
- step:
type: Run
name: Check Redis
identifier: Check_Redis
spec:
shell: Sh
command: redis-cli ping
- step:
type: Run
name: Install Chrome
identifier: Install_Chrome
spec:
shell: Bash
command: |-
curl -fsSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb
apt-get update -qq && apt-get install -y -qq /tmp/chrome.deb || true
# Fallback: install via chromium if the .deb install failed
which google-chrome-stable || apt-get install -y -qq chromium-browser
CHROME_BIN=$(which google-chrome-stable || which chromium-browser || which chromium)
echo "CHROME_BIN=$CHROME_BIN"
command: redis-cli ping
- step:
type: Run
name: npm ci
identifier: npm_ci
spec:
shell: Sh
shell: Bash
command: npm ci
envVariables:
PUPPETEER_SKIP_DOWNLOAD: "true"
Expand All @@ -86,63 +76,71 @@ pipeline:
name: npm ts tests
identifier: npm_ts_tests
spec:
shell: Sh
shell: Bash
command: npm run test-ts-decls
- step:
type: Run
name: npm run check
identifier: npm_run_check
spec:
shell: Sh
shell: Bash
command: npm run check
- step:
type: Run
name: Install Chrome
identifier: Install_Chrome
spec:
shell: Bash
command: |-
curl -fsSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb
sudo apt-get update -qq
sudo apt-get install -y -qq /tmp/chrome.deb
google-chrome-stable --version
- step:
type: Run
name: npm test-browser
identifier: npm_test_browser
spec:
shell: Bash
command: |-
CHROME_BIN=$(which google-chrome-stable || which chromium-browser || which chromium)
export CHROME_BIN
export CHROME_BIN=$(which google-chrome-stable)
npm run test-browser
- step:
type: Run
name: npm test-node
identifier: npm_test_node
spec:
shell: Sh
shell: Bash
command: npm run test-node
- step:
type: Run
name: npm run build
identifier: npm_run_build
spec:
shell: Sh
shell: Bash
command: BUILD_BRANCH=<+codebase.branch> npm run build
- parallel:
- step:
type: Run
type: S3Upload
name: upload dev assets to CDN
identifier: upload_dev_assets_to_CDN
spec:
shell: Sh
command: aws s3 sync ./umd s3://split-public-stage/sdk --acl public-read --follow-symlinks --cache-control max-age=31536000,public
connectorRef: artifacts
envVariables:
AWS_DEFAULT_REGION: us-east-1
connectorRef: publicassetsstage
region: us-east-1
bucket: split-public-stage
sourcePath: ./umd/*
when:
stageStatus: Success
condition: <+trigger.event> == "PUSH" && <+trigger.branch> == "development"
- step:
type: Run
type: S3Upload
name: upload prod assets to CDN
identifier: upload_prod_assets_to_CDN
spec:
shell: Sh
command: aws s3 sync ./umd s3://split-public/sdk --acl public-read --follow-symlinks --cache-control max-age=31536000,public
connectorRef: artifacts
envVariables:
AWS_DEFAULT_REGION: us-east-1
connectorRef: publicassetsprod
region: us-east-1
bucket: split-public
sourcePath: ./umd/*
when:
stageStatus: Success
condition: <+trigger.event> == "PUSH" && <+trigger.branch> == "main"
1 change: 1 addition & 0 deletions .harness/input-set.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
inputSet:
name: javascript-client
tags: {}
identifier: javascriptclient
orgIdentifier: PROD
projectIdentifier: Harness_Split
Expand Down
24 changes: 24 additions & 0 deletions .harness/java-script-client-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
inputSet:
name: javascript-client-prod
identifier: javascriptclientprod
orgIdentifier: PROD
projectIdentifier: Harness_Split
pipeline:
identifier: javascriptclient
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
stages:
- stage:
identifier: Check_Test_Build_Upload
type: CI
spec:
infrastructure:
type: KubernetesDirect
spec:
connectorRef: use1prod1cd
serviceAccountName: use1-prod-1-mfe-assets
24 changes: 24 additions & 0 deletions .harness/javascriptclient.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
inputSet:
name: javascript-client-prod
identifier: javascriptclient
orgIdentifier: PROD
projectIdentifier: Harness_Split
pipeline:
identifier: javascriptclient
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
stages:
- stage:
identifier: Check_Test_Build_Upload
type: CI
spec:
infrastructure:
type: KubernetesDirect
spec:
connectorRef: use1prod1cd
serviceAccountName: use1-prod-1-mfe-assets
76 changes: 38 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splitsoftware/splitio",
"version": "11.11.2",
"version": "11.11.2-rc.1",
"description": "Split SDK",
"files": [
"README.md",
Expand Down
Loading