Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kdaveid
Last active July 4, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdaveid/c747905d1dcf7430eadee438ac5fc073 to your computer and use it in GitHub Desktop.
Save kdaveid/c747905d1dcf7430eadee438ac5fc073 to your computer and use it in GitHub Desktop.
services:
webapp:
image: my-image:__RELEASE_ARTIFACTS_BACKEND_BUILDNUMBER__
environment:
ASPNETCORE_ENVIRONMENT: Docker
ASPNETCORE_URLS: http://+:80
ConnectionStrings__DefaultConnection: Server=backend-mssql;Database=MSP_DEV;Initial Catalog=MSP_DEV;Persist Security Info=False;User ID=__MSSQL_BKND_USR__;Password=__MSSQL_BKND_PSW__;Encrypt=True;MultipleActiveResultSets=True;Connection Timeout=30;TrustServerCertificate=True
MORE__OVERRIDES: __THIS_WOULD_WORK__
# ...
# Within the connection string the Tokenizer sees the following string "__MSSQL_BKND_USR__;Password=__MSSQL_BKND_PSW__" as a single token. Hence the output (see below).
2019-07-03T14:06:45.2353727Z ##[section]Starting: Tokenizer
2019-07-03T14:06:45.2360161Z ==============================================================================
2019-07-03T14:06:45.2360435Z Task : Tokenizer
2019-07-03T14:06:45.2360612Z Description : Task to replace tokens in files.
2019-07-03T14:06:45.2360809Z Version : 0.1.12
2019-07-03T14:06:45.2360967Z Author :
2019-07-03T14:06:45.2361209Z Help : [More Information](http://www.4tecture.ch)
2019-07-03T14:06:45.2361403Z ==============================================================================
2019-07-03T14:06:45.7701460Z Checking for tokens in /home/serveradmin/myagent/_work/r46/a/Backend/compose-files/combined.yml
2019-07-03T14:06:45.7708708Z 15 tokens found in in /home/serveradmin/myagent/_work/r46/a/Backend/compose-files/combined.yml
2019-07-03T14:06:45.7713655Z DataProviderEnvironmentVariables: 15 tokens found.
2019-07-03T14:06:45.7717342Z DataProviderEnvironmentVariables: 8 unique tokens found.
2019-07-03T14:06:45.7728310Z DataProviderEnvironmentVariables: No environment variable value found for the token __MSSQL_BKND_USR__;Password=__MSSQL_BKND_PSW__. The token replacement is ignored due to disabled option 'setBlankIfValueNotRetrieved').
2019-07-03T14:06:45.7734427Z DataProviderEnvironmentVariables: No environment variable value found for the token __TIMESCALE_USR__;Password=__TIMESCALE_PSW__. The token replacement is ignored due to disabled option 'setBlankIfValueNotRetrieved').
2019-07-03T14:06:45.7747256Z DataProviderEnvironmentVariables: No environment variable value found for the token __TIMESCALE_USR__;Password=__TIMESCALE_PSW__;Database=__TIMESCALE_DBNAME__. The token replacement is ignored due to disabled option 'setBlankIfValueNotRetrieved').
2019-07-03T14:06:45.7784331Z DataProviderEnvironmentVariables: 5 tokens with matching values.
2019-07-03T14:06:45.7788894Z Replacing __MSSQL_BKND_DBNAME__ with value ***
2019-07-03T14:06:45.7793206Z Replacing __SWIBI_FTP_PSW__ with value ***
2019-07-03T14:06:45.7797255Z Replacing __SWIBI_FTP_USR__ with value ***
2019-07-03T14:06:45.7801470Z Replacing __RELEASE_ARTIFACTS_BACKEND_BUILDNUMBER__ with value 20190703.8
2019-07-03T14:06:45.7805570Z Replacing __RELEASE_ARTIFACTS_PROCESSING_BUILDNUMBER__ with value 20190703.7
2019-07-03T14:06:45.7945567Z File /home/serveradmin/myagent/_work/r46/a/Backend/compose-files/combined.yml updated with new content.
2019-07-03T14:06:45.8029043Z ##[section]Finishing: Tokenizer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment