1.16.0 • Published 3 years ago

generator-ibm-cloud-enablement v1.16.0

Weekly downloads
40
License
Apache-2.0
Repository
github
Last release
3 years ago

IBM Cloud Enablement Generator

IBM Cloud powered Travis Coveralls Codacy Version DownloadsMonthly DownloadsTotal License Conventional Commits

Creates the files required to deploy projects to Kubernetes (using Helm Charts) and/or Cloud Foundry (using a generated manifest). Also, provides scripts to initiate IBM Cloud’s DevOps Toolchain.

Pre-requisites

Install Yeoman Install Helm

  • Required to run unit tests
npm install -g yo

Installation

npm install -g generator-ibm-cloud-enablement

Usage

yo ibm-cloud-enablement

Following command line arguments are supported:

  • --bluemix {stringified-json} - used by Scaffolder to supply project information from pman. You can also supply a local file containing compatible JSON object by using --bluemix file:path/to/file.json. Other options include --bluemix='{"name":"<project-name>","backendPlatform":"<platform>"}'
  • --services {stringified-array} - used to add an extra service container for docker-compose.
  • --nodeCFMinMemory - used to defined a minimum requirement for node CF deployment. (e.g 384M)

Note: Adding the --services option will generate and use docker-compose and docker-compose-tools for docker containers.

Artifacts

Here is a list of the files and folders you receive after executing the generator:

FilePurpose
DockerfileConfiguration file for the run container.
docker-compose.ymlConfiguration for the run container if services option is added
Dockerfile-toolsConfiguration file for the tools container
docker-compose-tools.ymlConfiguration file for the tool container, if services option is added
JenkinsfileGroovy script used in conjunction with deploying to Cloud Foundry
chart/*Folder containing all the Helm yaml files required to deploy to Kubernetes
cli-config.ymlYaml file containing mappings for various commands, files, and settings, utilized by the cli commands
manifest.ymlYaml file with configuration to deploy to Cloud Foundry

Development Environment

Clone this repository and link it via npm

git clone https://github.com/ibm-developer/generator-ibm-cloud-enablement
cd generator-ibm-cloud-enablement
npm link

In a separate directory invoke the generator via

yo ibm-cloud-enablement 

Supported Docker-Compose Services

You can use Docker images to create instances for somes services services. By passing in the --services option the generator will create the docker-compose and docker-compose-tools.yml. Below is the services using docker-compose.

Service NameKey NameExample
Mongomongodb--services "[\"mongodb\"]"

Note: Currently only supported by Node, Swift, and Python.

Testing

To run the unit tests. Remember to install Helm if you have not already before running the tests.

npm test

Publishing Changes

In order to publish changes, you will need to fork the repository or branch off the master branch.

Make sure to follow the conventional commit specification before contributing. To help you with commit a commit template is provide. Run config.sh to initialize the commit template to your .git/config or use commitizen

Once you are finished with your changes, run npm test to make sure all tests pass.

Do a pull request against master, make sure the build passes. A team member will review and merge your pull request. Once merged to master an auto generated pull request will be created against master to update the changelog. Make sure that the CHANGELOG.md and the package.json is correct before merging the pull request. After the auto generated pull request has been merged to master the version will be bumped and published to public npm.

1.16.0

3 years ago

1.15.9

4 years ago

1.15.8

4 years ago

1.15.7

4 years ago

1.15.6

4 years ago

1.15.5

4 years ago

1.15.4

4 years ago

1.15.3

4 years ago

1.15.2

4 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.2

4 years ago

1.14.1

5 years ago

1.14.0

5 years ago

1.13.1

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.0

5 years ago

1.10.6

5 years ago

1.10.5

5 years ago

1.10.4

5 years ago

1.10.3

5 years ago

1.10.2

5 years ago

1.10.1

5 years ago

1.10.0

5 years ago

1.9.4

5 years ago

1.9.3

5 years ago

1.9.2

5 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.6

5 years ago

1.8.5

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.40

5 years ago

1.7.39

5 years ago

1.7.38

5 years ago

1.7.37

5 years ago

1.7.36

5 years ago

1.7.35

5 years ago

1.7.34

5 years ago

1.7.33

5 years ago

1.7.32

5 years ago

1.7.30

5 years ago

1.7.29

5 years ago

1.7.28

5 years ago

1.7.27

5 years ago

1.7.26

5 years ago

1.7.25

5 years ago

1.7.24

5 years ago

1.7.23

5 years ago

1.7.22

5 years ago

1.7.21

5 years ago

1.7.20

5 years ago

1.7.19

5 years ago

1.7.18

5 years ago

1.7.17

5 years ago

1.7.16

5 years ago

1.7.15

5 years ago

1.7.14

5 years ago

1.7.13

5 years ago

1.7.11

5 years ago

1.7.10

5 years ago

1.7.9

5 years ago

1.7.8

5 years ago

1.7.7

5 years ago

1.7.6

5 years ago

1.7.5

5 years ago

1.7.4

5 years ago

1.7.3

5 years ago

1.7.2

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.7

5 years ago

1.5.6

5 years ago

1.5.5

5 years ago

1.5.4

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.9

5 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

0.14.4

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.14.3

6 years ago

0.14.2

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.7

6 years ago

0.13.6

6 years ago

0.13.5

6 years ago

0.13.4

6 years ago

0.13.3

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.2-alpha.0

6 years ago

0.8.10-alpha.2

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.10-alpha.1

6 years ago

0.8.10-alpha.0

6 years ago

0.8.9

6 years ago

0.8.8

6 years ago

0.8.7

6 years ago

0.8.6

6 years ago

0.8.5

6 years ago

0.8.4

6 years ago

0.8.3

6 years ago

0.8.2

6 years ago

0.8.1

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.14

6 years ago

0.6.13

6 years ago

0.6.12

6 years ago

0.6.11

6 years ago

0.6.10

6 years ago

0.6.9

6 years ago

0.6.8

6 years ago

0.6.7

6 years ago

0.6.6

6 years ago

0.6.5

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.115

7 years ago

0.0.114

7 years ago

0.0.111

7 years ago

0.0.110

7 years ago

0.0.109

7 years ago

0.0.108

7 years ago

0.0.107

7 years ago

0.0.105

7 years ago

0.0.102

7 years ago

0.0.101

7 years ago

0.0.98

7 years ago

0.0.97

7 years ago

0.0.96

7 years ago

0.0.95

7 years ago

0.0.94

7 years ago

0.0.92

7 years ago

0.0.91

7 years ago

0.0.90

7 years ago

0.0.89

7 years ago

0.0.88

7 years ago

0.0.87

7 years ago

0.0.83

7 years ago

0.0.82

7 years ago

0.0.79

7 years ago

0.0.77

7 years ago

0.0.75

7 years ago

0.0.71

7 years ago

0.0.69

7 years ago

0.0.68

7 years ago

0.0.65

7 years ago

0.0.64

7 years ago

0.0.62

7 years ago

0.0.61

7 years ago

0.0.57

7 years ago

0.0.56

7 years ago

0.0.54

7 years ago

0.0.53

7 years ago