Skip to content

werf/trdl-actions

Repository files navigation

trdl

___

This repository allows you to organize CI/CD with GitHub Actions and trdl.

Ready-to-use GitHub Actions Workflows for different CI/CD workflows.

- name: Install trdl
  uses: werf/trdl-actions/install@v2
  inputs:
    channel: ...
    version: ...

- name: Setup werf
  uses: werf/trdl-actions/setup-repo@v2
  inputs:
    app: werf

- name: Run werf
  run: |
    . $(trdl use werf 2 alpha)
    . $(werf ci-env github --as-file)
    werf converge
  env:
    WERF_KUBECONFIG_BASE64: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
    WERF_ENV: production
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Versioning

When using action, select the version corresponding to the required MAJOR version of trdl.

By default, the action installs actual trdl version within stable channel (more details about channels, trdl release cycle and compatibility promise here). Using the channel input the user can switch the release channel.

This is recommended approach to be up-to-date and to use actual trdl version without changing configurations.

- uses: werf/trdl-actions/install@v2
  with:
    channel: stable

Withal, it is not necessary to work within release channels, and the user might specify certain trdl version with version input.

- uses: werf/trdl-actions/install@v2
  with:
    version: v2.1.0

License

Apache License 2.0, see LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published