Skip to content

tliron/setup-puccini

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Setup Puccini TOSCA GitHub Action

Installs Puccini in your GitHub action runner, allowing you to validate and compile TOSCA and CSAR.

Here's an example of using it to validate TOSCA on every push. The file would be .github/workflows/validate-tosca.yaml in a git repository:

name: Validate TOSCA
on: [push]
jobs:
  CompileTOSCA:
    runs-on: ubuntu-latest
    steps:
    - name: Setup Puccini
      uses: tliron/setup-puccini@v1
      with:
        version: main
    - name: Check out repository code
      uses: actions/checkout@v3
    - name: Compile TOSCA
      run: puccini-tosca compile --coerce ${{ github.workspace }}/my-tosca.yaml

Note that version is optional, with the default being main, which will install the latest HEAD commit. You can use any version tag (or branch name) instead from the Puccini repository.

See this example repository.

About

GitHub action to setup Puccini in your runner

Resources

License

Stars

Watchers

Forks

Packages

No packages published