backstage's People
backstage's Issues
Create Local and Stage/UAT environment GitHub app configurations
Define a Security Model
Define a Security Model
- AWS
- GitHub
- Backstage Itself
Unable to setup github secrets whicha re needed for github actions to run after scaffolding
Describe the bug
After the microservices repo scaffolding, we need to add docker related secrets to github for github actions to perform docker build and docker push. This is not working because the repo which is created, the creator from Backstage is not admin there by default.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://dx.arc-prod.link/catalog'
- Click on 'Create' and choose ARC microservices template
- Let it complete and at the end it will generate a repo in sourcefuse org
- Go to the repo and see that you dont have access to Admin tab
Expected behavior
The creatot from Backstage should at least get Admin permission of the repo.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Local Development GitHub App
Is your feature request related to a problem? Please describe.
Multi Environment Backstage GitHub App Set up
Describe the solution you'd like
Create multiple GitHub App configurations for local, poc/dev, and production environments.
Create Custom Authentication Resolver
relocate terraform/iam to a management repo
Is your feature request related to a problem? Please describe.
terraform/iam
needs to be relocated to our management repo to avoid changes to the permission of the assumed role.
Describe the solution you'd like
terraform/iam
needs to be relocated to our management repo.
Add GitHub app creation
Is your feature request related to a problem? Please describe.
Add Terraform configuration to create a GitHub App that can be used for authenticating to Backstage instead of using PAT / manually creating this resource.
Describe the solution you'd like
Add Terraform configuration to create the GitHub App
Local GitHub App Setup
Is your feature request related to a problem? Please describe.
It's very difficult to perform local development due to the GitHub App Usage
Describe the solution you'd like
- Create a process for creating a GitHub app that individual users can utilize for local development that is against their individual user account
- Script or automate with IaC if possible
Describe alternatives you've considered
- Manual maintenance which we have outgrown
Additional context
See Slack Channel for additional information
Define Template for V1
Define all templates for V1
Infrastructure Deployment
Infrastructure Deployment to all environments
Rework git tag workflow
Right now, the Tag workflow is using the sf-arc-ci PAT to tag the repo and kick off a new workflow for docker builds. This needs to be update to use the GH Actions GITHUB_TOKEN
to avoid having to manage this PAT long term. With Action tokens, though, we cannot chain the workflows together. The tag step will need to push the update tag value to SSM where the downstream dependent workflows will be able to pick it up and use for the different jobs.
Refactor IaC to Reduce Redundant Variables
Since we use convention based names that only differ between the namespace and environment, many variables can be refactored to locals.
Move Image to Docker Hub
Push Docker Images to Sourcefuse DockerHub
Seed Templates and Repos Are Incorrect
- Seed repos and templates are out of date with upstream changes to the Git repos. Update
app-config.yml
to point to the correct repositories and remove out dated templates.
Update Docker Image Everywhere
Move from sourcefuse/sourcefuse-backstage
to sourcefuse/backstage
.
Gap Analysis on ARC UI Spec Compliance
CI/CD Pipeline
- Builds the Docker Image
- Pushes it to ECR
- Updates the SSM parameter for the docker image
- Runs the Terraform against the POC 2 account for a PR that is raised against the
main
branch. - Runs the Terraform against the PROD account following a merge to
main
. Only clean and tested PRs can be merged tomain
and only PROD ARC Admins can approve a PR tomain
.
IaC Consolidation
Move the backstage-ecs
module from arc-devops-infra
into this repository and hook up to CD pipeline.
Design Custom GitHub Synchronization Process
Design custom GitHub synchronization process. See here - https://backstage.io/docs/integrations/github/org/
Change the method of Documentation - move from tech docs to direct link
iac integration to backstage and Migration missing of some packages
Is your feature request related to a problem? Please describe.
- include iac to backstage
- resolve node_modules's migration problem: on executing "npm i", some migration files of packages @backstage/plugin-auth-backend,@backstage/plugin-catalog-backend,@backstage/plugin-scaffolder-backend are missing.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Remove creds and use IAM Instance profile
We need to remove this action step and utilize the instance profile instead for deploying the container image to this account.
Upgrade the sourceloop CLI in backstage
Update to the latest version of @sourceloop/cli
Describe the bug
Update to the latest version of @sourceloop/cli
Increase Ephemeral Storage in ECS to the Maximum
Increase the ephemeral storage on the ECS volume to the maximum so that local docs generation works correctly.
Add Nav Bar Back or Restore Nav Items Elsewhere
Extra login asked when going into any component page
Describe the bug
After logging in, when we open any component, it is again asking for login. Even though this is happening first time only but its not something which is expected.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://dx.arc-prod.link/'
- Login via github
- Click on 'Home'
- Open any component like arc/loopback4-audit-log
- Note that it will again ask for login
Expected behavior
It should not ask for login again since we have already logged in via github
Additional context
Add any other context about the problem here.
Task Activity Page No Longer Shows Correct Links
Describe the bug
Following the branding, the Task Activity page is missing the links to the Backstage catalog and GitHub for the newly created component.
To Reproduce
Steps to reproduce the behavior:
- Scaffold any component using the Create Component flow.
- The Task Activity page no longer shows the links to the Backstage catalog info or GitHub repo.
- Scroll down to '....'
- See error
Expected behavior
The Task Activity page no longer shows the links to the Backstage catalog info and GitHub repo.
Screenshots
If applicable, add screenshots to help explain your problem.
Default
Define List of Plugins to Add
Plugins that are part of the marketplace that we should assess for viability.
Kubernetes · Backstage Software Catalog and Developer Platform
backstage/README.md at master · backstage/backstage (github.com)
Backstage GitHub Pull Requests Plugin | Roadie
backstage/plugins/github-actions at master · backstage/backstage
Backstage GitHub Insights Plugin | Roadie
backstage/README.md at master · backstage/backstage (github.com)
Backstage AWS Lambda Plugin | Roadie
Backstage Argo CD Plugin | Roadie
backstage/README.md at master · backstage/backstage (github.com)
backstage/plugins/allure at master · backstage/backstage (github.com)
K-Phoen/backstage-plugin-grafana: Grafana plugin for Backstage (github.com)
backstage/plugins/graphiql at master · backstage/backstage (github.com)
Backstage Jira Plugin | Roadie
backstage/plugins/jenkins at master · backstage/backstage (github.com)
backstage/plugins/kafka at master · backstage/backstage (github.com)
backstage/plugins/newrelic at master · backstage/backstage (github.com)
backstage/plugins/newrelic-dashboard at master · backstage/backstage (github.com)
Backstage Prometheus Plugin | Roadie
Backstage Security Insights Plugin | Roadie
backstage-plugin-snyk/README.md at main · snyk-tech-services/backstage-plugin-snyk (github.com)
backstage/README.md at master · backstage/backstage (github.com)
- Sonar
- New Relic
- Cypress/UI testing?
Change the integration with Sourceloop CLI
CI/CD SemVer is not Used in IaC
The IaC needs the SemVer passed to it instead of the branch name
~ image = "***.dkr.ecr.us-east-1.amazonaws.com/sourcefuse-backstage:0.1.0" -> "***.dkr.ecr.us-east-1.amazonaws.com/sourcefuse-backstage:main"
github action failing after microservice scaffold
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Compiled with problems
Describe the bug
× ERROR in ../../node_modules/swagger-ui-react/node_modules/react-redux/dist/react-redux.mjs 1097:18-45
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Validate All Existing Template
Go through all the existing and templates and test to make sure they still work. Create bugs for any templates that do not work.
Production Docs Deployment
Use ARC IaC to implement a version of the recommended deployment architecture of the docs site.
https://backstage.io/docs/features/techdocs/architecture/#recommended-deployment
https://backstage.io/docs/features/techdocs/how-to-guides/
Github Auth is failing with 404 error - Not able to create Mono Repo
Describe the bug
Not able to create Mono Repo using Backstage
To Reproduce
Steps to reproduce the behavior:
- Followed the steps mentioned in https://sourcefuse.atlassian.net/wiki/spaces/SOURCEFUSE/pages/3706552407/Setting+up+a+mono-repo+on+Backstage
- Exported required variables
- executed
docker-compose up –d
and tried to access backstage usinghttp://localhost:7007
- It redirected to Github page to sign in.
- While clicking on sign in , got
404
error, screenshot is attached
Expected behavior
Redirected to Backstage page of sign in
Screenshots
screenshot is attached
Enable Snyk Integration With Deployment
The Snyk integration is not enabled via IaC. Enable it and ensure that the Snyk plugin works correctly.
🚨 Trigger an Alarm on ECS Deployment Failures 🚨
Description:
🚨 Alarm on ECS Deployment Failures 🚨
Issue Description
In the dynamic world of containerized applications, ensuring smooth deployments is paramount. However, failures in ECS (Elastic Container Service) deployments can sometimes occur due to various reasons such as misconfigurations, resource constraints, or infrastructure issues. To mitigate risks and maintain system reliability, we need to implement a mechanism to trigger alarms whenever an ECS deployment fails.
Reference :-
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-alarm-failure.html
GenAI
Where can we add/use GenAI in the code scaffolding process?
Tech docs stopped working
Describe the bug
Tech docs for components has stopped working on prod as well as poc env
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://dx.arc-prod.link/'
- Use Github login to log into the system
- Click on any component
- Click on 'Docs' tab
- See error
Expected behavior
Docs should work
Additional context
Same happens on poc env too
Merge Husky and pre-commit Functionality
Is your feature request related to a problem? Please describe.
There are now conflicting tools to manage pre-commit hooks.
Describe the solution you'd like
Find a way to merge husky and pre-commit. The node ecosystem takes priority, so all IaC related tools should be integrated with the node ecosystem, i.e. pre-commit is called before husky, IaC commands are added to the package.json, etc.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.