GithubHelp home page GithubHelp logo

isabella232 / reactor-releaser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adobe/reactor-releaser

0.0 0.0 0.0 120 KB

Command line tool for releasing Adobe Experience Platform Launch extensions.

License: Apache License 2.0

JavaScript 100.00%

reactor-releaser's Introduction

Launch Extension Releaser Tool

Build Status npm (scoped)

Launch, by Adobe, is a next-generation tag management solution enabling simplified deployment of marketing technologies. For more information regarding Launch, please visit our product website.

The releaser tool allows extension developers to easily change the availability of their Launch extension. It can be used to change the availability from development to private.

For more information about developing an extension for Launch, please visit our extension development guide.

Usage

Before running the releaser tool, you must first have Node.js installed on your computer.

You will need to be authorized to release extensions in Launch. This is done by first creating an integration through Adobe I/O. Please see the Access Tokens documentation for detailed steps on creating an integration and procuring extension management rights.

Once you've been granted extension management rights, you can use the releaser tool in either a question-answer format or by passing information through command line arguments.

Question-Answer Format

To use the releaser in a question-answer format, run the releaser tool by executing the following command from the command line within the directory containing your extension source files:

npx @adobe/reactor-releaser

The releaser tool will ask for any information necessary to release the extension.

Command Line Arguments

To skip any of the questions the releaser would typically ask, you can pass the respective information as command line arguments. An example is as follows:

npx @adobe/reactor-releaser --private-key=/Users/jane/launchkeys/reactor_integration_private.key --org-id=01C20D883A7D42080A494212@AdobeOrg [email protected] --api-key=192ce541b1144160941a83vb74e0e74d --client-secret=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

The named parameters are as follows:

--private-key (for authentication using an Adobe I/O integration)

The local path (relative or absolute) to the RSA private key. Instructions on how to generate this key can be found in the Access Tokens documentation and should have been used when creating your integration through the Adobe I/O console.

Optionally, rather than passing the private key path as a command line argument, it can instead be provided by setting an environment variable. The environment variable should be named REACTOR_IO_INTEGRATION_PRIVATE_KEY.

--org-id (for authentication using an Adobe I/O integration)

Your organization ID. You can find this on the overview screen for the integration you have created within the Adobe I/O console.

--tech-account-id (for authentication using an Adobe I/O integration)

Your technical account ID. You can find this on the overview screen for the integration you have created within the Adobe I/O console.

--api-key (for authentication using an Adobe I/O integration)

Your API key. You can find this on the overview screen for the integration you have created within the Adobe I/O console.

--client-secret (for authentication using an Adobe I/O integration)

Your client secret. You can find this on the overview screen for the integration you have created within the Adobe I/O console.

Optionally, rather than passing the client secret as a command line argument, it can instead be provided by setting an environment variable. The environment variable should be named REACTOR_IO_INTEGRATION_CLIENT_SECRET.

--verbose

Logs additional information useful for debugging.

--environment (for Adobe internal use only)

The environment to which the extension package should be released. Valid options are development, qe, integration. Users outside of Adobe don't need to use this flag.

Private key path can also be provided by setting an environment variable. The environment variable should be named one of the following, depending on which Launch environment will be receiving the extension package:

  • REACTOR_IO_INTEGRATION_PRIVATE_KEY_DEVELOPMENT
  • REACTOR_IO_INTEGRATION_PRIVATE_KEY_QE
  • REACTOR_IO_INTEGRATION_PRIVATE_KEY_INTEGRATION

Client secret can also be provided by setting an environment variable. The environment variable should be named one of the following, depending on which Launch environment will be receiving the extension package:

  • REACTOR_IO_INTEGRATION_CLIENT_SECRET_DEVELOPMENT
  • REACTOR_IO_INTEGRATION_CLIENT_SECRET_QE
  • REACTOR_IO_INTEGRATION_CLIENT_SECRET_INTEGRATION

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

To get started:

  1. Install node.js.
  2. Clone the repository.
  3. After navigating into the project directory, install project dependencies by running npm install.

To manually test your changes, first run the following command from the releaser tool directory:

npm link

Then, in a directory where you would like to use the releaser tool, run the following command:

npx @adobe/reactor-releaser

Npx will execute the releaser tool using your locally linked code rather than the code published on the public npm repository.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

reactor-releaser's People

Contributors

aaronius avatar brenthosie avatar dompuiu avatar janexner avatar macdonst avatar

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.