forked from pocketbase/pocketbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c9d827
commit be61fe3
Showing
1 changed file
with
66 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,77 @@ | ||
name: Validate push | ||
on: | ||
push: | ||
push: | ||
|
||
jobs: | ||
testing_WarpBuild: | ||
name: Validate Deployed Website | ||
runs-on: warp-ubuntu-latest-arm64-2x | ||
timeout-minutes: 40 | ||
permissions: | ||
id-token: write | ||
contents: read | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
shardIndex: [1, 2, 3, 4] | ||
shardTotal: [4] | ||
testing_WarpBuild: | ||
name: Validate Deployed Website | ||
runs-on: warp-macos-14-arm64-6x | ||
timeout-minutes: 40 | ||
permissions: | ||
id-token: write | ||
contents: read | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# shardIndex: [1, 2, 3, 4] | ||
# shardTotal: [4] | ||
|
||
steps: | ||
- name: Install aws | ||
run: sleep 20s && sudo apt-get update && sudo apt-get install -y awscli | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# submodules: recursive | ||
# - uses: oven-sh/setup-bun@v1 | ||
# with: | ||
# bun-version: 1.1.0 | ||
# - uses: aws-actions/configure-aws-credentials@v2 | ||
# with: | ||
# role-to-assume: ${{ secrets.AWS_ROLE_ARN }} | ||
# aws-region: ${{ secrets.AWS_REGION }} | ||
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
# role-duration-seconds: 7200 | ||
steps: | ||
- name: Install aws | ||
run: sleep 20s && sudo apt-get update && sudo apt-get install -y awscli | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# submodules: recursive | ||
# - uses: oven-sh/setup-bun@v1 | ||
# with: | ||
# bun-version: 1.1.0 | ||
# - uses: aws-actions/configure-aws-credentials@v2 | ||
# with: | ||
# role-to-assume: ${{ secrets.AWS_ROLE_ARN }} | ||
# aws-region: ${{ secrets.AWS_REGION }} | ||
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
# role-duration-seconds: 7200 | ||
|
||
# # - name: Add Public IP to Allow | ||
# # uses: nick-fields/retry@v2.9.0 | ||
# # with: | ||
# # timeout_seconds: 30 | ||
# # max_attempts: 5 | ||
# # command: | | ||
# # BRANCH=${{ needs.init.outputs.branch }} ./.github/workflows/scripts/setWafIpAddress.sh | ||
# - uses: FedericoCarboni/setup-ffmpeg@v3 | ||
# id: setup-ffmpeg | ||
# with: | ||
# ffmpeg-version: 6.1.0 | ||
# # - name: Add Public IP to Allow | ||
# # uses: nick-fields/retry@v2.9.0 | ||
# # with: | ||
# # timeout_seconds: 30 | ||
# # max_attempts: 5 | ||
# # command: | | ||
# # BRANCH=${{ needs.init.outputs.branch }} ./.github/workflows/scripts/setWafIpAddress.sh | ||
# - uses: FedericoCarboni/setup-ffmpeg@v3 | ||
# id: setup-ffmpeg | ||
# with: | ||
# ffmpeg-version: 6.1.0 | ||
|
||
# - name: Install dependencies | ||
# run: bun install -D --frozen-lockfile | ||
# working-directory: react-native | ||
# - name: Install Playwright Browsers | ||
# run: bunx playwright install --with-deps | ||
# - name: Install dependencies | ||
# run: bun install -D --frozen-lockfile | ||
# working-directory: react-native | ||
# - name: Install Playwright Browsers | ||
# run: bunx playwright install --with-deps | ||
|
||
# - name: Test | ||
# run: BRANCH=${{ needs.init.outputs.branch }} bunx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} | ||
# working-directory: react-native/next | ||
# - name: Test | ||
# run: BRANCH=${{ needs.init.outputs.branch }} bunx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} | ||
# working-directory: react-native/next | ||
|
||
# - name: Upload report to S3 | ||
# id: upload-report | ||
# uses: ./.github/actions/upload-s3 | ||
# if: always() | ||
# with: | ||
# source: react-native/next/playwright-report | ||
# bucket: somewhere-somehow-github-artifacts | ||
# overrideDestination: ${{ needs.init.outputs.short_sha }}/attempt-${{ github.run_attempt }}/playwright-report/${{ matrix.shardIndex }} | ||
# - name: Upload report to S3 | ||
# id: upload-report | ||
# uses: ./.github/actions/upload-s3 | ||
# if: always() | ||
# with: | ||
# source: react-native/next/playwright-report | ||
# bucket: somewhere-somehow-github-artifacts | ||
# overrideDestination: ${{ needs.init.outputs.short_sha }}/attempt-${{ github.run_attempt }}/playwright-report/${{ matrix.shardIndex }} | ||
|
||
# - name: Upload blob to S3 | ||
# uses: ./.github/actions/upload-s3 | ||
# if: always() | ||
# with: | ||
# source: react-native/next/blob-report | ||
# bucket: somewhere-somehow-github-artifacts | ||
# overrideDestination: ${{ needs.init.outputs.short_sha }}/attempt-${{ github.run_attempt }}/blob-report | ||
# - name: Upload blob to S3 | ||
# uses: ./.github/actions/upload-s3 | ||
# if: always() | ||
# with: | ||
# source: react-native/next/blob-report | ||
# bucket: somewhere-somehow-github-artifacts | ||
# overrideDestination: ${{ needs.init.outputs.short_sha }}/attempt-${{ github.run_attempt }}/blob-report | ||
|
||
# - name: Echo Results URL | ||
# if: always() && steps.upload-report.conclusion == 'success' | ||
# run: echo "::notice::Artifacts hosted at ${{ steps.upload-report.outputs.url }}/index.html" | ||
# - name: Echo Results URL | ||
# if: always() && steps.upload-report.conclusion == 'success' | ||
# run: echo "::notice::Artifacts hosted at ${{ steps.upload-report.outputs.url }}/index.html" |