.gitlab-ci.yml 1.89 KB
Newer Older
1
variables:
Matt Wise's avatar
Matt Wise committed
2
3
4
  AWS_BUILD_SUBDIR: provider/dataset-aws/build-aws
  AWS_TEST_SUBDIR: testing/dataset-test-aws
  AWS_SERVICE: dataset
5
  AWS_ENVIRONMENT: dev
Prasanna Hinge's avatar
Prasanna Hinge committed
6
7
  
  IBM_BUILD_SUBDIR: provider/dataset-ibm
8

9
10
11
12
13
14
   # --- osdu-gcp specific variables ---
  OSDU_GCP_SERVICE: dataset
  OSDU_GCP_VENDOR: gcp
  OSDU_GCP_APPLICATION_NAME: os-dataset
  OSDU_GCP_FILE_DMS_BUCKET: "file-dms-bucket"
  OSDU_GCP_EXPIRATION_DAYS: 1
15
  OSDU_GCP_ENV_VARS: AUTHORIZE_API=$OSDU_GCP_ENTITLEMENTS_URL,GCP_STORAGE_API=$OSDU_GCP_STORAGE_URL,GCP_SCHEMA_API=$OSDU_GCP_SCHEMA_URL/api/schema-service/v1,FILE_DMS_BUCKET=$OSDU_GCP_FILE_DMS_BUCKET,EXPIRATION_DAYS=$OSDU_GCP_EXPIRATION_DAYS,REDIS_GROUP_HOST=$REDIS_GROUP_HOST,REDIS_GROUP_PORT=$OSDU_GCP_REDIS_SEARCH_PORT --vpc-connector=$OSDU_GCP_VPC_CONNECTOR
16

17
18
19
20
21
22
23
include:
  - project: "osdu/platform/ci-cd-pipelines"
    file: "standard-setup.yml"

  - project: "osdu/platform/ci-cd-pipelines"
    file: "build/maven.yml"

Matt Wise's avatar
Matt Wise committed
24
25
  - project: "osdu/platform/ci-cd-pipelines"
    file: "scanners/fossa.yml"
26
27
28
29

  - project: 'osdu/platform/ci-cd-pipelines'
    file: 'cloud-providers/aws.yml'

Prasanna Hinge's avatar
Prasanna Hinge committed
30
31
  - project: "osdu/platform/ci-cd-pipelines"
    file: "cloud-providers/ibm-deploy-only.yml"
32

Matt Wise's avatar
Matt Wise committed
33
34
  - project: "osdu/platform/ci-cd-pipelines"
    file: "scanners/gitlab-ultimate.yml"
35

36
37
38
39
  - project: 'osdu/platform/ci-cd-pipelines'
    file: 'cloud-providers/osdu-gcp-cloudrun.yml'
  

40
41
42
43
44
45
# disable the eslint scanner
# I think this is being generated from the presence of an HTML file, but there
# is no javascript to scan, so the job isn't helpful and just gets in the way
eslint-sast:
  rules:
    - when: never
46
47
48
49

osdu-gcp-test:
  variables:
    STORAGE_BASE_URL: $OSDU_GCP_STORAGE_URL
50
    LEGAL_BASE_URL: $OSDU_GCP_LEGALTAG_API/
51
    DATASET_BASE_URL: https://os-dataset-attcrcktoa-uc.a.run.app/api/dataset/v1/
52
53
54
    SCHEMA_API: $OSDU_GCP_SCHEMA_URL/api/schema-service/v1
    PROVIDER_KEY: GCP
    KIND_SUBTYPE: DatasetTest
55
    LEGAL_TAG: datatest-int-tag