Skip to main content

shared cicd tooling

Project description

tools-cicd

share cicd scripts

Running tool locally

Example:

AWS_PROFILE=dev-admin-terraform poetry run cicd --help

Release Procedures

  • This project uses "trunk" based development off of master.
  • PRs are allowed but always folded back to master.
  • For now, releasing is manual, no automation.
  • To release:
    • Ensure all your features are ready on master
      • You should not have any staged changes!
    • In a terminal run make version v={major|minor|patch}
      • Do not include a number! Poetry will auto-rev the value accordingly
    • That's it
      • This will create a new tag in Git ready for use

Multi-Repository Release Coordination

The quest-v2 project includes a coordinated release script that allows you to trigger deployments across all related Quest v2 repositories simultaneously, rather than having to manually trigger each repository's release workflow individually.

Prerequisites

  1. GitHub CLI: Install the GitHub CLI tool

    # macOS
    brew install gh
    
    # Ubuntu/Debian
    sudo apt install gh
    
    # Windows
    winget install GitHub.cli
    
  2. Authentication: Authenticate with GitHub

    gh auth login
    
  3. Script Setup: Navigate to the quest-v2 directory and make the script executable

    cd quest-v2
    chmod +x release-all.sh
    

Usage

From the quest-v2 directory, the script supports promoting from develop to qa:

# Promote to QA
./release-all.sh

# Show help and options
./release-all.sh --help

What it does

The script will:

  1. Trigger the "Release" workflow on all three Quest v2 repositories:
    • allfly-quest-ui
    • allfly-quest-core-api
    • gds-api
  2. Promote code from develop branch to qa
  3. Provide real-time status updates and links to monitor progress
  4. Display a summary of successful and failed releases

Monitoring

After triggering the releases, you can monitor progress through:

  • The provided GitHub Actions URLs in the script output
  • GitHub's Actions tab in each repository
  • Your configured Slack notifications (if enabled)

Note: The script requires appropriate permissions to trigger workflows on all three Quest v2 repositories. Ensure your GitHub account has the necessary access rights.

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

af_cicd-0.1.4.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

af_cicd-0.1.4-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file af_cicd-0.1.4.tar.gz.

File metadata

  • Download URL: af_cicd-0.1.4.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for af_cicd-0.1.4.tar.gz
Algorithm Hash digest
SHA256 565dff7afde2733b1b7c525ce7a5e4f2c92a579ffe2ddc4b63588370f1c4c95f
MD5 7d56fa3ff90172060cb556428c2ffed4
BLAKE2b-256 78f5febd16de18fd88fa066379453c3d7a79c8aa4f22823efd560a4bba0c5d84

See more details on using hashes here.

Provenance

The following attestation bundles were made for af_cicd-0.1.4.tar.gz:

Publisher: publish.yml on travelallfly/tools-cicd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file af_cicd-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: af_cicd-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for af_cicd-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 14345af4998a1efae883a77ded774755fa7fd3628cf23b96a715c756424b69d1
MD5 8441390a8d90095e55475a1e174af0e2
BLAKE2b-256 202f67d72291b67b32c3a89fd6742836924db0c30618da3d0d217ef23768e7f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for af_cicd-0.1.4-py3-none-any.whl:

Publisher: publish.yml on travelallfly/tools-cicd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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