This commit is contained in:
parent
43aa115660
commit
3f0e2323d9
2 changed files with 58 additions and 58 deletions
|
@ -1,44 +1,44 @@
|
||||||
name: QA API Tests
|
# name: QA API Tests
|
||||||
run-name: ${{ forgejo.actor }} QA API Test
|
# run-name: ${{ forgejo.actor }} QA API Test
|
||||||
on:
|
# on:
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ master ]
|
# branches: [ master ]
|
||||||
|
|
||||||
env:
|
# env:
|
||||||
REPO_DIR: ${{ forgejo.workspace }}/cairo
|
# REPO_DIR: ${{ forgejo.workspace }}/cairo
|
||||||
GARDEN_LINK_ACTION: build.cairo-image
|
# GARDEN_LINK_ACTION: build.cairo-image
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
qa-api-tests:
|
# qa-api-tests:
|
||||||
steps:
|
# steps:
|
||||||
# Setup Oasis
|
# # Setup Oasis
|
||||||
- name: Oasis Setup
|
# - name: Oasis Setup
|
||||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@oasis-setup-auto
|
# uses: https://forgejo.dunemask.dev/elysium/elysium-actions@oasis-setup-auto
|
||||||
with:
|
# with:
|
||||||
deploy-env: ci
|
# deploy-env: ci
|
||||||
infisical-token: ${{ secrets.INFISICAL_ELYSIUM_CI_READ_TOKEN }}
|
# infisical-token: ${{ secrets.INFISICAL_ELYSIUM_CI_READ_TOKEN }}
|
||||||
infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
|
# infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
|
||||||
extra-secret-paths: /dashboard,/alexandria
|
# extra-secret-paths: /dashboard,/alexandria
|
||||||
extra-secret-envs: ci,ci
|
# extra-secret-envs: ci,ci
|
||||||
# Test Code
|
# # Test Code
|
||||||
- name: Checkout repository
|
# - name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
path: ${{ env.REPO_DIR }}
|
# path: ${{ env.REPO_DIR }}
|
||||||
# Garden tests
|
# # Garden tests
|
||||||
- name: Link Repo code to Garden
|
# - name: Link Repo code to Garden
|
||||||
run: garden link action $GARDEN_LINK_ACTION $REPO_DIR --env usw-ci
|
# run: garden link action $GARDEN_LINK_ACTION $REPO_DIR --env usw-ci
|
||||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
# working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||||
# Cubit CI Tests
|
# # Cubit CI Tests
|
||||||
- name: Run Cubit tests in CI env
|
# - name: Run Cubit tests in CI env
|
||||||
run: garden workflow qa-api-tests --env usw-ci --var ci-ttl=25m
|
# run: garden workflow qa-api-tests --env usw-ci --var ci-ttl=25m
|
||||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
# working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||||
# Discord Alert
|
# # Discord Alert
|
||||||
- name: Discord Alert
|
# - name: Discord Alert
|
||||||
if: always()
|
# if: always()
|
||||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@discord-status
|
# uses: https://forgejo.dunemask.dev/elysium/elysium-actions@discord-status
|
||||||
with:
|
# with:
|
||||||
status: ${{ job.status }}
|
# status: ${{ job.status }}
|
||||||
channel: ci
|
# channel: ci
|
||||||
header: QA API Tests
|
# header: QA API Tests
|
||||||
additional-content: "CI Namespace: `${{env.CI_NAMESPACE}}`"
|
# additional-content: "CI Namespace: `${{env.CI_NAMESPACE}}`"
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
name: S3 Repo Backup
|
# name: S3 Repo Backup
|
||||||
run-name: ${{ forgejo.actor }} S3 Repo Backup
|
# run-name: ${{ forgejo.actor }} S3 Repo Backup
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches: [ master ]
|
# branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
s3-repo-backup:
|
# s3-repo-backup:
|
||||||
steps:
|
# steps:
|
||||||
- name: S3 Backup
|
# - name: S3 Backup
|
||||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@s3-backup
|
# uses: https://forgejo.dunemask.dev/elysium/elysium-actions@s3-backup
|
||||||
with:
|
# with:
|
||||||
infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }}
|
# infisical-token: ${{ secrets.INFISICAL_ELYSIUM_EDGE_READ_TOKEN }}
|
||||||
infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
|
# infisical-project: ${{ vars.INFISICAL_DEPLOYMENTS_PROJECT_ID }}
|
||||||
- name: Status Alert
|
# - name: Status Alert
|
||||||
if: always()
|
# if: always()
|
||||||
run: echo "The Job ended with status ${{ job.status }}."
|
# run: echo "The Job ended with status ${{ job.status }}."
|
Loading…
Add table
Add a link
Reference in a new issue