Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #199 from nhsuk/feature/publish-rancer-config
Browse files Browse the repository at this point in the history
🔨 Publish Rancher-config for use in Production deploy
  • Loading branch information
st3v3nhunt authored Aug 22, 2019
2 parents c4dbb8b + 38c77a3 commit e05c479
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
20 changes: 20 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/'))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit e05c479

Please sign in to comment.