-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
74 lines (63 loc) · 1.77 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# include:
# - local: '.gitlab-ci-template.yml'
# - project: clops/gitlab-ci-pop-analysis
# ref: master
# file: pop_analysis.yaml
# - project: releng/common-gitlab-ci
# ref: master
# file: sbom-generate.yml
# - project: altair/altair-build-common
# ref: master
# file: gitlab/ci/altair_versioning.yml
# - project: altair/altair-build-common
# ref: master
# file: gitlab/ci/altair_common.yml
# - project: qa-automation/test-integrations
# ref: main
# file: _ci/e2e_azure.yml
# List of job stages in their order of execution.
stages:
# - build
# - unit_test_and_coverage
- test-publish
variables:
# BUILD_TOOL: npm
# GIT_DEPTH: 10
# BD_PRODUCT_GROUP: PolarisNG Projects Group
# BD_VERSION_PHASE: DEVELOPMENT
PUBLISHER_ID: test
ORG_NAME : test
# TESTNG_FAILED_XML: test-output/testng-failed.xml
# DISABLE_POLARIS_CLASSIC_ANALYSIS: "true"
AZURE_TOKEN: $azure_token
##### MERGE REQUEST PIPELINE #####
image: node:20
test-publish:
stage: test-publish
tags:
- linux
before_script:
- apt-get update && apt-get install -y ca-certificates gnupg uuid-runtime jq
- curl -sL https://deb.nodesource.com/setup_20.x | bash
- apt-get install -y nodejs
- npm install -g [email protected]
- node -v
- npm version
# - npm install -g tfx-cli
variables:
PUBLISHER_ID: "TestCIPub"
ORG_NAME: "synopsys-extension-testing"
script:
- echo $PUBLISHER_ID
- echo $ORG_NAME
- npm i -g tfx-cli
- tfx extension publish --publisher TestCIPub --manifest-globs vss-extension.json --token ${AZURE_TOKEN}
# build:
# extends:
# - .build
# stage: build
# unit_test_and_coverage_job:
# stage: unit_test_and_coverage
# extends:
# - .unit_test_and_coverage
# dependencies: [build_job]