Skip to content

When deleting the thesis, save the whole thesis data a tthe time of d… #358

When deleting the thesis, save the whole thesis data a tthe time of d…

When deleting the thesis, save the whole thesis data a tthe time of d… #358

Workflow file for this run

name: Test and deploy to staging
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- run: npm install
- name: Build image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: grapa
tags: staging ${{ github.sha }}
containerfiles: |
./Dockerfile
build-args: |
BASE_PATH=
GIT_SHA=${{ github.sha }}
STAGING=true
E2E=false
# ulimit 4096 is required for the buildah to work
# otherwise throws error "Too many open files"
extra-args: --ulimit nofile=4096:4096
- run: npm test
- run: npm run test:front
- run: npm run test:integration
- name: Push to quay.io
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/toska
username: toska+github
password: ${{ secrets.QUAY_IO_TOKEN }}