diff --git a/CHANGELOG.md b/CHANGELOG.md index 934a16ed..50e9d501 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ -0.22.0 / TBC +0.23.0 / TBC =================== +- Enable deployment to Production via DevOps + +0.22.0 / N/A +============ - Remove the specific version of python from the Dockerfile - Update npm dependencies - Upgrade container to run latest LTS version of node diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2c462421..ddfd0243 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -70,6 +70,26 @@ stages: - bash: ./scripts/devops/push-image displayName: 'Push image to Docker Hub' + - job: PublishRancherConfig + dependsOn: RunTests + condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) + displayName: 'Publish Rancher config for use in deployment to Production' + pool: + vmImage: 'Ubuntu 16.04' + steps: + - publish: $(System.DefaultWorkingDirectory)/rancher-config/ + artifact: rancher-config + + - job: PublishScripts + dependsOn: RunTests + condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) + displayName: 'Publish scripts so they can be used in deployment to Production' + pool: + vmImage: 'Ubuntu 16.04' + steps: + - publish: $(System.DefaultWorkingDirectory)/scripts/devops/ + artifact: scripts + - stage: deployReviewEnvironment displayName: 'Deploy to Review Environment' condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/pull/')) diff --git a/package.json b/package.json index 1676fa50..4aeb0617 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sexual-health-service-finder", - "version": "0.22.0", + "version": "0.23.0", "description": "Helping to connect people to sexual health services.", "main": "app.js", "scripts": {