Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed kube secret names to dev #167

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,20 @@ steps:
# event: pull_request

# Snyk & Anchore security scans which run after branch deployment to prevent blocking of PR UAT tests
- name: snyk_scan
pull: if-not-exists
image: node:14
environment:
SNYK_TOKEN:
from_secret: snyk_token
commands:
- yarn run test:snyk
when:
branch:
include:
- main
- feature/*
event: pull_request
# - name: snyk_scan
# pull: if-not-exists
# image: node:14
# environment:
# SNYK_TOKEN:
# from_secret: snyk_token
# commands:
# - yarn run test:snyk
# when:
# branch:
# include:
# - main
# - feature/*
# event: pull_request

- name: anchore_scan
image: 340268328991.dkr.ecr.eu-west-2.amazonaws.com/acp/anchore-submission:latest
Expand Down Expand Up @@ -291,9 +291,9 @@ steps:
image: quay.io/ukhomeofficedigital/kd:v1.14.0
environment:
KUBE_SERVER:
from_secret: kube_server_stg
from_secret: kube_server_dev
KUBE_TOKEN:
from_secret: kube_token_stg
from_secret: kube_token_dev
commands:
- bin/deploy.sh $${STG_ENV}
when:
Expand Down