.gitlab-ci.yml 2 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
6

Prasanna Hinge's avatar
Prasanna Hinge committed
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,GOOGLE_AUDIENCES=$GOOGLE_AUDIENCE,PARTITION_API=$OSDU_GCP_PARTITION_API --vpc-connector=$OSDU_GCP_VPC_CONNECTOR
16
  OSDU_GCP_TEST_SUBDIR: testing/$OSDU_GCP_SERVICE-test-$OSDU_GCP_VENDOR
17

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

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

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

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

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

40

41
42
43
44
45
46
# 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
47
48
49
50

osdu-gcp-test:
  variables:
    STORAGE_BASE_URL: $OSDU_GCP_STORAGE_URL
51
    LEGAL_BASE_URL: $OSDU_GCP_LEGALTAG_API/
52
    DATASET_BASE_URL: $OSDU_GCP_DATASET_URL
53
54
55
    SCHEMA_API: $OSDU_GCP_SCHEMA_URL/api/schema-service/v1
    PROVIDER_KEY: GCP
    KIND_SUBTYPE: DatasetTest
56
    LEGAL_TAG: datatest-int-tag