CircleCI-Archived / Orb-Project-Template

A starter template for orb projects. Build, test, and publish orbs automatically on CircleCI. Use the Orb Development Kit to get started.
https://circleci.com/docs/2.0/orb-author/#orb-development-kit
MIT License
24 stars 34 forks source link

allow include python script #25

Closed adecchi-2inno closed 2 years ago

adecchi-2inno commented 3 years ago

Describe Request:

Allow to execute python script command like actually do with bash.

Example:

` parameters: to: type: string default: "World" description: "Hello to whom?" steps:

felixshiftellecon commented 2 years ago

I know this is an older issue but wanted to mention that python scripts can be used with include by setting the shell environment to python.

steps:
  - run:
      name: Python Greeting
      shell: /usr/bin/env python3
      command: <<include(scripts/greet.py)>>
Jaryt commented 2 years ago

Not an issue, but could have documentation improvements surrounding this. Closing in favor of new issue created ^