.gitlab-ci.yml 2.18 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
Matt Wise's avatar
Matt Wise committed
6
7
  AWS_DEPLOY_TARGET: EKS
  AWS_EKS_DEPLOYMENT_NAME: os-dataset
8

Prasanna Hinge's avatar
Prasanna Hinge committed
9
  IBM_BUILD_SUBDIR: provider/dataset-ibm
10

11
12
13
14
15
16
   # --- 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
17
  OSDU_GCP_ENV_VARS: AUTHORIZE_API=$OSDU_GCP_ENTITLEMENTS_V2_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,GOOGLE_AUDIENCES=$GOOGLE_AUDIENCE,PARTITION_API=$OSDU_GCP_PARTITION_API --vpc-connector=$OSDU_GCP_VPC_CONNECTOR
18
  OSDU_GCP_TEST_SUBDIR: testing/$OSDU_GCP_SERVICE-test-$OSDU_GCP_VENDOR
19

20
21
22
23
24
25
26
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
27
  - project: "osdu/platform/ci-cd-pipelines"
28
    file: "scanners/fossa-maven.yml"
29
30

  - project: 'osdu/platform/ci-cd-pipelines'
31
32
33
34
    file: 'cloud-providers/aws-global.yml'

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

Prasanna Hinge's avatar
Prasanna Hinge committed
36
  - project: "osdu/platform/ci-cd-pipelines"
Walter D's avatar
Walter D committed
37
    ref: "ibm-ubi8-java"
Prasanna Hinge's avatar
Prasanna Hinge committed
38
    file: "cloud-providers/ibm-deploy-only.yml"
39

Matt Wise's avatar
Matt Wise committed
40
41
  - project: "osdu/platform/ci-cd-pipelines"
    file: "scanners/gitlab-ultimate.yml"
42

43
44
  - project: 'osdu/platform/ci-cd-pipelines'
    file: 'cloud-providers/osdu-gcp-cloudrun.yml'
45

46

47
48
49
50
51
52
# 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
53
54
55
56

osdu-gcp-test:
  variables:
    STORAGE_BASE_URL: $OSDU_GCP_STORAGE_URL
57
    LEGAL_BASE_URL: $OSDU_GCP_LEGALTAG_API/
58
    DATASET_BASE_URL: $OSDU_GCP_DATASET_URL
59
60
61
    SCHEMA_API: $OSDU_GCP_SCHEMA_URL/api/schema-service/v1
    PROVIDER_KEY: GCP
    KIND_SUBTYPE: DatasetTest
62
    LEGAL_TAG: datatest-int-tag