update versioning (#10)
This commit is contained in:
Родитель
962565f7f9
Коммит
fc291660e3
|
@ -6,8 +6,9 @@ trigger:
|
|||
|
||||
variables:
|
||||
versionNumber: 1.0.0
|
||||
imageTag: 'v1.0'
|
||||
imageTag: 'v1.0.0'
|
||||
imageTagWithBuildDate: $(imageTag)-$(Build.BuildNumber)
|
||||
imageTagLatest: 'v1.latest'
|
||||
|
||||
stages:
|
||||
- template: stages/build/build.yml
|
|
@ -39,6 +39,7 @@ steps:
|
|||
# Create files with version information that will be used in the release pipeline
|
||||
- script: echo $(imageTag) > src/APIService/ApiService/bin/release/netcoreapp3.1/linux-musl-x64/publish/imageTag.txt
|
||||
- script: echo $(imageTagWithBuildDate) > src/APIService/ApiService/bin/release/netcoreapp3.1/linux-musl-x64/publish/imageTagWithBuildDate.txt
|
||||
- script: echo $(imageTagLatest) > src/APIService/ApiService/bin/release/netcoreapp3.1/linux-musl-x64/publish/imageTagLatest.txt
|
||||
|
||||
- task: PublishPipelineArtifact@1
|
||||
inputs:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"container" : "{PrivateRegistryRestler}/restapifuzztesting/restler-agent:v1.0",
|
||||
"container" : "{PrivateRegistryRestler}/restapifuzztesting/restler-agent:v1.latest",
|
||||
"run" : {
|
||||
"command" : "/bin/sh",
|
||||
"arguments" : ["-c",
|
||||
|
|
|
@ -132,7 +132,7 @@ class RaftDefinitions():
|
|||
self.service_bus = f"{self.deployment}-raft-servicebus"
|
||||
self.app_insights = f"{self.deployment}-raft-ai"
|
||||
self.asp = f"{self.deployment}-raft-asp"
|
||||
self.container_tag = "v1.0"
|
||||
self.container_tag = "v1.latest"
|
||||
self.queues = {
|
||||
'job_events': "raft-jobevents",
|
||||
'create_queue': "raft-jobcreate",
|
||||
|
|
Загрузка…
Ссылка в новой задаче