github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/circle/testdata/orbs/browsers.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: test
     5      spec:
     6        platform:
     7          arch: amd64
     8          os: linux
     9        runtime:
    10          spec: {}
    11          type: cloud
    12        steps:
    13        - name: install_browser_tools
    14          spec:
    15            envs:
    16              HOME: /root
    17              ORB_PARAM_CHROME_VERSION: latest
    18              ORB_PARAM_DRIVER_INSTALL_DIR: /usr/local/bin
    19              ORB_PARAM_FIREFOX_INSTALL_DIR: /usr/local/bin
    20              ORB_PARAM_FIREFOX_VERSION: latest
    21              ORB_PARAM_GECKO_INSTALL_DIR: /usr/local/bin
    22              ORB_PARAM_GECKO_VERSION: latest
    23            run: curl https://raw.githubusercontent.com/CircleCI-Public/browser-tools-orb/vx.y/src/scripts/install-firefox.sh
    24              | bash && curl https://raw.githubusercontent.com/CircleCI-Public/browser-tools-orb/vx.y/src/scripts/install-geckodriver.sh
    25              | bash && curl https://raw.githubusercontent.com/CircleCI-Public/browser-tools-orb/vx.y/src/scripts/install-chrome.sh
    26              | bash && curl https://raw.githubusercontent.com/CircleCI-Public/browser-tools-orb/vx.y/src/scripts/install-chromedriver.sh
    27              | bash
    28          type: script
    29        - name: Check install
    30          spec:
    31            run: |
    32              set -eo pipefail
    33              google-chrome --version
    34              chromedriver --version
    35              firefox --version
    36            shell: bash
    37          type: script
    38      type: ci
    39  version: 1