Skip to content

s3#

Note

This pipeline is experimental and its API may break without warning.

Overview#

Publish assets to an S3 bucket.

Includes#

A pipeline with everything enabled:

include:
  - project: brettops/pipelines/python
    file:
      - s3-sync-latest.yml
      - s3-sync-stable.yml
      - s3-sync-tag.yml

Usage#

To publish the latest commit on your default branch to a latest version:

gitlab-ci.yml
include:
  - project: brettops/pipelines/s3
    file:
      - s3-sync-latest.yml

To publish the latest tagged release to a stable version:

gitlab-ci.yml
include:
  - project: brettops/pipelines/s3
    file:
      - s3-sync-stable.yml

To publish the current tag as a standalone release:

gitlab-ci.yml
include:
  - project: brettops/pipelines/s3
    file:
      - s3-sync-tag.yml

To do something else:

gitlab-ci.yml
include:
  - project: brettops/pipelines/s3
    file:
      - s3-sync.yml