Skip to content
Snippets Groups Projects
Select Git revision
  • d4f2572651e28c21a2e399a9eae8a0283d8fbde6
  • main default protected
  • renovate/main-linters
  • renovate/main-ghcr.io-renovatebot-base-image-10.x
  • renovate/main-ghcr.io-containerbase-devcontainer-13.x
  • next
  • revert-31645-feat/rename-gradle-wrapper-validation-action
  • renovate/main-redis-5.x
  • fix/36615b-branch-reuse-no-cache
  • chore/punycode
  • fix/36615-branch-reuse-bug
  • refactor/pin-new-value
  • feat/36219--git-x509-signing
  • feat/structured-logger
  • hotfix/39.264.1
  • feat/skip-dangling
  • gh-readonly-queue/next/pr-36034-7a061c4ca1024a19e2c295d773d9642625d1c2be
  • hotfix/39.238.3
  • refactor/gitlab-auto-approve
  • feat/template-strings
  • gh-readonly-queue/next/pr-35654-137d934242c784e0c45d4b957362214f0eade1d7
  • 41.24.0
  • 41.23.5
  • 41.23.4
  • 41.23.3
  • 41.23.2
  • 41.23.1
  • 41.23.0
  • 41.22.0
  • 41.21.4
  • 41.21.3
  • 41.21.2
  • 41.21.1
  • 41.21.0
  • 41.20.2
  • 41.20.1
  • 41.20.0
  • 41.19.0
  • 41.18.4
  • 41.18.3
  • 41.18.2
41 results

package-rules.js

Blame
  • test.sh NaN GiB
    #!/usr/bin/env bash
    set -e
    # only exit with zero if all commands of the pipeline exit successfully
    set -o pipefail
    
    # Make sure to use project tooling
    PATH="$(pwd)/tmp/bin:${PATH}"
    
    for i in examples/jsonnet-snippets/*.jsonnet; do
        [ -f "$i" ] || break
        echo "Testing: ${i}"
        echo ""
        fileContent=$(<"$i")
        snippet="local kp = $fileContent;
    
    $(<examples/jsonnet-build-snippet/build-snippet.jsonnet)"
        echo "${snippet}" > "test.jsonnet"
        echo "\`\`\`"
        echo "${snippet}"
        echo "\`\`\`"
        echo ""
        jsonnet -J vendor "test.jsonnet" > /dev/null
        rm -rf "test.jsonnet"
    done
    
    for i in examples/*.jsonnet; do
        [ -f "$i" ] || break
        echo "Testing: ${i}"
        echo ""
        echo "\`\`\`"
        cat "${i}"
        echo "\`\`\`"
        echo ""
        jsonnet -J vendor "${i}" > /dev/null
    done