Giter VIP home page Giter VIP logo

forenklet-deploy's Introduction

FO: Forenklet deploy

CircleCI

En applikasjon som viser oversikt over versjoner av et team sine applikasjoner, per miljø. Applikasjonen henter ut data fra ulike baksystemet og presenterer endringene mellom ulike miljøer ved å presentere git-commits mellom ulike versjoner.

Målet for applikasjonen er å gi en oversikt over hva som blir rullet ut til en hver tid, spesielt når man har en stor applikasjonsportefølje (f.eks. mange microservices) og i tillegg flere test-miljøer man bruker.

Applikasjonen blir til en hver tid deployet til et testmiljø i heroku og kan testes ut ved å besøke https://forenklet-deploy-staging.herokuapp.com/

Utvikling

Applikasjonen er satt opp for å kunne kjøre opp både med direkte tilkobling mot eksterne tjenester, eller ved å bruke mockdata.

Backenden er satt opp med 2 main metoder. I src/main/kotlin finner man en Main klasse under no.nav.fo.forenkletdeploy.Main. Denne starter opp applikasjonen med "prod-oppsett". Denne vil default sette opp proxy-instillinger slik at ting vil fungere både i produksjon og ved utvikling lokalt. Den vil og prøve å hente data fra reelle baksystemer. Proxy-instillinger kan disables ved å sette systemvariabelen webproxy.enabled til false.

Om man ønsker å kjøre opp backenden med Mock-data kan man starte Main-metoden man finner under src/test/kotlin. Denne starter opp appen uten proxy-instillinger og med alle baksystemer mocket ut. Om man bruker mock eller ikke defineres av om spring-profilen mock er aktivert. Dette kan endres i application.yml som man finner under resources.

For å starte opp frontenden lokalt kjør npm install && npm start i src/frontend.

Det er lettest å starte backend og frontend helt uavhengig av hverandre når man skal teste lokalt.

Mockdataen skal til en hver tid være representativ for reelle data. Heroku starter opp en instans av alle pull-requestene, hvor den bruker mockdata. Slik at man kan få verifisert frontend-endringer funksjonelt før man merger.

Henvendelser

Spørsmål knyttet til koden eller prosjektet kan rettes til PUS.

For eksterne kontakt en av følgende:

For NAV-ansatte kan henvendelser sendes via slack i kanalen #pus

forenklet-deploy's People

Contributors

akselw avatar alexgaard avatar anostoga avatar einarbj avatar etse avatar greenkeeper[bot] avatar hakonph avatar hensol avatar jan-berge-ommedal avatar janerik-robertsen avatar johrus avatar kleivane avatar mayu-thiyaga avatar stephenramthun avatar tengvig avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

Forkers

hensol einarbj

forenklet-deploy's Issues

Promote-skjermbildet: mister kontekst ved refresh

Hvis man går rett inn, eller refresher, på url'en for promote så mister man konteksten av mellom hvilke to versjoner man skal diffe. Ser ut som den da defaulter til å hente inn alle endringer

https://forenklet-deploy.nais.preprod.local/promote/modiabrukerdialog/t6

Mulig løsning er kanskje å flytte konteksten som en url-parameter?

An in-range update of @types/react-redux is breaking the build 🚨

Version 6.0.3 of @types/react-redux was just published.

Branch Build failing 🚨
Dependency [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped)
Current Version 6.0.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react-redux is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/classnames is breaking the build 🚨

Version 2.2.5 of @types/classnames was just published.

Branch Build failing 🚨
Dependency @types/classnames
Current Version 2.2.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/classnames is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests passed on CircleCI! Details
  • bekkci error Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of nav-frontend-skjema-style is breaking the build 🚨

Version 1.0.5 of nav-frontend-skjema-style was just published.

Branch Build failing 🚨
Dependency nav-frontend-skjema-style
Current Version 1.0.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

nav-frontend-skjema-style is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/jest is breaking the build 🚨

Version 23.1.5 of @types/jest was just published.

Branch Build failing 🚨
Dependency @types/jest
Current Version 23.1.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests passed on CircleCI! Details
  • bekkci error Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/react is breaking the build 🚨

Version 16.4.4 of @types/react was just published.

Branch Build failing 🚨
Dependency @types/react
Current Version 16.4.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Programatisk cache i stede for config

I dag er EHCache lagt inn i applikasjonen, hvor ulike cacher blir laget basert på en XML-fil. Ønsker å gå over til en programatisk konfigurert cache. Om dette er EHCache eller annen Cache-løsning har ikke så mye å si.

Automatisk generere releasenote i confluence

Som ansvarlig for utrulling i produksjon
Ønkser jeg at releasenoten blir automatisk generert i confluence
Slik at jeg kan bruke tiden min på andre oppgaver
Og redusere sansynligheten for at release-noten inneholder feil


Gitt at jeg går inn på go/nogo siden
Når jeg velger applikasjoner som er go for produksjon
Skal jeg få opp en kvittering med oppsummering av releasen
Og få en knapp for å legge releasenoten i confluence

Gitt at jeg er på kvitteringsiden
Når jeg trykker på "Lag release-note"
Skal det opprettes et dokument i confluence som følger standardmal
Og jeg skal få opp releasenoten i ett nytt vindu

Gitt at jeg er på kvitteringssiden
Når jeg trykker på "Lag release-note"
Skal det opprettes et dokuement som følger standardmal
Og det skal være en rad per applikasjon
Og den skal være fyllt ut med versjonsnummer som skal i produksjon
Og hver applikasjon skal ha liste med relaterte Jira-issues for deploy
Og resterende felter skal være blanke for manuell utfylling

An in-range update of @types/node is breaking the build 🚨

Version 10.5.3 of @types/node was just published.

Branch Build failing 🚨
Dependency @types/node
Current Version 10.5.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests passed on CircleCI! Details
  • bekkci error Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/react-redux is breaking the build 🚨

Version 6.0.4 of @types/react-redux was just published.

Branch Build failing 🚨
Dependency @types/react-redux
Current Version 6.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react-redux is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/react is breaking the build 🚨

Version 16.4.3 of @types/react was just published.

Branch Build failing 🚨
Dependency @types/react
Current Version 16.4.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of nav-frontend-etiketter-style is breaking the build 🚨

Version 0.3.5 of nav-frontend-etiketter-style was just published.

Branch Build failing 🚨
Dependency nav-frontend-etiketter-style
Current Version 0.3.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

nav-frontend-etiketter-style is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of nav-frontend-ekspanderbartpanel is breaking the build 🚨

Version 1.0.8 of nav-frontend-ekspanderbartpanel was just published.

Branch Build failing 🚨
Dependency nav-frontend-ekspanderbartpanel
Current Version 1.0.7
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

nav-frontend-ekspanderbartpanel is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Cache busting av javascript

En del brukere har problemer med å laste forenklet-deploy, dette skyldes at nettleser ikke laster ned siste versjon av javascript bundle. Vi burde legge inn "cache-busting" av javascript bundle, og skru Cache-Control = "no-cache, no-store, must-revalidate" på index.html

Se vedlagte skjermbilde for hvordan dette oppleves av brukere.

snipimage

Se forskjeller i featuretoggles

Når man sammenligner mellom to miljø kan det i tillegg til kodeendringer være forskjeller i features. For å bedre gi oversikt over hva som er på og av i de forskjellige miljøene, kan det være gunstig å vise dette.

Teamene implementer feature-toggles på forskjellige måter, så dette må kanskje spesialimporteres for hvert team? Vi bruker per nå fasit-properties til å feature-toggle.

An in-range update of less is breaking the build 🚨

Version 3.5.0 of less was just published.

Branch Build failing 🚨
Dependency less
Current Version 3.0.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

less is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests passed on CircleCI! Details
  • bekkci error Details

Commits

The new version differs by 40 commits.

  • 21ea054 Merge pull request #3264 from matthew-dean/release/v3.5.0
  • 49d63cb Release v3.5.0
  • b56ed27 Release v3.5.0-beta.7 (#3260)
  • 6c2c0fd Allow [] to resolve to last declaration's value (#3256)
  • d821a37 v3.5.0-beta.6 (#3255)
  • d542512 Plugins: If minVersion >= 3.0.0, don't "pre-run" .setOptions() (#3247)
  • 39ef69c Tests and parser fixes for namespace values in MQ and mixin args (#3254)
  • 29468bf Bugfix - namespace values (#3251)
  • d329c84 Update README.md
  • e2cd2e0 Add logo and centering
  • e84c880 Added small breakpoints example with namespaced values (#3250)
  • 8d14d7d Update CHANGELOG.md
  • 6237e13 [Feature] Namespaced values (#3242)
  • 99162b6 Release/v3.5.0 beta.3 (#3246)
  • 7a47223 Fixes #3187 (couldn't repo, but found bugs) (#3229)

There are 40 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of redux-thunk is breaking the build 🚨

Version 2.3.0 of redux-thunk was just published.

Branch Build failing 🚨
Dependency redux-thunk
Current Version 2.2.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

redux-thunk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

Release Notes v2.3.0

Hello! There's a new sheriff in town...

This is only an update to the TypeScript typings for Redux 4.0 compatibility. After some discussion on the issues/PRs, we're going to be removing the typings completely in a 3.0 release soon. They will instead live in DefinitelyTyped, where they can be updated to match newer version of TypeScript and Redux at whatever pace they want to take. Farewell, typings! 🖖

Commits

The new version differs by 27 commits.

  • cb8f88e 2.3.0
  • 82142b8 Clean up infrastructure a bit.
  • c2a4e74 Lock the deps
  • 8bcd7c7 Merge pull request #150 from dthree/patch-1
  • cd4db90 Merge pull request #182 from andreyst/patch-1
  • b35957b Future-proof license
  • cc451e3 Merge pull request #93 from npmcdn-to-unpkg-bot/npmcdn-to-unpkg
  • ba74505 Merge pull request #192 from mshaaban088/patch-1
  • e98836b Merge pull request #79 from Gaafar/patch-1
  • 285c7aa Merge pull request #195 from Wildhoney/add-module-entry
  • 5b2fb41 Merge pull request #180 from Cryrivers/master
  • 67ebdc9 Added 'module' entry for module file
  • edcadd1 Remove this Code settings file.
  • be1265d Replace deprecated lifecycle method in README
  • b595343 export ThunkDispatch

There are 27 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of nav-frontend-ekspanderbartpanel-style is breaking the build 🚨

Version 0.3.10 of nav-frontend-ekspanderbartpanel-style was just published.

Branch Build failing 🚨
Dependency [nav-frontend-ekspanderbartpanel-style](https://github.com/navikt/nav-frontend-moduler)
Current Version 0.3.9
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

nav-frontend-ekspanderbartpanel-style is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Vise status på brukerhistorier - miljøbasert

Det er øskelig å ha en oversikt over status på brukerhistoriene i FO, da en brukerhistorie ofte berører mange applikasjoner kan det være vanskelig å få med seg nøysktig status på en bestemt applikasjon - og i hvilke miljøer den lever. Det hadde derfor vært fint med en oversikt hvor man kan se denne statusen.

Tanken er at man henter ut alle relevante brukerhistorier, basert på f.eks. status. (vi ønsker å f.eks. se alle som har status "Under arbeid" t.o.m. systemtest. For disse applikasjonene finner vi alle applikasjoner som har commits med brukerhistorien som message (f.eks. via jira sitt API for å slippe å gjøre det manuelt). Deretter finne ut i hvilke miljøer disse comittene er i.

An in-range update of @types/react-router-dom is breaking the build 🚨

Version 4.3.0 of @types/react-router-dom was just published.

Branch Build failing 🚨
Dependency @types/react-router-dom
Current Version 4.2.7
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react-router-dom is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: build-backend Your tests passed on CircleCI! Details
  • ci/circleci: build-frontend Your tests failed on CircleCI Details
  • bekkci error Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

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.