Hi, I added below canIDeploy stage in my gitlab pi...
# general
s
Hi, I added below canIDeploy stage in my gitlab pipeline. I can see the installation log as "pact-ruby-standalone v2.0.7 installed to /builds/xrGFoCjz/0/mpl/jetdelivery/pact" But then, the pipeline fails due to to error -> "/builds/xrGFoCjz/0/mpl/jetdelivery/pact/lib/ruby/bin/ruby: exec: line 6: /builds/xrGFoCjz/0/mpl/jetdelivery/pact/lib/ruby/bin.real/ruby: not found"
Copy code
canIDeploy:
    stage: canIDeploy
    before_script:
        - apk add bash
        - apk add curl
    needs:
        - test
    script:
        - curl -fsSL <https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh> | PACT_CLI_VERSION=v2.0.7 bash
        - ./pact/bin/pact-broker can-i-deploy --pacticipant Foo --latest
    tags:
        - k8s
blobwave 1
y
s
Thank you! I guess it would be easier to try a debian image grill (if its possible for us)
no problem 1
y
it would yes, the ruby runtime is built on centos7 (with glibc) and the later rust core, is available with a musl version but this isn’t included in many of the client libraries, so we recommend debian slim based images for light weight images
🙌 1