Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/build_wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Build Sequent Core WASM Target
on:
pull_request:
push:
branches: [ 'main' ]
branches: [ 'main', 'feat/use-arc-runner-java-test' ]
release:
types: [published]

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
branches:
- main
- release/*
- feat/use-arc-runner-java-test

permissions:
contents: write
Expand All @@ -33,6 +34,8 @@ jobs:
runs-on: gcp-selfhosted-ubuntu24
steps:
- uses: actions/checkout@v4
with:
clean: true

- name: Set Node.js 22.x
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Java Test
on:
pull_request:
push:
branches: [ 'main', 'release/[0-9]+.[0-9]+' ]
branches: [ 'main', 'release/[0-9]+.[0-9]+', 'feat/use-arc-runner-java-test']

jobs:
build-and-test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license_reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: REUSE licensing check
on:
pull_request:
push:
branches: [ 'main', 'release/[0-9]+.[0-9]+' ]
branches: [ 'main', 'release/[0-9]+.[0-9]+', 'feat/use-arc-runner-java-test' ]

jobs:
reuse:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_prettify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Lint & Prettify
on:
pull_request:
push:
branches: [ 'main', 'release/[0-9]+.[0-9]+' ]
branches: [ 'main', 'release/[0-9]+.[0-9]+', 'feat/use-arc-runner-java-test' ]

jobs:
lint-prettify:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/locs_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: LOCs Lines Of Code Report
on:
pull_request:
push:
branches: [ 'main', 'release/[0-9]+.[0-9]+' ]
branches: [ 'main', 'release/[0-9]+.[0-9]+', 'feat/use-arc-runner-java-test' ]

jobs:
locs:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
node-version: '24'

- name: Install release-it
run: npm install --global release-it@19.0.3
run: sudo npm install --global release-it@19.0.3

- name: Create Release Branch if required
id: CreateReleaseBranch
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
fi

release:
runs-on: gcp-selfhosted-ubuntu24
runs-on: gcp-selfhosted-ubuntu24 #gcp
needs: create-release-branch
outputs:
VERSION: ${{ steps.Release.outputs.VERSION }}
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

- name: Install release tools
run: |
npm install --global release-it@16.2.1
sudo npm install --global release-it@16.2.1

- name: Determine Release Increment
id: CheckLatestRelease
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
trigger-beyond-release:
needs: [release]
if: ${{ always() && needs.release.result == 'success' }}
runs-on: gcp-selfhosted-ubuntu24
runs-on: gcp-selfhosted-ubuntu24 #gcp
steps:
- name: Trigger Beyond Release Workflow
uses: the-actions-org/workflow-dispatch@v4 # https://github.com/the-actions-org/workflow-dispatch
Expand All @@ -274,7 +274,7 @@ jobs:
trigger-deployer:
needs: [release, create-release-branch, trigger-beyond-release]
if: ${{ always() && needs.release.result == 'success' && needs.create-release-branch.result == 'success' }}
runs-on: gcp-selfhosted-ubuntu24
runs-on: gcp-selfhosted-ubuntu24 #gcp
steps:
- name: Trigger Deployer Workflow
uses: the-actions-org/workflow-dispatch@v4 # https://github.com/the-actions-org/workflow-dispatch
Expand All @@ -289,7 +289,7 @@ jobs:
if: failure()
# Here define the depenency jobs
needs: [release]
runs-on: gcp-selfhosted-ubuntu24
runs-on: gcp-selfhosted-ubuntu24 #gcp
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -305,7 +305,7 @@ jobs:

slack-report:
needs: [release, trigger-deployer, cleanup]
runs-on: gcp-selfhosted-ubuntu24
runs-on: gcp-selfhosted-ubuntu24 #gcp
timeout-minutes: 20
if: always()
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
tags: |
${{ vars.AWS_ECR_REGISTRY_GLOBALDOT }}/${{ matrix.service }}:${{ env.SHORT_SHA }}
${{ vars.AWS_ECR_REGISTRY_GLOBALDOT }}/${{ matrix.service }}:${{ inputs.tag || github.run_number }}
cache-from: type=gha,scope=${{ matrix.service }}
cache-to: type=gha,mode=max,scope=${{ matrix.service }}
cache-from: type=registry,ref=${{ vars.AWS_ECR_REGISTRY_GLOBALDOT }}/${{ matrix.service }}:buildcache
cache-to: type=registry,ref=${{ vars.AWS_ECR_REGISTRY_GLOBALDOT }}/${{ matrix.service }}:buildcache,mode=max
build-args: |
SPA_NAME=${{ matrix.spa_name }}
FEATURES=${{ matrix.features }}
20 changes: 20 additions & 0 deletions .github/workflows/step_cli_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
build-cli:
runs-on: gcp-selfhosted-ubuntu24
timeout-minutes: 45
env:
CARGO_TARGET_DIR: rust-local-target
RUSTFLAGS: "-C target-feature=-crt-static -lgcc_eh -lm"
Expand All @@ -34,6 +35,24 @@ jobs:
components: rustfmt
targets: x86_64-unknown-linux-musl

- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-

- name: Cache Cargo build
uses: actions/cache@v4
with:
path: packages/step-cli/rust-local-target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('packages/step-cli/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-build-

- name: Link openssl
working-directory: packages/step-cli
run: sudo ln -s /usr/include/x86_64-linux-gnu/openssl/opensslconf.h /usr/include/openssl/opensslconf.h && sudo ln -s /usr/include/x86_64-linux-gnu/openssl/configuration.h /usr/include/openssl/configuration.h
Expand All @@ -46,6 +65,7 @@ jobs:
OPENSSL_STATIC: 1
PKG_CONFIG_ALLOW_CROSS: 1
OPENSSL_NO_VENDOR: 0
CARGO_BUILD_JOBS: 4
run: cargo build --release --target x86_64-unknown-linux-musl

- name: List build output target-rust-local (for debugging)
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
run-tests:
name: Run Rust tests
runs-on: gcp-selfhosted-ubuntu24
timeout-minutes: 35
strategy:
matrix:
include:
Expand All @@ -39,6 +40,24 @@ jobs:
components: rustfmt
targets: x86_64-unknown-linux-musl

- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-

- name: Cache Cargo build
uses: actions/cache@v4
with:
path: packages/${{ matrix.service }}/target
key: ${{ runner.os }}-cargo-test-${{ matrix.service }}-${{ hashFiles('packages/${{ matrix.service }}/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-test-${{ matrix.service }}-

- name: Install system dependencies
run: |
sudo apt-get update
Expand Down Expand Up @@ -69,4 +88,5 @@ jobs:
LOW_SQL_LIMIT: "1000"
DEFAULT_SQL_LIMIT: "20"
DEFAULT_SQL_BATCH_SIZE: "1000"
CARGO_BUILD_JOBS: 4
run: cd packages/${{ matrix.service }} && cargo test ${{ matrix.extra }}
21 changes: 21 additions & 0 deletions docs/docusaurus/docs/releases/01-Release-Next/release-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,34 @@ title: Release Notes next
SPDX-License-Identifier: AGPL-3.0-only
-->

## ✨ feat/meta-9293-add-cargo-cache/main

Added cargo caching for efficient test builds

- Issue: [#9293](https://github.com/sequentech/meta/issues/9293)

## ✨ ✨ Investigating costs increase in infra cluster (GHA)

- Added ECR caching for docker artifacts
- Added cargo caching for efficient test builds
- Added 'sudo' to release-it installation

- Issue: [#9293](https://github.com/sequentech/meta/issues/9293)

## 🐞 Admin Portal > Can't send message to voters

Going to the Admin Portal > Election Event > Voters > Send generated an
unexpected error.

- Issue: [#9721](https://github.com/sequentech/meta/issues/9721)

## ✨ Reports > Add pagination to the electoral results report

Going to the Admin Portal > Election Event > Voters > Send generated an
unexpected error.

- Issue: [#9721](https://github.com/sequentech/meta/issues/9721)

## 🐞 Tally > Election aliases not used

Use election alias in all places in tally results.
Expand Down
Loading