Code Monkey home page Code Monkey logo

openhack-devops-team's Introduction

page_type languages products description urlFragment
sample
csharp
java
go
javascript
powershell
azure
The DevOps open hack event is designed to foster learning via implementing DevOps practices with a series of challenges.
openhack-devops-team

My Driving Team APIs

The DevOps open hack event is designed to foster learning via implementing DevOps practices with a series of challenges.

Architecture

The application used for this event is a heavily modified and recreated version of the original My Driving application.

The team environment consists of the following:

  • Azure App Service for Linux which has four APIs deployed:

    • POI (Trip Points of Interest) - CRUD API written in .Net Core 3.1 for points of interest on trips
    • Trips - CRUD open API written in golang 1.11 for trips connected to the client application
    • UserProfile - CRUD open API written in Node.JS for the users of the client application

      Note:PATCH/POST operations not functional

    • User-Java - API written in Java with POST and PATCH routes plus swagger docs routes for the users of the client application.
  • Mobile Apps - for iOS and Android which will display driving trip data

Getting Started

To understand each of the components above in more detail, please visit the readme files inside the root folder of each corresponding part of the application.

Prerequisites

It is useful but not required to have a basic knowledge of the following topics:

  • Azure App Services
  • Azure Container Registry and Docker
  • GitHub, Azure DevOps (formally VSTS) or Jenkins

Resources

The provisioning of this environment for proctors can be found in the DevOps Openhack Proctor Github repository.

openhack-devops-team's People

Contributors

apraovjr avatar bsamodien avatar caseywatson avatar chrisrisner avatar dariuszporowski avatar dcaro avatar dependabot[bot] avatar dlepow avatar dtzar avatar hadwaabdelhalem avatar mathieu-benoit avatar microsoftopensource avatar msftgits avatar r-c-stewart avatar rguthriemsft avatar sayedimac avatar

Stargazers

 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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

openhack-devops-team's Issues

Can we use Azure VM Agents plugin in Jenkins without creating admin username and password

I was trying to use the azure-vm-agents plugin in our jenkins platform so that whenever the load increases and all the executors are occupied, a new VM agent can be launched on the fly.
But while configuring the plugin in the last section where we describe the template, we were struck at step Specify Admin Credentials (step 11 in https://wiki.jenkins.io/display/JENKINS/Azure+VM+Agents+plugin) as in our infrastructure we do not use username and password to login to our VM agents, we use RSA public / private keys.

Is there some way we can skip this step while configuring the template or add the private key itself ?

API Trips has a bad dockerfile - Consider using latest

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Build Dockerfile

Any log messages given by the failure

The command '/bin/sh -c go get' returned a non-zero code: 1

Expected/desired behavior

Successfully built

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

I think it would be best to use the FROM golang:latest AS gobuild and also FROM alpine:latest


Thanks! We'll be in touch soon.

Password fields in deployment templates should use secure string

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Look at proctorVM deployment template. The spPassword is sent and stored in clear text.

Any log messages given by the failure

No failure is given.

Expected/desired behavior

Azure Sample templates should display best security practices

OS and Version?

OS is irrelevant

Versions

Mention any other details that might be useful

I didn't look at all other templates or scripts, but in general it seems this sample should go through a security and best practices review.

POI Dockerfile needs update to point to new dotnetcore base images

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

POI dockerfile no longer works due to renaming of dotnetcore base images. see https://devblogs.microsoft.com/dotnet/net-core-2-1-container-images-will-be-deleted-from-docker-hub/

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Suggest changing repo type to 'template'

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

During openhack, attendees are told:

Create your own code repository either by forking the provided repo on GitHub or import into GitHub.

Note: Downloading and extracting an archived version of the repo locally (instead of forking) if you are following the GitHub route may be beneficial as it will narrow down the choices that your team will need to make when you are in the process of creating Pull Requests against your default branch.

I suggest that this repo be changed to a Template repository , whichlet users generate new repositories with the same directory structure and files but without having to fork the repo. see https://docs.github.com/articles/creating-a-repository-from-a-template/

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Change the text to hello

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Test

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

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.