[CHORE] Bump Deps and adjust Dockerfile (#8)
Co-authored-by: dunemask <dunemask@gmail.com> Reviewed-on: https://gitea.dunemask.net/elysium/qualiteer/pulls/8
This commit is contained in:
parent
d56f3697b8
commit
e76b7f1117
11 changed files with 1686 additions and 6217 deletions
42
.gitea/workflows/ci-deployment.yml
Normal file
42
.gitea/workflows/ci-deployment.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
name: DevOps Test Deployment
|
||||
run-name: ${{ gitea.actor }} DevOps Test Deployment
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
REPO_DIR: ${{ gitea.workspace }}/qualiteer
|
||||
KUBECONFIG_BASE64: ${{ secrets.KUBECONFIG_USW_DEV }}
|
||||
GITEA_TOKEN: ${{ secrets.ELYSIUM_ORG_READ_TOKEN }}
|
||||
OASIS_PROD_CONFIG: ${{ secrets.OASIS_PROD_CONFIG }}
|
||||
GARDEN_BUILD_ACTION_LINK: build.qualiteer-image
|
||||
GARDEN_DEPLOY_ACTION_LINK: deploy.qualiteer
|
||||
GARDEN_DEPLOY_ACTION: qualiteer
|
||||
|
||||
jobs:
|
||||
ci-deployment:
|
||||
steps:
|
||||
- name: Oasis Setup
|
||||
uses: https://gitea.dunemask.net/elysium/oasis-action@master
|
||||
with:
|
||||
gitea-token: ${{ env.GITEA_TOKEN }}
|
||||
kubeconfig: ${{ env.KUBECONFIG_BASE64 }}
|
||||
oasis-prod-config: ${{ env.OASIS_PROD_CONFIG }}
|
||||
# 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_BUILD_ACTION_LINK $REPO_DIR --env usw-ci
|
||||
garden link action $GARDEN_DEPLOY_ACTION_LINK $REPO_DIR --env usw-ci
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||
# Cubit CI Tests
|
||||
- name: Run Cubit tests in CI env
|
||||
run: garden deploy $GARDEN_DEPLOY_ACTION --env usw-ci
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||
- 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