feat: add hybx omnl stack and gas pmm tooling
Some checks failed
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 35s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 37s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m50s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 2m19s
Validation / validate-genesis (push) Successful in 51s
Validation / validate-terraform (push) Failing after 39s
Validation / validate-kubernetes (push) Failing after 10s
CI/CD Pipeline / Solidity Contracts (push) Failing after 12m56s
Validation / validate-smart-contracts (push) Failing after 12s
CI/CD Pipeline / Security Scanning (push) Failing after 15m52s
Validation / validate-security (push) Failing after 10m59s
Validation / validate-documentation (push) Failing after 17s
Validate Token List / validate (push) Failing after 30s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 26s
Verify Deployment / Verify Deployment (push) Failing after 56s
Some checks failed
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 35s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 37s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m50s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 2m19s
Validation / validate-genesis (push) Successful in 51s
Validation / validate-terraform (push) Failing after 39s
Validation / validate-kubernetes (push) Failing after 10s
CI/CD Pipeline / Solidity Contracts (push) Failing after 12m56s
Validation / validate-smart-contracts (push) Failing after 12s
CI/CD Pipeline / Security Scanning (push) Failing after 15m52s
Validation / validate-security (push) Failing after 10m59s
Validation / validate-documentation (push) Failing after 17s
Validate Token List / validate (push) Failing after 30s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 26s
Verify Deployment / Verify Deployment (push) Failing after 56s
This commit is contained in:
71
.github/workflows/hybx-omnl-ts.yml
vendored
Normal file
71
.github/workflows/hybx-omnl-ts.yml
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
# TypeScript build + IPSAS/journal anchor (no Forge — keeps PR feedback fast).
|
||||
name: HYBX OMNL TypeScript & anchor
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [main, develop]
|
||||
paths:
|
||||
- 'contracts/hybx-omnl/**'
|
||||
- 'services/token-aggregation/**'
|
||||
- 'config/omnl-*.json'
|
||||
- 'config/hybx-omnl-*.json'
|
||||
- 'config/deployment-omnl.example.env'
|
||||
- 'scripts/hybx-omnl/**'
|
||||
- 'test/hybx-omnl/**'
|
||||
- '.github/workflows/hybx-omnl-ts.yml'
|
||||
- '.github/workflows/omnl-reconcile.yml'
|
||||
push:
|
||||
branches: [main, develop]
|
||||
paths:
|
||||
- 'contracts/hybx-omnl/**'
|
||||
- 'services/token-aggregation/**'
|
||||
- 'config/omnl-*.json'
|
||||
- 'config/hybx-omnl-*.json'
|
||||
- 'config/deployment-omnl.example.env'
|
||||
- 'scripts/hybx-omnl/**'
|
||||
- 'test/hybx-omnl/**'
|
||||
- '.github/workflows/hybx-omnl-ts.yml'
|
||||
- '.github/workflows/omnl-reconcile.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ts-and-anchor:
|
||||
name: token-aggregation build + reconcile artifact
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Validate cross-chain OMNL config
|
||||
run: node scripts/hybx-omnl/validate-cross-chain-config.mjs
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: npm
|
||||
cache-dependency-path: services/token-aggregation/package-lock.json
|
||||
|
||||
- name: Install token-aggregation dependencies
|
||||
working-directory: services/token-aggregation
|
||||
run: npm ci
|
||||
|
||||
- name: OMNL reconcile artifact
|
||||
run: bash scripts/hybx-omnl/omnl-reconcile-artifact.sh
|
||||
|
||||
- name: Build token-aggregation
|
||||
working-directory: services/token-aggregation
|
||||
run: npm run build
|
||||
|
||||
- name: Upload reconcile artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: omnl-reconcile-pr-${{ github.run_id }}
|
||||
path: artifacts/omnl-reconcile/
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
67
.github/workflows/omnl-reconcile.yml
vendored
Normal file
67
.github/workflows/omnl-reconcile.yml
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
name: OMNL reconcile anchor
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# Weekly Monday 07:05 UTC — adjust as needed
|
||||
- cron: '5 7 * * 1'
|
||||
pull_request:
|
||||
branches: [main, develop]
|
||||
paths:
|
||||
- 'config/omnl-ipsas-gl-registry.json'
|
||||
- 'config/omnl-journal-matrix.json'
|
||||
- 'config/deployment-omnl.example.env'
|
||||
- 'services/token-aggregation/scripts/omnl-reconcile-report.mjs'
|
||||
- 'services/token-aggregation/package.json'
|
||||
- 'scripts/hybx-omnl/omnl-reconcile-artifact.sh'
|
||||
- '.github/workflows/omnl-reconcile.yml'
|
||||
- '.github/workflows/hybx-omnl-ts.yml'
|
||||
push:
|
||||
branches: [main, develop]
|
||||
paths:
|
||||
- 'config/omnl-ipsas-gl-registry.json'
|
||||
- 'config/omnl-journal-matrix.json'
|
||||
- 'config/deployment-omnl.example.env'
|
||||
- 'services/token-aggregation/scripts/omnl-reconcile-report.mjs'
|
||||
- 'services/token-aggregation/package.json'
|
||||
- 'scripts/hybx-omnl/omnl-reconcile-artifact.sh'
|
||||
- '.github/workflows/omnl-reconcile.yml'
|
||||
- '.github/workflows/hybx-omnl-ts.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
reconcile:
|
||||
name: Run omnl:reconcile and upload artifacts
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate cross-chain OMNL config
|
||||
run: node scripts/hybx-omnl/validate-cross-chain-config.mjs
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Generate reconcile artifacts
|
||||
env:
|
||||
GITHUB_SHA: ${{ github.sha }}
|
||||
GITHUB_RUN_ID: ${{ github.run_id }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
run: bash scripts/hybx-omnl/omnl-reconcile-artifact.sh
|
||||
|
||||
- name: Upload OMNL reconcile artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: omnl-reconcile-${{ github.run_id }}
|
||||
path: artifacts/omnl-reconcile/
|
||||
if-no-files-found: error
|
||||
retention-days: 90
|
||||
Reference in New Issue
Block a user