Browse Source

update all builds to push the multiarch manifest

pull/1055/head
eiximenis 5 years ago
parent
commit
ad7d33968f
15 changed files with 82 additions and 13 deletions
  1. +6
    -1
      build/azure-devops/basket-api/azure-pipelines.yml
  2. +6
    -1
      build/azure-devops/catalog-api/azure-pipelines.yml
  3. +5
    -0
      build/azure-devops/identity-api/azure-pipelines.yml
  4. +6
    -1
      build/azure-devops/location-api/azure-pipelines.yml
  5. +6
    -1
      build/azure-devops/marketing-api/azure-pipelines.yml
  6. +5
    -0
      build/azure-devops/mobile-shopping-agg/azure-pipelines.yml
  7. +0
    -1
      build/azure-devops/multiarch.yaml
  8. +6
    -1
      build/azure-devops/ordering-api/azure-pipelines.yml
  9. +6
    -1
      build/azure-devops/payment-api/azure-pipelines.yml
  10. +6
    -1
      build/azure-devops/web-shopping-agg/azure-pipelines.yml
  11. +6
    -1
      build/azure-devops/webhooks-api/azure-pipelines.yml
  12. +6
    -1
      build/azure-devops/webhooks-client/azure-pipelines.yml
  13. +6
    -1
      build/azure-devops/webmvc/azure-pipelines.yml
  14. +6
    -1
      build/azure-devops/webspa/azure-pipelines.yml
  15. +6
    -1
      build/azure-devops/webstatus/azure-pipelines.yml

+ 6
- 1
build/azure-devops/basket-api/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: basket.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/catalog-api/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: catalog.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 5
- 0
build/azure-devops/identity-api/azure-pipelines.yml View File

@ -73,3 +73,8 @@ jobs:
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: identity.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/location-api/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: locations.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/marketing-api/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: marketing.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 5
- 0
build/azure-devops/mobile-shopping-agg/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: mobileshoppingagg
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 0
- 1
build/azure-devops/multiarch.yaml View File

@ -17,7 +17,6 @@ jobs:
- bash: |
mkdir -p ~/.docker
echo '{ "experimental": "enabled" }' > ~/.docker/config.json
docker login -u $(DOCKER_USER) -p $(DOCKER_PASSWORD)
docker --config ~/.docker manifest create eshop/${{ parameters.image }}:${{ parameters.branch }} eshop/${{ parameters.image }}:linux-${{ parameters.branch }} eshop/${{ parameters.image }}:win-${{ parameters.branch }}
docker --config ~/.docker manifest create eshop/${{ parameters.image }}:latest eshop/${{ parameters.image }}:linux-latest eshop/${{ parameters.image }}:win-latest
displayName: 'Create Manifest'


+ 6
- 1
build/azure-devops/ordering-api/azure-pipelines.yml View File

@ -74,4 +74,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: ordering.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/payment-api/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: payment.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/web-shopping-agg/azure-pipelines.yml View File

@ -71,4 +71,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: webshoppingagg
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/webhooks-api/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: webhooks.api
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/webhooks-client/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)v
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: webhooks.client
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/webmvc/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: webmvc
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/webspa/azure-pipelines.yml View File

@ -74,4 +74,9 @@ jobs:
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
NODE_IMAGE=stefanscherer/node-windows:8.11
NODE_IMAGE=stefanscherer/node-windows:8.11
- template: ../multiarch.yaml
parameters:
image: webspa
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

+ 6
- 1
build/azure-devops/webstatus/azure-pipelines.yml View File

@ -72,4 +72,9 @@ jobs:
projectName: ""
dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName)
PLATFORM=win
PLATFORM=win
- template: ../multiarch.yaml
parameters:
image: webstatus
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)

Loading…
Cancel
Save