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

code-engine-tasks

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-engine-tasks

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

CodeEngine Rake Tasks

A collection of Rake tasks for working with IBM Cloud Code Engine projects

Installation

  1. Add the gem to your project:

    $ bundle add code-engine-tasks
    
  2. Require the gem in your Rakefile:

    require 'code_engine/tasks'
    

Prerequisites

The following envrionment variables need to be set:

export CE_ACCOUNT=XXXXXXXX1234YYYYYYYY5678ZZZZZZZZ
export CE_PROJECT=presentations
export CE_APP=concourse-resource-presentation
export CE_REGION=eu-de

Optionally, CE_RESOURCE_GROUP can be set; it defaults to default.

How to get these values:

  • CE_ACCOUNT - running ibmcloud account list and use the "Account GUID" of the account the project resides in
  • CE_REGION - the region where your Code Engine app should run in (use rake ce:regions or check the list for possible values)
  • CE_PROJECT - the name of your Code Engine project. Find existing ones with ibmcloud ce project list or provide the name for a new one, which will be created.
  • CE_APP - the name of your Code Engine app. Find existing ones with ibmcloud ce application list or provide the name for a new one, which will be created.

Usage

All Rake tasks have documentation; use rake --tasks to show it.

If the app does not already exist, create a new one with

$ rake ce:app:create

Subsequent updates of the app can be performed with

$ rake ce:app:update

The URL of the app can be shown with

$ rake ce:app:url

TODO

  • cli tool to generate a boilerplate project (ce init --type static-web-app)

FAQs

Package last updated on 05 Mar 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