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