mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Optimised the pipeline
Replaced the test video with a lower size version in an attempt at keeping this shitty gitlab.rlp provided action running from crashing constantly
This commit is contained in:
+17
-12
@@ -1,24 +1,29 @@
|
|||||||
image: node:latest
|
image: node:latest
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- install
|
# - install
|
||||||
- test
|
- test
|
||||||
|
|
||||||
job-install:
|
# job-install:
|
||||||
stage: install
|
# stage: install
|
||||||
script:
|
# script:
|
||||||
- npm install
|
# - npm install
|
||||||
artifacts:
|
# artifacts:
|
||||||
untracked: false
|
# untracked: false
|
||||||
when: on_success
|
# when: on_success
|
||||||
access: all
|
# access: all
|
||||||
expire_in: "30 days"
|
# expire_in: "30 days"
|
||||||
paths:
|
# paths:
|
||||||
- node_modules
|
# - node_modules
|
||||||
|
|
||||||
|
|
||||||
|
new version of the test that runs in one stage, hopefully resolves this nasty issue where the provided action running shits itself because whoever set it up only gave it 500 Bytes of storage space for each pipleline
|
||||||
|
|
||||||
|
|
||||||
job-test:
|
job-test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- npm install
|
||||||
- echo "ASSEMBLYAI_API_KEY=$apikey_assembly" > .env
|
- echo "ASSEMBLYAI_API_KEY=$apikey_assembly" > .env
|
||||||
- echo "GOOGLE_API_KEY=$apikey_gemini" >> .env
|
- echo "GOOGLE_API_KEY=$apikey_gemini" >> .env
|
||||||
- npm test
|
- npm test
|
||||||
Binary file not shown.
Reference in New Issue
Block a user