All Projects → odlp → antifreeze

odlp / antifreeze

Licence: MIT license
Cloud Foundry CLI plugin to detect if an app doesn't match the manifest

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to antifreeze

Cli
The official command line client for Cloud Foundry
Stars: ✭ 1,613 (+7580.95%)
Mutual labels:  cloud-foundry, cloud-foundry-cli
cf-tools
Useful shell scripts for Cloud Foundry API v2
Stars: ✭ 22 (+4.76%)
Mutual labels:  cloud-foundry, cloudfoundry
cf-cli-resource
Cloud Foundry CLI Concourse Resource
Stars: ✭ 46 (+119.05%)
Mutual labels:  cloud-foundry, cloud-foundry-cli
heroku-buildpack-deno
Heroku Buildpack for Deno
Stars: ✭ 72 (+242.86%)
Mutual labels:  cloud-foundry, cloudfoundry
cf-rabbitmq-release
A BOSH Release of RabbitMQ
Stars: ✭ 29 (+38.1%)
Mutual labels:  cloud-foundry, pcf
cf-nodejs-logging-support
Node.js Logging Support for Cloud Foundry provides the creation of structured log messages and the collection of request metrics
Stars: ✭ 39 (+85.71%)
Mutual labels:  cloud-foundry
cloud-cap-multitenancy
SAP Cloud Application Programming Model (CAP) sample code project with multitenancy using service manager-created SAP HANA containers for tenant data isolation.
Stars: ✭ 33 (+57.14%)
Mutual labels:  cloud-foundry
cf-abacus
CF usage metering and aggregation
Stars: ✭ 100 (+376.19%)
Mutual labels:  cloudfoundry
Connectors
Connectors simplify connecting to standalone and CloudFoundry services
Stars: ✭ 28 (+33.33%)
Mutual labels:  cloud-foundry
minio-boshrelease
MinIO release for http://bosh.io/
Stars: ✭ 31 (+47.62%)
Mutual labels:  cloud-foundry
cf-python-client
Small cloudfoundry client implemented in python
Stars: ✭ 50 (+138.1%)
Mutual labels:  cloudfoundry
bbr-pcf-pipeline-tasks
Collection of Concourse tasks for backing up a Tanzu Application Service (TAS) installation using BOSH Backup and Restore (BBR)
Stars: ✭ 39 (+85.71%)
Mutual labels:  cloudfoundry
watson-waste-sorter
Create an iOS phone application that sorts waste into three categories (landfill, recycling, compost) using a Watson Visual Recognition custom classifier
Stars: ✭ 45 (+114.29%)
Mutual labels:  cloud-foundry
spring-boot-cities-service
A Spring Boot + Spring Data + Spring Cloud Connectors demo app
Stars: ✭ 13 (-38.1%)
Mutual labels:  cloud-foundry
bosh exporter
BOSH Prometheus Exporter
Stars: ✭ 22 (+4.76%)
Mutual labels:  cloud-foundry
mssql-server-broker
Cloud Foundry service broker for Microsoft SQL Server
Stars: ✭ 13 (-38.1%)
Mutual labels:  cloudfoundry
go-cfclient
Golang client lib for Cloud Foundry
Stars: ✭ 61 (+190.48%)
Mutual labels:  cloudfoundry
cloud-espm-cloud-native
Enterprise Sales and Procurement Model (ESPM) Cloud Native is a project that showcases how an application can be made resilient by implementing resilience design patterns. This application is developed using Spring Boot framework and can be deployed locally as well as on SAP BTP, Cloud Foundry environment.
Stars: ✭ 29 (+38.1%)
Mutual labels:  cloud-foundry
kiln
Kiln helps you maintain product tiles for VMware Tanzu Operations Manager.
Stars: ✭ 23 (+9.52%)
Mutual labels:  pivotal
hammer
Wrapper CLI for interacting with OM, BOSH and others for PCF environments
Stars: ✭ 14 (-33.33%)
Mutual labels:  pcf

Antifreeze

Build Status

Cloud Foundry CLI plugin to detect if an app has unexpected ENV vars or services bound which are missing from the manifest. Eliminate the snowflake!

Doubleplusgood with Autopilot, a CF CLI plugin for zero downtime application deploys, which demands an up-to-date manifest file.

Installation

# For MacOS:
cf install-plugin https://github.com/odlp/antifreeze/releases/download/v0.4.0/antifreeze-darwin

# For Linux
cf install-plugin https://github.com/odlp/antifreeze/releases/download/v0.4.0/antifreeze-linux

# For Windows
cf install-plugin https://github.com/odlp/antifreeze/releases/download/v0.4.0/antifreeze.exe

Alternatively download the latest release and place the binary on your path, e.g. /usr/local/bin/antifreeze. Then run:

cf install-plugin /usr/local/bin/antifreeze

Or if you have go installed:

go get -u github.com/odlp/antifreeze
cf install-plugin $GOPATH/bin/antifreeze

Usage

cf check-manifest your-app-name -f manifest.yml

When your app has unexpected ENV vars or services you'll see output like this:

Running check-manifest...

App 'your-app-name' has unexpected ENV vars (missing from manifest ./manifest.yml):
- SNOW_FLAKE_VAR

App 'your-app-name' has unexpected services (missing from manifest ./manifest.yml):
- surprise-service

And the check-manifest command will exit with a non-zero status.

Example with Autopilot

Your deployment script could include:

#!/bin/bash

set -e

cf check-manifest your-app-name -f manifest.yml
cf zero-downtime-push your-app-name -f manifest.yml

Development

Clone the project & run the following:

./scripts/setup

Then you can run tests:

./scripts/test

And build & install locally to give any changes a spin:

./scripts/install-local
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].