GithubHelp home page GithubHelp logo

geoberle / aro-hcp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/aro-hcp

0.0 0.0 0.0 1.26 MB

License: Apache License 2.0

Shell 6.27% Python 10.88% Go 69.56% Makefile 3.00% Bicep 10.28%

aro-hcp's Introduction

ARO-HCP

Description

The RP for the ARO-HCP project.

Development setup

The setup is based on VSCode Remote Containers. See here for more information.

The predefined container is in .devcontainer with a custom postCreate.sh. To use it, please install the Remote - Containers extension in VSCode.

The VSCode will have the following extensions installed:

During the container setup, it also install golangci-lint, which is defacto standard for linting go.

On top of that, is sets up the Bicep CLI and the Azure CLI with Bicep extension to simplify development of infra code.

Finally, the container also contains the nodejs and sets up the typespec which is needed for the ARM contract development, as it is now mandatory to have the typespec in the ARM templates. To enable the typespec extensions, which is not yet part of official extensions, once the vscode opens and the devcontainer is ready, you need to run the following command

tsp code install

If you are developing on MacOS you will need to install both docker cli (NOT docker desktop) and colima. There have been issues with devcontainer working with vscode using podman desktop.

brew install docker
brew install colima

Before running your devcontainer, make sure colima is started.

colima start

Then, rebuild and connect to the dev container: cmd + shift + P => dev containers: rebuild container

Most importantly, the container is set up to use the same user as the host machine, so you can use the same git config and ssh keys. It is implemented as host mount in the .devcontainer/devcontainer.json file.

"mounts": [
    "source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached"
],

aro-hcp's People

Contributors

bennerv avatar dependabot[bot] avatar jharrington22 avatar katherinelc321 avatar mbarnes avatar microsoft-github-policy-service[bot] avatar mjlshen avatar petrkotas avatar s-amann avatar tonytheleg avatar ulrichschlueter avatar

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.