From fc291660e3ff780daea5e993056174c5de6bd833 Mon Sep 17 00:00:00 2001 From: Marc Greisen Date: Fri, 23 Oct 2020 12:30:55 -0700 Subject: [PATCH] update versioning (#10) --- ado/production-build.yml | 3 ++- ado/stages/build/steps/apiservice.yml | 1 + cli/raft-utils/tools/RESTler/config.json | 2 +- cli/raft_sdk/raft_common.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ado/production-build.yml b/ado/production-build.yml index 68de8c4..7bb5118 100644 --- a/ado/production-build.yml +++ b/ado/production-build.yml @@ -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 \ No newline at end of file diff --git a/ado/stages/build/steps/apiservice.yml b/ado/stages/build/steps/apiservice.yml index 898d612..ab41c28 100644 --- a/ado/stages/build/steps/apiservice.yml +++ b/ado/stages/build/steps/apiservice.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: diff --git a/cli/raft-utils/tools/RESTler/config.json b/cli/raft-utils/tools/RESTler/config.json index eec5fc3..6fdb526 100644 --- a/cli/raft-utils/tools/RESTler/config.json +++ b/cli/raft-utils/tools/RESTler/config.json @@ -1,5 +1,5 @@ { - "container" : "{PrivateRegistryRestler}/restapifuzztesting/restler-agent:v1.0", + "container" : "{PrivateRegistryRestler}/restapifuzztesting/restler-agent:v1.latest", "run" : { "command" : "/bin/sh", "arguments" : ["-c", diff --git a/cli/raft_sdk/raft_common.py b/cli/raft_sdk/raft_common.py index f6bd754..b92b6f8 100644 --- a/cli/raft_sdk/raft_common.py +++ b/cli/raft_sdk/raft_common.py @@ -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",