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.8.tar.gz (18.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.8-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: af_cicd-0.1.8.tar.gz
  • Upload date:
  • Size: 18.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.8.tar.gz
Algorithm Hash digest
SHA256 34a8625c7375fa949dcb2be29d0ec243b71ae8cb1fdae2e18609a61bb6feba26
MD5 31a3a95e44a39d05bf37b2153724befa
BLAKE2b-256 fc8307df720167fcb3ed8879216617339f8220ce8108b3dbc9962c7385a4890f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: af_cicd-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 24.3 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 37b2d869ffb01aac21f2f4390df0605de0aabeb61573e6dce6175e9c2fe06ac7
MD5 2c79a61723a279ecb62b67c7686c1d3f
BLAKE2b-256 0a4d7ded291e87cf7d0b250d36ee35024b6119c6da7541cb874d484a38860955

See more details on using hashes here.

Provenance

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