Skip to content

Commit

Permalink
Use variable group for secrets in CI/release (#46)
Browse files Browse the repository at this point in the history
* Use variable group for secrets in CI/release

* Remove infra and move to variable group as well
  • Loading branch information
tomkerkhove authored and stijnmoreels committed Jan 21, 2020
1 parent 7c06880 commit 3bf423b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
9 changes: 1 addition & 8 deletions build/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,13 @@ resources:
endpoint: arcus-azure

# 'Package.Version.ManualTrigger' is added as queue-time variable on build in Azure DevOps
# 'Arcus.ServiceBus.ConnectionStringWithQueue' is added as secret variable on build in Azure DevOps
# 'Arcus.ServiceBus.ConnectionStringWithTopic' is added as secret variable on build in Azure DevOps
# 'Arcus.TestInfra.ServiceBus.Topic.ConnectionString' is added as secret variable on build in Azure DevOps
# 'Arcus.TestInfra.EventGrid.Auth.Key' is added as secret variable on build in Azure DevOps
variables:
- group: 'Arcus Messaging - Integration Testing'
- group: 'Arcus - GitHub Package Registry'
- group: 'Arcus Messaging - .NET'
- group: 'Build Configuration'
- name: 'Project'
value: 'Arcus.Messaging'
- name: 'Arcus.TestInfra.EventGrid.Topic.Uri'
value: 'https://arcus-event-grid-dev-we-integration-tests.westeurope-1.eventgrid.azure.net/api/events'
- name: 'Arcus.TestInfra.ServiceBus.Topic.Name'
value: 'received-event-grid-events' # We are re-using the Event Grid integration infrastructure

stages:
- stage: Build
Expand Down
3 changes: 1 addition & 2 deletions build/nuget-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ resources:
endpoint: arcus-azure

variables:
- group: 'Arcus Messaging - Integration Testing'
- group: 'Arcus Security - Integration Testing'
- group: 'Arcus - GitHub Package Registry'
- group: 'Arcus Messaging - .NET'
- group: 'Build Configuration'
- name: 'Project'
value: 'Arcus.Messaging'
# 'Package.Version' is added as queue-time variable on build in Azure DevOps
# 'Arcus.ServiceBus.ConnectionStringWithQueue' is added as secret variable on build in Azure DevOps
# 'Arcus.ServiceBus.ConnectionStringWithTopic' is added as secret variable on build in Azure DevOps

stages:
- stage: Build
Expand Down

0 comments on commit 3bf423b

Please sign in to comment.