Skip to main content

AWS CodeBuild/CodeDeploy triggers & updates to Slack with a cool Progress Bar!

Project description

awslack

How this would look in Slack:

aws-deployments-test APP  12:02 AM
    ████████████████████ 100.0%
    00:02:12 - [Build: project-name BuildStatus=IN_PROGRESS!]
    00:02:17 - [Build's Phase: SUBMITTED PhaseStatus=SUCCEEDED]
    00:02:18 - [Build's Phase: QUEUED PhaseStatus=SUCCEEDED]
    00:02:48 - [Build's Phase: PROVISIONING PhaseStatus=SUCCEEDED]
    00:02:53 - [Build's Phase: DOWNLOAD_SOURCE PhaseStatus=SUCCEEDED]
    00:03:14 - [Build's Phase: INSTALL PhaseStatus=SUCCEEDED]
    00:03:19 - [Build's Phase: PRE_BUILD PhaseStatus=SUCCEEDED]
    00:05:00 - [Build's Phase: BUILD PhaseStatus=SUCCEEDED]
    00:05:31 - [Build's Phase: POST_BUILD PhaseStatus=SUCCEEDED]
    00:05:36 - [Build: project-name BuildStatus=SUCCEEDED!] (edited)

Run script by:

python3 awslack/code_build.py \
    --slack_token <...SLACK_TOKEN_HERE> \
    --channel_name <...SLACK_CHANNEL_NAME_HERE> \
    --project_name <...AWS_CODE_BUILD_PROJECT_NAME_HERE>

More coming soon...

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

awsslack-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

awsslack-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file awsslack-0.1.0.tar.gz.

File metadata

  • Download URL: awsslack-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.8.10 Linux/5.15.0-1028-aws

File hashes

Hashes for awsslack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f3f2b889461f406f99e9e249a1fe40ace10a5578ff2de9e2907f8fa7eecc5e67
MD5 6a9ab02355e10152d90c135918986a45
BLAKE2b-256 6f0361160dc03f61be15f360d5741ac648acd027779cf6b213f27eab7b8ac82b

See more details on using hashes here.

File details

Details for the file awsslack-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: awsslack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.8.10 Linux/5.15.0-1028-aws

File hashes

Hashes for awsslack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e2f7cf1e5128fe6ff90251d5cc62ea7e47369d7b6a125e5d55f96d1becc5500
MD5 64d593aa0fb45a99173d153e42c1cff9
BLAKE2b-256 0f59b79041e2812fbd4ee57c970bbdc07a611fb1ce12ec899b9c0d7460f853ec

See more details on using hashes here.

Supported by

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