Skip to content

v0.11.1 - Credential Management & PyPI Publishing

Choose a tag to compare

@acedrew acedrew released this 02 Nov 17:49
· 11 commits to main since this release

ace-skyspark-cli v0.11.1

πŸŽ‰ New Features

Flexible Credential Management

  • Job File Credentials: Add credentials to job configuration files for environment-specific setups
  • CLI Credential Options: Override credentials with global flags:
    • --flightdeck-jwt, --flightdeck-api-url
    • --skyspark-url, --skyspark-project, --skyspark-user, --skyspark-password
  • Credential Precedence: CLI args > Job file > Environment variables > Defaults

Enhanced Job Configuration

  • All job templates now include credentials section
  • Individual command templates (--command sync, --command write-history, etc.) include credentials
  • Credentials are optional in job files (can still use env vars)

πŸ“š Documentation

  • Comprehensive README with installation, quick start, and all commands documented
  • Job Configuration Guide updated with credentials section and security best practices
  • Release process documentation (RELEASE.md)
  • MIT License added

πŸ—οΈ Infrastructure

  • GitHub Actions CI/CD workflows
  • Automated testing on push/PR
  • Multi-platform testing (Ubuntu, macOS, Windows)
  • Automated publishing to TestPyPI (on tag push) and PyPI (on release)

πŸ“¦ Package Improvements

  • Enhanced PyPI metadata (keywords, classifiers, project URLs)
  • Proper package description and license
  • Ready for public PyPI distribution

πŸ”§ Examples

Using CLI credential options:

ace-skyspark-cli --flightdeck-jwt "your-token" \
                 --skyspark-project "production" \
                 sync --site "Building A"

Using job file with credentials:

credentials:
  flightdeck_jwt: your-jwt-token
  skyspark_url: http://localhost:8080/api
  skyspark_project: myProject
  skyspark_user: admin
  skyspark_password: secret

sync:
  site: Building A
  dry_run: false

πŸ“– Documentation

πŸ” Security Best Practice

Never commit credentials to git! Use environment variables for secrets and job files for non-sensitive configuration.

Installation

pip install ace-skyspark-cli==0.11.1

Python Support

  • Python 3.13+