From 059e124969144ab48158516300b1c80d7f0a5688 Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Mon, 4 Mar 2019 14:07:52 -0800 Subject: [PATCH 1/4] Set up CI with Azure Pipelines --- azure-pipelines.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..a1e1fe3 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,14 @@ +strategy: + matrix: + linux: + imageName: 'ubuntu-16.04' + +pool: + vmImage: $(imageName) + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + +- script: yarn && yarn test \ No newline at end of file From 78d95ffc1502a34b31d3be21ecc4d31aa71b0288 Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Mon, 4 Mar 2019 23:34:37 -0800 Subject: [PATCH 2/4] add docker compose to azure pipelines config --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a1e1fe3..6b4a121 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,4 +11,4 @@ steps: inputs: versionSpec: '10.x' -- script: yarn && yarn test \ No newline at end of file +- script: docker-compose up -d && yarn && yarn test From 294ad708498c021097c4d9e218d89ff54eb70c55 Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Sat, 27 Apr 2019 12:32:02 -0700 Subject: [PATCH 3/4] bump node version --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6b4a121..ef9d5b1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,6 +9,6 @@ pool: steps: - task: NodeTool@0 inputs: - versionSpec: '10.x' + versionSpec: '12.x' - script: docker-compose up -d && yarn && yarn test From 24b4271ca787250ff4e067022e29ceb306019b5b Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Sat, 27 Apr 2019 12:40:14 -0700 Subject: [PATCH 4/4] misc registry fix --- azure-pipelines.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ef9d5b1..830400e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,17 @@ strategy: pool: vmImage: $(imageName) +variables: + azureContainerRegistry: Contoso + azureSubscriptionEndpoint: Contoso + steps: +- task: DockerCompose@0 + displayName: Container registry login + inputs: + containerregistrytype: Azure Container Registry + azureSubscriptionEndpoint: $(azureSubscriptionEndpoint) + azureContainerRegistry: $(azureContainerRegistry) - task: NodeTool@0 inputs: versionSpec: '12.x'