Giter Site home page Giter Site logo

yeekangc / developer-dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davemulley/developer-dashboard

0.0 1.0 0.0 7.14 MB

Dashboard for enable you fast access to your development tools that have been installed into your development cluster

License: Apache License 2.0

Dockerfile 0.18% JavaScript 43.24% HTML 49.21% Shell 0.96% TypeScript 0.28% SCSS 6.13%

developer-dashboard's Introduction

IBM Garage Cloud Native Toolkit

Developer Dashboard

A simple dashboard that enables navigation to the tools that have been installed using the iteration-zero Terraform asset or configured with igc tool -config command line.

Customizing Cards

To add, change or delete cards on the developer dashboard edit the /public/data/links.json file and update the information in the appropriate section.

Build

To build the project use the following commands.

Build and develop with the server code it will open on port 3000

npm install
npm run build
npm run start

Build and develop with the client code it will open on port 3001

cd client
npm run dev

When running locally you can override default settings by putting environment variables in .env.local and /client/.env.local files.

Testing API

Use PostMan newman CLI

brew install newman
npm run api:test

Release steps

Creating a release

This repository uses GitHub actions to automatically create a release whenever a change is pushed to main. The workflow for changes should follow a typical process:

  1. Create a branch (ideally in a fork of the repository)

  2. Create a pull-request to merge the changes from the branch into main. Add a release label (major, minor, patch) and a change type label (feature, bug, chore) to the pull request to effect the new release tag that is generated and how the change log is generated for the release.

  3. Merge the pull-request into main. This will trigger the workflow to create the release.

Building the container image

This repository is also connected to the Docker Hub build image. The build process has been configured with two rules:

  1. Any time a change is pushed to main, a new image is built with the latest tag
  2. Any time a new release is created for the repository, a new image is built with a tag that matches the repository tag (e.g. git tag v1.1.1 -> docker tag 1.1.1)

Updating the Dashboard terraform module

The terraform-tools-dashboard module deploys the built image to the cluster. The terraform module uses the developer-dashboard chart in the Toolkit charts repository to deploy the image.

Each version of the module refers to a particular version of the image. As part of the release process, a GitHub Action will trigger a notification to the terraform module that a new version is available. This will trigger a process in the terraform module to get the latest version number and create a PR containing the change.

developer-dashboard's People

Contributors

chobdayibm avatar davemulley avatar dependabot[bot] avatar flyingbarron avatar lsteck avatar praveenmail2him avatar seansund avatar

Watchers

 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.