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.5.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.5-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: af_cicd-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 aa1d19aeec3c601d8fe155e24e741dda2f565813fa27538c06ac6cf3dfa6ce76
MD5 49d89b63aedecb481db9eb97a78752fc
BLAKE2b-256 0f68a1ffc57a111cbe920cbd01b9629076fd18a50de1fc75e4de8d7e3bc5552e

See more details on using hashes here.

Provenance

The following attestation bundles were made for af_cicd-0.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: af_cicd-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 22.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 485f5b33831571becb941452b47dd89b7e1ac782f1cea6a477b76a7761b7ec0b
MD5 9450cd066cba3a6f986c67f05997ca1f
BLAKE2b-256 24a89487eb149f0daf56761e0cf0cbb69fd4601c8bc6ed65247d3012518bfdcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for af_cicd-0.1.5-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