Verified Commit dc1e832a authored by Ray Walker's avatar Ray Walker
Browse files

Merge branch 'release/v1.2.1'

parents 20b45461 b1b87e39
Pipeline #27982 passed with stage
in 2 minutes
......@@ -4,26 +4,16 @@ variables:
PRODUCTION_PROJECT: global-data-resources
TESTING_PROJECT: global-data-resources
REGION: europe-west1
TF_IN_AUTOMATION: "true"
# SAST_DISABLE_DIND: "true"
stages:
# - lint
# - test
# - analysis
- deploy
- release
# - trigger
# include:
# - template: Dependency-Scanning.gitlab-ci.yml
# - template: SAST.gitlab-ci.yml
.make_dependencies: &make_dependencies
tags:
- Global Data
image:
name: greenpeaceinternational/gitlab-data-civis-deployer:5135233.1597664270
name: greenpeaceinternational/gitlab-data-civis-deployer:latest
before_script:
- gcloud auth activate-service-account --key-file $SERVICE_ACCOUNT
- export GOOGLE_APPLICATION_CREDENTIALS=$SERVICE_ACCOUNT
......@@ -31,93 +21,6 @@ stages:
- gcloud config set functions/region $REGION
- make install
# lint:
# <<: *make_dependencies
# stage: lint
# only:
# - merge_requests
# - branches
# except:
# - master
# script:
# - make lint
# test-jest:
# <<: *make_dependencies
# stage: test
# variables:
# PROJECT: $TESTING_PROJECT
# script:
# - make test
# only:
# - merge_requests
# - branches
# except:
# - master
# allow_failure: true
# test-snyk:
# <<: *make_dependencies
# stage: test
# variables:
# PROJECT: $TESTING_PROJECT
# script:
# - make snyk
# only:
# - merge_requests
# - branches
# except:
# - master
# test-coverage:
# <<: *make_dependencies
# stage: test
# variables:
# PROJECT: $TESTING_PROJECT
# artifacts:
# name: "$CI_JOB_NAME:coverage"
# expire_in: 1 weeks
# paths:
# - src/coverage/
# script:
# - make coverage
# only:
# - merge_requests
# - branches
# except:
# - master
# allow_failure: true
# test-fossa:
# <<: *make_dependencies
# stage: test
# variables:
# PROJECT: $TESTING_PROJECT
# script:
# - make fossa
# only:
# - merge_requests
# - branches
# except:
# - master
# check-sonarqube:
# stage: analysis
# variables:
# SONAR_HOST_URL: "https://sonarqube.p4.greenpeace.org"
# image:
# name: sonarsource/sonar-scanner-cli:latest
# entrypoint: [""]
# before_script:
# - git fetch --unshallow || true
# script:
# - sonar-scanner
# only:
# - merge_requests
# - branches
# except:
# - master
deploy:
<<: *make_dependencies
stage: deploy
......@@ -145,14 +48,3 @@ release:
- develop
script:
- make release
# trigger:
# stage: trigger
# variables:
# DEPLOYMENT: example
# <<: *make_dependencies
# only:
# - /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$/
# - develop
# script:
# - make trigger-${DEPLOYMENT}
......@@ -21,7 +21,7 @@ from cached_property_decorator import cached_property
# from google.api_core import retry
APP_NAME = "bq-gcs"
APP_VERSION = "1.2.0"
APP_VERSION = "1.2.1"
RELEASE_STRING = "{}@{}".format(APP_NAME, APP_VERSION)
BUCKET = environ["BUCKET"]
......
google-cloud-bigquery
google-cloud-pubsub
google-cloud-secret-manager
google-cloud-secret-manager<2
google-cloud-storage
sentry_sdk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment