From d7048fbade4656c6ef425641a60b40fb4743f622 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Thu, 28 Mar 2024 08:20:23 -0700 Subject: [PATCH] chore: updates dev staging data | NPG-000 (#686) # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. Fixes # (issue) _if applicable_ ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Test A - [ ] Test B **Test Configuration**: _if applicable_ - Firmware version: - Hardware: - Toolchain: - SDK: **List of new dependencies**: _if applicable_ Provide a list of newly added dependencies in this PR, with the description of what are they doing and why do we need them. - Crate A: description - Crate B: description ## Checklist - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --------- Co-authored-by: kukkok3 <93382903+kukkok3@users.noreply.github.com> --- .github/workflows/ci.yml | 7 +---- .github/workflows/rust.yml | 2 +- .../stage_data/dev/00001_fund100_event.sql | 26 +++++++++---------- tests/wallet-automation/Earthfile | 2 +- 4 files changed, 16 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0256a8299f..7674b9b8ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,8 @@ jobs: aws_ecr_registry: 332405224602.dkr.ecr.eu-central-1.amazonaws.com aws_role_arn: arn:aws:iam::332405224602:role/ci aws_region: eu-central-1 - deployment_images: | - cat-data-service - fragment-exporter - migrations - voting-node + publish_docs: false secrets: - deployment_token: ${{ secrets.CI_BOT_TOKEN }} dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }} dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} earthly_runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8e5cf8c281..c216289c24 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -226,7 +226,7 @@ jobs: uses: taiki-e/install-action@nextest - name: Install cargo-make - run: cargo install --force cargo-make + run: cargo install --force cargo-make --locked - name: Install refinery run: cargo install refinery_cli --version 0.8.7 --locked diff --git a/src/event-db/stage_data/dev/00001_fund100_event.sql b/src/event-db/stage_data/dev/00001_fund100_event.sql index 7bea1b1178..a7370041f5 100644 --- a/src/event-db/stage_data/dev/00001_fund100_event.sql +++ b/src/event-db/stage_data/dev/00001_fund100_event.sql @@ -29,22 +29,22 @@ INSERT INTO event ( 100, 'Fund 100', 'Catalyst Testnet - Fund 100', - '2024-01-15 21:45:00', -- Registration Snapshot Time - '2024-01-15 22:15:00', -- Snapshot Start. + '2024-06-15 21:45:00', -- Registration Snapshot Time + '2024-06-15 22:15:00', -- Snapshot Start. 50000000, -- Voting Power Threshold 1, -- Max Voting Power PCT NULL, -- Review Rewards - '2024-02-28 04:00:00', -- Start Time - '2023-12-30 18:00:00', -- End Time - '2024-02-28 04:00:00', -- Insight Sharing Start - '2024-02-28 04:00:00', -- Proposal Submission Start - '2024-02-28 04:00:00', -- Refine Proposals Start - '2024-02-28 04:00:00', -- Finalize Proposals Start - '2024-02-28 04:00:00', -- Proposal Assessment Start - '2024-02-28 04:00:00', -- Assessment QA Start - '2024-02-28 09:00:00', -- Voting Starts - '2024-03-13 13:00:00', -- Voting Ends - '2024-03-22 02:00:00', -- Tallying Ends + '2024-01-01 00:00:00', -- Start Time + '2024-12-31 00:00:00', -- End Time + '2024-07-28 04:00:00', -- Insight Sharing Start + '2024-07-28 04:00:00', -- Proposal Submission Start + '2024-07-28 04:00:00', -- Refine Proposals Start + '2024-07-28 04:00:00', -- Finalize Proposals Start + '2024-07-28 04:00:00', -- Proposal Assessment Start + '2024-07-28 04:00:00', -- Assessment QA Start + '2024-07-28 09:00:00', -- Voting Starts + '2024-08-13 13:00:00', -- Voting Ends + '2024-08-22 02:00:00', -- Tallying Ends NULL, -- Block 0 Data NULL, -- Block 0 Hash 1, -- Committee Size diff --git a/tests/wallet-automation/Earthfile b/tests/wallet-automation/Earthfile index 65c1787f05..e179100ed6 100644 --- a/tests/wallet-automation/Earthfile +++ b/tests/wallet-automation/Earthfile @@ -26,6 +26,6 @@ src: COPY global-setup.ts . # Define a test target that builds upon deps -test: +wallet-test: FROM +src RUN xvfb-run -a npx playwright test