Skip to content

Commit

Permalink
Merge pull request #722 from hmcts/RDCC-6200-new
Browse files Browse the repository at this point in the history
[RDCC-6200] Fix for delete functional test user
  • Loading branch information
manukundloo-hmcts authored May 16, 2023
2 parents 46e3b15 + c4fa8e7 commit afcdeef
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Jenkinsfile_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
properties([
pipelineTriggers([cron('21 01 * * *')]), // scheduling to trigger jenkins job
parameters([
string(name: 'ENVIRONMENT', defaultValue: 'aat', description: 'Environment to test'),
string(name: 'URL_TO_TEST', defaultValue: 'http://rd-caseworker-ref-api-aat.service.core-compute-aat.internal', description: 'The URL you want to run these tests against'),
string(name: 'SecurityRules',
defaultValue: 'http://raw.githubusercontent.com/hmcts/security-test-rules/master/conf/security-rules.conf',
Expand All @@ -22,7 +23,12 @@ def secrets = [
'rd-${env}': [
secret('CA-REF-OAUTH2-CLIENT-SECRET', 'CA_REF_OAUTH2_CLIENT_SECRET'),
secret('CA-REF-OAUTH2-CLIENT-ID', 'CA_REF_OAUTH2_CLIENT_ID'),
secret('LD-SDK-KEY', 'LD_SDK_KEY')
secret('LD-SDK-KEY', 'LD_SDK_KEY'),
secret('caseworker-ref-api-POSTGRES-HOST', 'FUNC_DATABASE_HOST'),
secret('caseworker-ref-api-POSTGRES-PASS', 'FUNC_DATABASE_PASS'),
secret('caseworker-ref-api-POSTGRES-USER', 'FUNC_DATABASE_USER'),
secret('caseworker-ref-api-POSTGRES-DATABASE', 'FUNC_DATABASE_NAME'),
secret('caseworker-ref-api-POSTGRES-PORT', 'FUNC_DATABASE_PORT')
]
]

Expand All @@ -40,6 +46,13 @@ def vaultOverrides = [
'spreview': 'saat'
]


import uk.gov.hmcts.contino.AppPipelineConfig

def subscription = "nonprod"
def config = new AppPipelineConfig()
config.vaultSecrets = secrets

withNightlyPipeline(type, product, component) {

env.S2S_URL_FOR_TESTS = "http://rpe-service-auth-provider-aat.service.core-compute-aat.internal"
Expand Down

0 comments on commit afcdeef

Please sign in to comment.