Git Product home page Git Product logo

google-cloud-tfs's Introduction

Build status codecov

GcpLogo Cloud Tools for Team Foundation Server

This repository contains an extension for Team Foundation server and Visual Studio Team Services. The extension provides a new service endpoint and several build tasks for interacting with Google Cloud Platform.

Installation

This extension is in private alpha. Approved users can get the latest version on the Visual Studio Marketplace. Anyone can get the source and package of the latest release from GitHub Releases. The latest development version is available from AppVeyor.

You can build the vsix package from source, and then upload and install the extension from the extension management page of TFS.

Documentation

For Documentation on using the extension, see DETAILS.md

Support

Issues are tracked on GitHub. Questions can be asked on StackOverflow

Build

Prerequisites

  • PowerShell: Installed by default on modern windows platforms.
  • Node.js: Download and install from the website.
  • npm: Installed along with Node.js.
  • TypeScript: Install with npm install -g typescript
  • tfx: The tfs cli. Install with npm install -g tfx-cli
  • mocha: A JavaScript test runner. npm install -g mocha
  • ts-node: Used by mocha to run TypeScript directly. npm install -g ts-node
  • nyc: The Istanbul code coverage tool. Install with npm install -g nyc

Build Script

Execute build script ./build/BuildExtension.ps1. It will download needed modules, build the common files and build tasks, and then package everything into ./bin/Google Cloud Tools.google-cloud-tfs-<version>.vsix.

Contributing

See our Contributing guide

google-cloud-tfs's People

Contributors

benwulfe avatar iantalarico avatar omeshp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

google-cloud-tfs's Issues

Google container builder task cannot find gcloud

I am using the vsts google container builder task inside my build pipeline.
I am running this task on a Hosted Linux preview vsts agent.

The container builder task fails to find gcloud on the agent machine.

 ##[error]Failed which: Not found gcloud: null

I also tried installing gcloud on the agent using the installer and adding gcloud to the PATH

curl https://sdk.cloud.google.com | bash
source /root/google-cloud-sdk/path.bash.inc

Container builder tasks fails to find gcloud.

Install CloudSDK task is slow.

My build process took 3.4 minutes, installing gcloud tools took 1.7 minutes. Is there a way to make it slimmer version for VSTS?

Add new Google Cloud Platform connection fails

When I try to add a service endpoint in VSTS, after supplying the required info and JSON key, it fails with the following error message:
screen shot 2017-09-04 at 21 40 48
Not sure what else might be relevant info, feel free to reach me to provide more details.

Push docker image to Registry

Hi

Thank you for this tfs extension. I have one question.

For Azure I had on my tfs configured Build Definition where I have built .net core solution with Docker Compose and push all images to the Azure Registry (based on the template named ASP.NET with Containers).

Is it possible to configure similar Build Definition with your extension without using Google Cloud Container Builder, but only using GCP connection and Docker compose to push all images to Google Registry?

Thank you for answers in advance!

Task to execute gcloud command line

The credential file is generated while executing the tasks allowing to connect to the appropriate project.
We are currently limited to the pre-defined tasks.
It would be very helpful to have a task allowing to execute any gcloud command (which generate the credential file on the fly) to expand the possibility of this plugin.

Use release version of the GAE deploy tool

Deployment to GAE currently use by default the beta version of the deploy tool.
It would be better (i guess) to use by default the release version of the tool and have a check box allowing to specify the use of the alpha or beta version when available.

This could be applicable to any other custom tasks.

gcloud container builder task

When I try to use the container builder vsts task I see that the following command gets executed.

gcloud container builds submit \
--quiet \
--format=json --project="project" \
--credential-file-override="/opt/vsts/work/1/s/tempKeyFile.json" \
"/opt/vsts/work/1/a" \
--tag="sometag"

gcloud does not have a credential-file-override argument as per the latest documentation.

Am I missing out something ?

IS THIS PROJECT DEAD?

There are people using Azure Devops Pipeline and Google Cloud. Will there be any releases soon?

Linux / MacOS build agents not supported

The "Install Google Cloud SDK" build step does not seem supported on non-windows agents.

I have also tested installing the GCloud SDK manually inside a Linux build agent and cannot make the 'kubectl command' step work either.

I am re-testing my steps on the Windows Hosted build agent to confirm it is an issue purely with the OS of the agent.

Can you confirm that only Windows agents are supported? Otherwise I will be happy to report inside of this ticket any further findings on this.

Also the markdown page https://github.com/GoogleCloudPlatform/google-cloud-tfs/blob/master/DETAILS.md contains a broken link to https://cloud.google.com/tools/cloud-tools-tfs/docs/community

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.