mirror of
https://gitlab.com/Thoscellen/Wallset.git
synced 2025-05-31 19:04:51 +02:00
Fixe l'execution de la commande cat
This commit is contained in:
parent
ea9a4a6618
commit
797caf0678
@ -1,8 +1,5 @@
|
|||||||
# include:
|
include:
|
||||||
# - .gitlab/existing_valid_theme_set.yml
|
- .gitlab/*.yml
|
||||||
# - .gitlab/missing_tag_set.yml
|
|
||||||
# - .gitlab/unbalanced_set.yml
|
|
||||||
# - .gitlab/valid_set.yml
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- Manifest
|
- Manifest
|
||||||
@ -24,14 +21,13 @@ variables:
|
|||||||
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
when: never
|
when: never
|
||||||
#- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
||||||
- changes:
|
- changes:
|
||||||
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
||||||
script:
|
script:
|
||||||
- cd src/
|
- cd src/
|
||||||
- npm install
|
- npm install
|
||||||
- npm run start
|
- npm run start
|
||||||
- cat ${ENTRY_FOLDER}/${PACKAGE_NAME}/theme.json
|
- cat ../${ENTRY_FOLDER}/${PACKAGE_NAME}/theme.json
|
||||||
- npm run test
|
- npm run test
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -39,16 +35,6 @@ variables:
|
|||||||
when: on_success
|
when: on_success
|
||||||
expire_in: "1 hour"
|
expire_in: "1 hour"
|
||||||
|
|
||||||
manifest-job/existing_valid_theme_set:
|
|
||||||
variables:
|
|
||||||
PACKAGE_NAME: existing_valid_theme_set
|
|
||||||
extends: .manifest-job
|
|
||||||
|
|
||||||
manifest-job/valid_set:
|
|
||||||
variables:
|
|
||||||
PACKAGE_NAME: "valid_set"
|
|
||||||
extends: .manifest-job
|
|
||||||
|
|
||||||
.test-job:
|
.test-job:
|
||||||
stage: Test
|
stage: Test
|
||||||
image: python:latest
|
image: python:latest
|
||||||
@ -62,20 +48,6 @@ manifest-job/valid_set:
|
|||||||
- python -m pytest src/test_images.py --tb=line -rA --color=yes
|
- python -m pytest src/test_images.py --tb=line -rA --color=yes
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
test-images-job/existing_valid_theme_set:
|
|
||||||
needs:
|
|
||||||
- manifest-job/existing_valid_theme_set
|
|
||||||
variables:
|
|
||||||
PACKAGE_NAME: existing_valid_theme_set
|
|
||||||
extends: .test-job
|
|
||||||
|
|
||||||
test-images-job/valid_set:
|
|
||||||
needs:
|
|
||||||
- manifest-job/valid_set
|
|
||||||
variables:
|
|
||||||
PACKAGE_NAME: "valid_set"
|
|
||||||
extends: .test-job
|
|
||||||
|
|
||||||
# Jobs from here run Merged_results or Push/Merge Commits to the main branch. Tag is created on release so no run with tag creation
|
# Jobs from here run Merged_results or Push/Merge Commits to the main branch. Tag is created on release so no run with tag creation
|
||||||
.bundle-job:
|
.bundle-job:
|
||||||
stage: Bundle
|
stage: Bundle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user