From 3c774a5b565b15d8f8a2c51ee2d09666409010ed Mon Sep 17 00:00:00 2001 From: Luis Sanchez Date: Mon, 9 Feb 2026 15:13:21 +0000 Subject: [PATCH 1/5] Create pipeline react-native-client --- .../projects/Harness_Split/pipelines/ci.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/ci.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/ci.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/ci.yaml new file mode 100644 index 0000000..161f421 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/ci.yaml @@ -0,0 +1,70 @@ +pipeline: + name: react-native-client + identifier: reactnativeclient + projectIdentifier: Harness_Split + orgIdentifier: PROD + tags: {} + properties: + ci: + codebase: + connectorRef: fmegithubharnessgitops + repoName: react-native-client + build: <+input> + stages: + - stage: + name: Check-Test-Build + identifier: CheckTestBuild + description: "" + type: CI + spec: + cloneCodebase: true + caching: + enabled: true + override: true + platform: + os: Linux + arch: Amd64 + runtime: + type: Cloud + spec: + size: small + imageSpec: + imageName: ubuntu-latest + execution: + steps: + - step: + type: Action + name: Set up Node.js + identifier: Set_up_Nodejs + spec: + uses: dcodeIO/setup-node-nvm@master + with: + node-version: lts/* + - step: + type: Run + name: npm ci + identifier: npm_ci + spec: + shell: Sh + command: npm ci + - step: + type: Run + name: npm run check + identifier: npm_run_check + spec: + shell: Sh + command: npm run check + - step: + type: Run + name: npm run test + identifier: npm_run_test + spec: + shell: Sh + command: npm run test -- --coverage + - step: + type: Run + name: npm run build + identifier: npm_run_build + spec: + shell: Sh + command: npm run build From 74dc7c81c317363a313d9d322354c1c0953ac71a Mon Sep 17 00:00:00 2001 From: Luis Sanchez Date: Mon, 9 Feb 2026 15:15:03 +0000 Subject: [PATCH 2/5] Create inputset react-native-client --- .../input_sets/react-native-client.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/reactnativeclient/input_sets/react-native-client.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/reactnativeclient/input_sets/react-native-client.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/reactnativeclient/input_sets/react-native-client.yaml new file mode 100644 index 0000000..2f5f99a --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/reactnativeclient/input_sets/react-native-client.yaml @@ -0,0 +1,14 @@ +inputSet: + name: react-native-client + identifier: reactnativeclient + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: reactnativeclient + properties: + ci: + codebase: + build: + type: branch + spec: + branch: <+trigger.branch> From 52b432bd005d32cfb4c7e6d58a9aa196b66bc593 Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Mon, 9 Feb 2026 12:24:26 -0300 Subject: [PATCH 3/5] Update package-lock.json --- package-lock.json | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1625949..9216130 100644 --- a/package-lock.json +++ b/package-lock.json @@ -75,6 +75,7 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz", "integrity": "sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==", "dev": true, + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.22.13", @@ -1660,6 +1661,7 @@ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.4.tgz", "integrity": "sha512-GwMMsuAnDtULyOtuxHhzzuSRxFeP0aR/LNzrHRzP8y6AgDNgqnrfCCBm/1cRdTU75tRs28Eh76poHLcg9VF0LA==", "dev": true, + "peer": true, "dependencies": { "@babel/compat-data": "^7.14.4", "@babel/helper-compilation-targets": "^7.14.4", @@ -5136,6 +5138,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, + "peer": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", "@typescript-eslint/scope-manager": "5.62.0", @@ -5170,6 +5173,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "5.62.0", "@typescript-eslint/types": "5.62.0", @@ -5367,6 +5371,7 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -6116,6 +6121,7 @@ "url": "https://github.com/sponsors/ai" } ], + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001646", "electron-to-chromium": "^1.5.4", @@ -7138,6 +7144,7 @@ "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -15206,6 +15213,7 @@ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz", "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==", "dev": true, + "peer": true, "bin": { "prettier": "bin-prettier.js" }, @@ -15442,6 +15450,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", "dev": true, + "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -15470,6 +15479,7 @@ "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.72.15.tgz", "integrity": "sha512-UDxOZwCxhwb0dGuvcB/04uWzhDJ8etqW3fMOq6bv35WwEXMgKXXqZpshhMo64UVWm/m2ZmM32ckn5sf1EIqD9Q==", "dev": true, + "peer": true, "dependencies": { "@jest/create-cache-key-function": "^29.2.1", "@react-native-community/cli": "^11.4.1", @@ -17366,6 +17376,7 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", "dev": true, + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -17997,6 +18008,7 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz", "integrity": "sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==", "dev": true, + "peer": true, "requires": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.22.13", @@ -19173,6 +19185,7 @@ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.4.tgz", "integrity": "sha512-GwMMsuAnDtULyOtuxHhzzuSRxFeP0aR/LNzrHRzP8y6AgDNgqnrfCCBm/1cRdTU75tRs28Eh76poHLcg9VF0LA==", "dev": true, + "peer": true, "requires": { "@babel/compat-data": "^7.14.4", "@babel/helper-compilation-targets": "^7.14.4", @@ -21891,6 +21904,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, + "peer": true, "requires": { "@eslint-community/regexpp": "^4.4.0", "@typescript-eslint/scope-manager": "5.62.0", @@ -21909,6 +21923,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, + "peer": true, "requires": { "@typescript-eslint/scope-manager": "5.62.0", "@typescript-eslint/types": "5.62.0", @@ -22022,7 +22037,8 @@ "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", - "dev": true + "dev": true, + "peer": true }, "acorn-jsx": { "version": "5.3.2", @@ -22586,6 +22602,7 @@ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, + "peer": true, "requires": { "caniuse-lite": "^1.0.30001646", "electron-to-chromium": "^1.5.4", @@ -23361,6 +23378,7 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "dev": true, + "peer": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -29312,7 +29330,8 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz", "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==", - "dev": true + "dev": true, + "peer": true }, "prettier-linter-helpers": { "version": "1.0.0", @@ -29492,6 +29511,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", "dev": true, + "peer": true, "requires": { "loose-envify": "^1.1.0" } @@ -29517,6 +29537,7 @@ "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.72.15.tgz", "integrity": "sha512-UDxOZwCxhwb0dGuvcB/04uWzhDJ8etqW3fMOq6bv35WwEXMgKXXqZpshhMo64UVWm/m2ZmM32ckn5sf1EIqD9Q==", "dev": true, + "peer": true, "requires": { "@jest/create-cache-key-function": "^29.2.1", "@react-native-community/cli": "^11.4.1", @@ -30977,7 +30998,8 @@ "version": "4.4.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", - "dev": true + "dev": true, + "peer": true }, "uglify-es": { "version": "3.3.9", From b23ff6e6845942bda7077a026e3e32f6c6b70d19 Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Mon, 9 Feb 2026 12:28:47 -0300 Subject: [PATCH 4/5] Remove GH action workflows --- .github/workflows/ci.yml | 80 ----------------------- .github/workflows/update-license-year.yml | 45 ------------- 2 files changed, 125 deletions(-) delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/update-license-year.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 11dceed..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,80 +0,0 @@ -name: ci -on: - pull_request: - branches: - - main - pull_request_target: - branches: - - development - push: - branches: - - '*' - -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up nodejs - uses: actions/setup-node@v4 - with: - node-version: 'lts/*' - cache: 'npm' - - - name: npm CI - run: npm ci - - - name: npm Check - run: npm run check - - - name: npm Test - run: npm run test -- --coverage - - - name: npm Build - run: npm run build - - - name: SonarQube Scan (Push) - if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/main') }} - uses: SonarSource/sonarcloud-github-action@v1.8 - env: - SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} - with: - projectBaseDir: . - args: > - -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }} - -Dsonar.projectName=${{ github.event.repository.name }} - -Dsonar.projectKey=${{ github.event.repository.name }} - -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info - -Dsonar.exclusions=**/*.java - -Dsonar.c.file.suffixes=- - -Dsonar.cpp.file.suffixes=- - -Dsonar.objc.file.suffixes=- - -Dsonar.links.ci="https://github.com/splitio/${{ github.event.repository.name }}/actions" - -Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}" - - - name: SonarQube Scan (Pull Request) - if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' - uses: SonarSource/sonarcloud-github-action@v1.8 - env: - SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} - with: - projectBaseDir: . - args: > - -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }} - -Dsonar.projectName=${{ github.event.repository.name }} - -Dsonar.projectKey=${{ github.event.repository.name }} - -Dsonar.links.ci="https://github.com/splitio/${{ github.event.repository.name }}/actions" - -Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}" - -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info - -Dsonar.exclusions=**/*.java - -Dsonar.c.file.suffixes=- - -Dsonar.cpp.file.suffixes=- - -Dsonar.objc.file.suffixes=- - -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} - -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }} - -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }} diff --git a/.github/workflows/update-license-year.yml b/.github/workflows/update-license-year.yml deleted file mode 100644 index 7e0a945..0000000 --- a/.github/workflows/update-license-year.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Update License Year - -on: - schedule: - - cron: "0 3 1 1 *" # 03:00 AM on January 1 - -permissions: - contents: write - pull-requests: write - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set Current year - run: "echo CURRENT=$(date +%Y) >> $GITHUB_ENV" - - - name: Set Previous Year - run: "echo PREVIOUS=$(($CURRENT-1)) >> $GITHUB_ENV" - - - name: Update LICENSE - uses: jacobtomlinson/gha-find-replace@v3 - with: - find: ${{ env.PREVIOUS }} - replace: ${{ env.CURRENT }} - include: "LICENSE" - regex: false - - - name: Commit files - run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - git commit -m "Updated License Year" -a - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - title: Update License Year - branch: update-license From c2ac4637952f37992f71808d6ac175840b4425d3 Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Mon, 9 Feb 2026 19:14:46 -0300 Subject: [PATCH 5/5] Rename file --- .../Harness_Split/pipelines/{ci.yaml => react-native-client.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .harness/orgs/PROD/projects/Harness_Split/pipelines/{ci.yaml => react-native-client.yaml} (100%) diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/ci.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/react-native-client.yaml similarity index 100% rename from .harness/orgs/PROD/projects/Harness_Split/pipelines/ci.yaml rename to .harness/orgs/PROD/projects/Harness_Split/pipelines/react-native-client.yaml