Skip to main content

Deploy any code anywhere

Project description

Nymbus

Deploy any code anywhere

Usage

Run

You can run

nymbus run [--step STEP] <component> <env>

To execute the steps specified in ./<component>/<env>.nymbus.yml

Folder and file structure

Complete example in https://github.com/nymbus-tools/nymbus/src/nymbus/tests/data/simple_project

Each folder MUST have a default.nymbus.yml to be explored (even the root one of your components).

Nymbus files will be merged (first default.nymbus.yml, then <env>.nymbus.yml)

# Optional: environment variables for all the steps
env:
  PROJECT: project-dev
  SECRET: ${DEV_SECRET}  # This will be taken at runtime

# Optional: path to context, i.e. folder that will be visible to command
context: ../../

# Step definitions
steps:

  # Name of step
  build:
    env:
      STANDARD: low
      CLOUDSDK_CONFIG: /gcloud
      
    # Command to execute
    # (if not specified and image is specified, will be /mnt/.nymbus/template/nymbus.sh)
    command: ls -la /mnt/.nymbus/template
    
    # Optional: an image where to run the command
    # !!!MUST HAVE DOCKER INSTALLED!!!
    image: 
      name: google/cloud-sdk:159.0.0
      # Optional extra volumes to mount
      volumes:
        ~/AppData/Roaming/gcloud:
            bind: /gcloud
            mode: ro
    
    # Optional: a git repo containing scripts to run
    # mounted in /mnt/.nymbus/template
    # !!!MUST HAVE GIT INSTALLED!!!
    # !!!WORKING JUST IN CASE OF DOCKER!!!
    template:
      repository: git@github.com:nymbus-tools/nymbus.git  # or https://
      tag: feat/init  # or branch (default: master)
    
  # Name of step
  other:
    command: echo ok

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nymbus-0.0.1.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file nymbus-0.0.1.tar.gz.

File metadata

  • Download URL: nymbus-0.0.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for nymbus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 66f152ab07ca5bc242539ffcb51a995efd07e48499e73e2b4af90a68b6127660
MD5 96233d40fa7bc08a3659a3282fca2a08
BLAKE2b-256 09e4f7cee95826a1c2fdfd485e1ccfc400e6a389f3481b8977481fb114a5000f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page