Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@portal-dx/plugin-rollback-application

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portal-dx/plugin-rollback-application

Imagine you have an application that takes 20 minutes to deploy and you need to make an URGENT fix, waiting that time wouldn't be a good idea.

  • 0.1.3
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@portal-dx/plugin-rollback-application

Imagine you have an application that takes 20 minutes to deploy and you need to make an URGENT fix, waiting that time wouldn't be a good idea.

This plugin was developed to simplify the process of rolling back your ECS application. By using it, you can easily revert to a previous version of your taskDefinition in case of errors or problems with the current version, bypassing the deploy phase. Additionally, it also allows you to view and compare the differences between versions before performing the rollback. All of this with just a few clicks!

This plugin was created through the Backstage CLI

Requirements

  • Backstage Project;
  • Node.js v16.14.x
  • AWS Credentials with permissions to read and alter taskDefinitions

Use

app-config.yaml

[...]
rollbackApplication:
  accessKeyId: {{ ACCESS_KEY_ID }}
  accessSecretKey: {{ SECRET_ACCESS_KEY_ID }}
  region: {{ AWS_REGION }}
[...]

catalog-info.yaml

This file is located at the root of each of your remote repositories. The plugin will only work with the settings as described

[...]
metadata:
  [...]
  annotations:
    [...]
    aws.amazon.com/service: name-you-application-aws-staging
    aws.amazon.com/cluster: your-application-cluster
[...]

catalog/EntityPage.tsx

packages/app/src/components/catalog/EntityPage.tsx

+ import { RollbackApplicationComponent, isRollbackAvaliable } from '@portal-dx/plugin-rollback-application';

[...]

const serviceEntityPage = (
  <EntityLayout>
+   <EntityLayout.Route if={isRollbackAvaliable} path="/rollback" title="Rollback">
+      <RollbackApplicationComponent />
+    </EntityLayout.Route>
  </EntityLayout>
); 

Developed with ❤️ by the MadeiraMadeira SRE Team

FAQs

Package last updated on 27 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc