Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Banner Deploy to Jenkins #352

Open
2 tasks
rosibaj opened this issue Jan 14, 2021 · 0 comments
Open
2 tasks

Add Banner Deploy to Jenkins #352

rosibaj opened this issue Jan 14, 2021 · 0 comments
Assignees
Labels
on-hold Issue should not be worked on SP:3

Comments

@rosibaj
Copy link
Contributor

rosibaj commented Jan 14, 2021

We need to develop the alert API response to feed into the update banners:

The alert component for the platform-api expects this api response:

[{
  level: AlertLevel;
  title: string;
  message?: string;
  dismissable: boolean;
},
...]

Type AlertLevel = 'error' | 'warning' | 'info'

  • ability to add the alert
  • alert delivered by gateway

Implementation

We don't really need durable storage for the banner. We will use a env vriable and github:

  • Have a banner information file, with the editable banner variable.
  • Make a config in helm chart; job in jenkins to update the values.
  • Read ENV var from ENV valu. ENV value is passed in from git thru helm.
  • Jenkins rolling-restart and a job for banner deploy.

The workflow for BA or bioinformatics team to add a banner will be to make a PR to update Banner, go to jenkins and deploy button for banner job.

Expected Behavior from this ticket

  • Make a Jenkins job to specifically redeploy the gateway with the banner env variable.
  • WIki page with detailed on instructions on how to update the message , and example messages for emergency situations that can be used as a template.
@rosibaj rosibaj added the SP:3 label Jan 14, 2021
@rosibaj rosibaj added the on-hold Issue should not be worked on label Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold Issue should not be worked on SP:3
Projects
None yet
Development

No branches or pull requests

2 participants