update to new ci
This commit is contained in:
		| @@ -1,35 +1,30 @@ | |||||||
| image: hosttoday/ht-docker-node:npmts | image: hosttoday/ht-docker-node:npmts | ||||||
|  |  | ||||||
| stages: | stages: | ||||||
| - test1 | - test | ||||||
| - test2 |  | ||||||
| - test3 |  | ||||||
| - release | - release | ||||||
|  | - trigger | ||||||
|  | - pages | ||||||
|  |  | ||||||
| testLEGACY: | testLEGACY: | ||||||
|   stage: test1 |   stage: test | ||||||
|   script: |   script: | ||||||
|     - npmci test legacy |     - npmci test legacy | ||||||
|   only: |  | ||||||
|     - tags |  | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|  |   allow_failure: true | ||||||
|  |  | ||||||
| testLTS: | testLTS: | ||||||
|   stage: test2 |   stage: test | ||||||
|   script: |   script: | ||||||
|     - npmci test lts |     - npmci test lts | ||||||
|   only: |  | ||||||
|     - tags |  | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|      |      | ||||||
| testSTABLE: | testSTABLE: | ||||||
|   stage: test3 |   stage: test | ||||||
|   script: |   script: | ||||||
|     - npmci test stable |     - npmci test stable | ||||||
|   only: |  | ||||||
|     - tags |  | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|  |  | ||||||
| @@ -40,4 +35,25 @@ release: | |||||||
|   only: |   only: | ||||||
|     - tags |     - tags | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|  |  | ||||||
|  | trigger: | ||||||
|  |   stage: trigger | ||||||
|  |   script: | ||||||
|  |     - npmci trigger | ||||||
|  |   only: | ||||||
|  |     - tags | ||||||
|  |   tags: | ||||||
|  |     - docker | ||||||
|  |  | ||||||
|  | pages: | ||||||
|  |   image: hosttoday/ht-docker-node:npmpage | ||||||
|  |   stage: pages | ||||||
|  |   script: | ||||||
|  |     - npmci command npmpage --publish gitlab | ||||||
|  |   only: | ||||||
|  |     - tags | ||||||
|  |   artifacts: | ||||||
|  |     expire_in: 1 week | ||||||
|  |     paths: | ||||||
|  |     - public | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user