@gve/releases

0.8.4 • Public • Published

Releases

Build Docker images and deploy containers to Google Cloud or OpenShift.

Installation

Install with npm.

npm i @gve/releases

Usage

const { OpenShiftRelease } = require("@gve/releases");

// Create the release.
const projectName = "OpenShift project name or Google Cloud project ID";
const release = new OpenShiftRelease(projectName);

// Build its Docker image.
release.build();

// Intermediate step: Use the Docker CLI to upload the image to its image repository.

// Build a deployment and release it to OpenShift.
release.buildDeployment();
release.release();
  • Creates a scoped, named, and tagged Docker image
  • Creates its deployment files for release
  • Pushes the deployment files to the run platform, e.g, OpenShift

License

Apache 2.0

Readme

Keywords

none

Package Sidebar

Install

npm i @gve/releases

Weekly Downloads

1

Version

0.8.4

License

Apache-2.0

Unpacked Size

41.4 kB

Total Files

20

Last publish

Collaborators

  • gveappsupport
  • mattnorris