From 8ebe577c3e9a4699b1accffbc4c1521ec2531406 Mon Sep 17 00:00:00 2001 From: Sagar Khalasi Date: Thu, 6 Feb 2025 15:22:15 +0530 Subject: [PATCH] ci: snowflake envs for credentials (#39065) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description > [!TIP] > _Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team)._ > > _Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR._ Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.SignIn" ### :mag: Cypress test results > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: 414bca851f9a05341b691277a9d2f99619062164 > Cypress dashboard. > Tags: `@tag.SignIn` > Spec: >
Thu, 06 Feb 2025 09:38:32 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No ## Summary by CodeRabbit - **Chores** - Improved testing workflow consistency by standardizing credential naming conventions. - **New Features** - Added new test parameters to allow configurable run counts and snapshot update options. - Enhanced artifact handling and caching to better preserve logs and results during test executions. --- .github/workflows/ci-test-hosted.yml | 6 +++--- .github/workflows/ci-test-limited-with-count.yml | 6 +++--- .github/workflows/ci-test-limited.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml index 1cd1efd9eb..721b541c89 100644 --- a/.github/workflows/ci-test-hosted.yml +++ b/.github/workflows/ci-test-hosted.yml @@ -245,9 +245,9 @@ jobs: CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }} CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }} CYPRESS_STATIC_ALLOCATION: true - SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} - SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} - SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} + CYPRESS_SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} + CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} + CYPRESS_SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} with: browser: ${{ env.BROWSER_PATH }} install: false diff --git a/.github/workflows/ci-test-limited-with-count.yml b/.github/workflows/ci-test-limited-with-count.yml index bd32dab303..30ec3918da 100644 --- a/.github/workflows/ci-test-limited-with-count.yml +++ b/.github/workflows/ci-test-limited-with-count.yml @@ -423,9 +423,9 @@ jobs: CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }} CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }} CYPRESS_STATIC_ALLOCATION: true - SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} - SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} - SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} + CYPRESS_SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} + CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} + CYPRESS_SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} NODE_ENV: development run: | cd app/client diff --git a/.github/workflows/ci-test-limited.yml b/.github/workflows/ci-test-limited.yml index b859b7bf30..a5a49af7a1 100644 --- a/.github/workflows/ci-test-limited.yml +++ b/.github/workflows/ci-test-limited.yml @@ -339,9 +339,9 @@ jobs: CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }} CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }} CYPRESS_STATIC_ALLOCATION: true - SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} - SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} - SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} + CYPRESS_SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }} + CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }} + CYPRESS_SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} with: browser: ${{ env.BROWSER_PATH }} install: false