1.1.0-ipcrm-multi-registry.20190212143411 • Published 7 years ago

@atomist/sdm-pack-docker v1.1.0-ipcrm-multi-registry.20190212143411

Weekly downloads
18
License
Apache-2.0
Repository
github
Last release
7 years ago

@atomist/sdm-pack-docker

atomist sdm goals npm version

Atomist software delivery machine (SDM) extension Pack for an Atomist SDM to integrate docker.

See the Atomist documentation for more information on what SDMs are and what they can do for you using the Atomist API for software.

Usage

Configuration Reference:

{
  ...
  sdm: {
    "docker": {
      "build": {
        "push": boolean // Optional. Enable or disable pushes of images.
      },
      "tag": {
        "latest": boolean // Optional. Should new images also be tagged with latest
      }
    },
    "cache": {
      "enabled": boolean // Optional. Enable or disable caching support (specific to kaniko)
      "path": string // Optionally configure a new FS location for the cache path.  Defaults to /opt/data
    },
    "dockerinfo": {
       "registries": [
         { // Docker hub example
           "username": string, // Optional
           "password": string, // Optional
           "url": "registry.hub.docker.com/<user/org>",         // Full path to your registry - including user/org
           "displayUrl": "https://hub.docker.com/r/<user/org>", // Optional.  Customized display URL.  Will replace url.
           "displayBrowsePath": "/tags",                        // Optional.  Customized suffix.  Will replace :<version> in the full image tag
           "label": "Dockerhub",                                // Optional.  Display a friendly name for this docker registry (otherwise use full url)
           "display": true                                      // Optional.  Should we include this link with the goal externalUrls
         },
         { // GCR Example
           "url": "gcr.io/<your project name>-<your project id>",
           "display": true,
           "label": "GCR",
           "displayUrl": "https://console.cloud.google.com/gcr/images/<your project name>-<your project id>/GLOBAL",
           "displayBrowsePath": "?project=<your project id>&gcrImageListsize=30"
         }
       ]
    }
  }

}

Support

General support questions should be discussed in the #support channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install Node to build and test this project.

Build and test

Use the following package scripts to build, test, and perform other development tasks.

CommandReason
npm installinstall project dependencies
npm run buildcompile, test, lint, and generate docs
npm run lintrun TSLint against the TypeScript
npm run compilegenerate types from GraphQL and compile TypeScript
npm testrun tests
npm run autotestrun tests every time a file changes
npm run cleanremove files generated during build

Release

Releases are handled via the Atomist SDM. Just press the 'Approve' button in the Atomist dashboard or Slack.


Created by Atomist. Need Help? Join our Slack workspace.

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0-RC.2

7 years ago

1.0.0-RC.1

7 years ago

1.0.0-M.5

7 years ago

1.0.0-M.4

7 years ago

1.0.0-M.3

7 years ago