Coder Social home page Coder Social logo

luto65 / devops-docker-cf-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sap/devops-docker-cf-cli

0.0 0.0 0.0 17 KB

Dockerfile for the Cloud Foundry command line client that can be used in Continuous Delivery pipelines for SAP development projects with project "Piper" or any other CD tool.

License: Apache License 2.0

Dockerfile 54.00% Shell 46.00%

devops-docker-cf-cli's Introduction

Cloud Foundry Command Line Interface (CLI)

This Dockerfile can be used in Continuous Delivery (CD) pipelines for SAP development projects. The image is optimized for use with project "Piper" on Jenkins. Docker containers simplify your CD tool setup, encapsulating tools and environments that are required to execute pipeline steps.

If you want to learn how to use project "Piper" please have a look at the documentation. Introductory material and a lot of SAP scenarios not covered by project "Piper" are described in our Continuous Integration Best Practices.

About this repository

Dockerfile for an image with the Cloud Foundry CLI and plugins for blue-green deployment and Multi-Target Applications (MTA).

Download

This image is published to Docker Hub and can be pulled via the command

docker pull ppiper/cf-cli

Build

To build this image locally, open a terminal in the directory of the Dockerfile and run

docker build -t ppiper/cf-cli .

Usage

Recommended usage of this image is via cloudFoundryDeploy pipeline step.

For using the cf tool via this image, it can be invoked like in this command

docker run ppiper/cf-cli cf --help

Testing

Running as a Service

See .travis.yml file for configuration.

Configure the following variables (secrets)

  • CX_INFRA_IT_CF_USERNAME (user name for deployment to SAP Cloud Platform)
  • CX_INFRA_IT_CF_PASSWORD (password for deployment to SAP Cloud Platform)

Running locally

Docker is required, and at least 4 GB of memory assigned to Docker.

export CX_INFRA_IT_CF_USERNAME="myusername"
export CX_INFRA_IT_CF_PASSWORD="mypassword"
./runTests.sh

License

Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.

Please note that Docker images can contain other software which may be licensed under different licenses. This License file is also included in the Docker image. For any usage of built Docker images please make sure to check the licenses of the artifacts contained in the images.

devops-docker-cf-cli's People

Contributors

1084565 avatar fwilhe avatar misappi avatar rodibrin 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.