Code Monkey home page Code Monkey logo

backstage's People

Contributors

akshatdubeysf avatar amarzilpesf avatar bhupesh-sf avatar cmunson2719 avatar dev-hitesh-gupta avatar ejazalamsf avatar hernanku avatar jamescrowley321 avatar mayank0202 avatar sadarunnisa-sf avatar shubhamp-sf avatar shubhamsinha-sf avatar tsaucier-sf avatar tyagi-sunny avatar tyagisunny avatar yeshamavani avatar yogi-vishwas avatar

Stargazers

 avatar  avatar

Watchers

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

backstage's Issues

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:

  1. Go to 'https://dx.arc-prod.link/catalog'
  2. Click on 'Create' and choose ARC microservices template
  3. Let it complete and at the end it will generate a repo in sourcefuse org
  4. 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.

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

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.

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.

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 to main and only PROD ARC Admins can approve a PR to main.

IaC Consolidation

Move the backstage-ecs module from arc-devops-infra into this repository and hook up to CD pipeline.

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.

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:

  1. Go to 'https://dx.arc-prod.link/'
  2. Login via github
  3. Click on 'Home'
  4. Open any component like arc/loopback4-audit-log
  5. 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

Screenshots
Screenshot 2024-01-08 at 2 40 08 PM

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:

  1. Scaffold any component using the Create Component flow.
  2. The Task Activity page no longer shows the links to the Backstage catalog info or GitHub repo.
  3. Scroll down to '....'
  4. 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
image

Now
image

Define List of Plugins to Add

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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
Screenshot from 2024-01-16 19-33-02

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.

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:

  1. Followed the steps mentioned in https://sourcefuse.atlassian.net/wiki/spaces/SOURCEFUSE/pages/3706552407/Setting+up+a+mono-repo+on+Backstage
  2. Exported required variables
  3. executed docker-compose up –d and tried to access backstage using http://localhost:7007
  4. It redirected to Github page to sign in.
  5. While clicking on sign in , got 404 error, screenshot is attached

Expected behavior
Redirected to Backstage page of sign in

Screenshots
screenshot is attached

image

🚨 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:

  1. Go to 'https://dx.arc-prod.link/'
  2. Use Github login to log into the system
  3. Click on any component
  4. Click on 'Docs' tab
  5. See error

Screenshot 2024-01-06 at 7 51 47 PM

Expected behavior
Docs should work

Screenshots
Screenshot 2024-01-06 at 7 51 47 PM

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