
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
@roadiehq/scaffolder-backend-argocd
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Welcome to the argocd
actions for the scaffolder-backend
.
This contains one action: argocd:create-resources
.
The argocd:create-resources
action allows the task to call any of the Argo CD instance APIs available to the user that triggers it.
Create your Backstage application using the Backstage CLI as described here: https://backstage.io/docs/getting-started/create-an-app
Note: If you are using this plugin in a Backstage monorepo that contains the code for
@backstage/plugin-scaffolder-backend
, you need to modify your internal build processes to transpile files from thenode_modules
folder as well.
Note: To use this scaffolder action you need to ensure the Argo CD user you are utilizing has the
create
permission for bothprojects
andapplications
You need to configure the action in your backend as well as your software template:
cd packages/backend
yarn add @roadiehq/scaffolder-backend-argocd
Configure the action: (you can check the docs to see all options):
// packages/backend/src/plugins/scaffolder.ts
const actions = [
createArgoCdResources({ config, logger }),
...createBuiltinActions({
containerRunner,
integrations,
config,
catalogClient,
reader,
}),
];
return await createRouter({
containerRunner,
logger,
config,
database,
catalogClient,
reader,
actions,
});
cd packages/backend
yarn add @roadiehq/scaffolder-backend-argocd
// packages/backend/src/index.ts
import { createBackend } from '@backstage/backend-defaults';
import { createBackendModule } from '@backstage/backend-plugin-api';
const backend = createBackend();
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
backend.add(
import('@roadiehq/scaffolder-backend-argocd/new-backend'),
);
backend.start();
### From your software template yaml file
Under `spec.steps[]` insert the below. In the below we reference items in the `spec.paramters[]` section.
- id: create-argocd-resources
name: Create ArgoCD Resources
action: argocd:create-resources
input:
appName: ${{ parameters.name }}-nonprod
argoInstance: ${{ parameters.argoinstance }}
namespace: ${{ parameters.namespace }}
repoUrl: ${{ steps.publish.output.remoteUrl }}
labelValue: ${{ parameters.name }}
path: "kubernetes/nonprod"
> If needed there is an optional parameter of `projectName` as well.
## Contributed By American Airlines
---
Roadie gives you a hassle-free, fully customisable SaaS Backstage. Find out more here: [https://roadie.io](https://roadie.io).
FAQs
Unknown package
The npm package @roadiehq/scaffolder-backend-argocd receives a total of 651 weekly downloads. As such, @roadiehq/scaffolder-backend-argocd popularity was classified as not popular.
We found that @roadiehq/scaffolder-backend-argocd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.