Giter VIP home page Giter VIP logo

myshop's Introduction

Summary

This repo contains a demo application developped with ASP.NET Core 1.0 that can run on Windows, Linux, using Docker containers or Azure Service Fabric.

MyShop running on Azure Container Service using Linux containers

The different scenarios are in the different branches of this repo:

For an overview of a full CI/CD pipeline using Docker container on Linux and Azure, see this blog post

Feel free to contact me on Twitter for any question -> @jcorioland

myshop's People

Contributors

jcorioland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

myshop's Issues

Throwing below error in VSTS release

2017-04-24T19:12:15.6634033Z docker login XXXXX.azurecr.io -u USERNAME -p PASSWORD && export DOCKER_HOST=:2375 && docker-compose pull && docker-compose stop & docker-compose rm -f && docker-compose up -d
2017-04-24T19:12:16.4602786Z Login Succeeded
2017-04-24T19:12:16.4602786Z
2017-04-24T19:12:16.4759035Z No stopped containers
2017-04-24T19:12:16.4759035Z
2017-04-24T19:12:16.9134122Z
2017-04-24T19:12:16.9134122Z ##[error]Pulling shop (RegistryUrl/myshop/front:115)...
2017-04-24T19:12:16.9134122Z
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z ##[error]Creating network "deploy_myshop" with driver "overlay"
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z ##[error]invalid reference format: repository name must be lowercase
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9290373Z ##[error]datastore for scope "global" is not initialized
2017-04-24T19:12:16.9290373Z
2017-04-24T19:12:16.9602794Z ##[error]Command cd deploy
2017-04-24T19:12:17.0072429Z ##[section]Finishing: Run shell commands on remote machine

Running shell command fails

First off...great tutorial and example.

I am running into some trouble running the ssh commands during the release process. I connected my Synology running docker to VSTS via SSH. If I try and run any docker command it fails with command not found. If i login locally with ssh and run docker version for example everything works great.

Any hint on what the problem could be?

Output of VSTS Shell Command Task

2017-03-01T22:35:29.0837976Z Trying to setup SSH connection to ********@*********.synology.me:22
2017-03-01T22:35:29.0847986Z docker version 
2017-03-01T22:35:29.0847986Z  
2017-03-01T22:35:29.0947708Z ##[error]ash: docker: command not found 
2017-03-01T22:35:29.0947708Z  
2017-03-01T22:35:29.0957750Z ##[error]Command docker version exited with code 127. 
2017-03-01T22:35:29.1028076Z ##[section]Finishing: Run shell commands on remote machine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.