share/ramble/cloud-build/tutorials/ramble-tutorial-2.yaml [10:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
steps:
  - name: gcr.io/cloud-builders/git
    args:
      - fetch
      - '--unshallow'
    id: ramble-clone
  - name: us-central1-docker.pkg.dev/$PROJECT_ID/ramble-repo/ramble-${_BASE_IMG}-${_BASE_VER}-spack${_SPACK_REF}-python${_PYTHON_VER}:latest
    args:
      - '-c'
      - |
        cd /workspace

        . /opt/spack/share/spack/setup-env.sh

        spack load py-pip ^python

        pip install -r /workspace/requirements-dev.txt

        export SPACK_PYTHON=`which python3`

        . /workspace/share/ramble/setup-env.sh

        echo "Spack version is $(spack --version)"
        echo "Python version is $(python3 --version)"

        spack mirror add ci_cache ${_CI_CACHE}
        spack buildcache keys --install --trust

        set -e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



share/ramble/cloud-build/tutorials/ramble-tutorial-4.yaml [10:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
steps:
  - name: gcr.io/cloud-builders/git
    args:
      - fetch
      - '--unshallow'
    id: ramble-clone
  - name: us-central1-docker.pkg.dev/$PROJECT_ID/ramble-repo/ramble-${_BASE_IMG}-${_BASE_VER}-spack${_SPACK_REF}-python${_PYTHON_VER}:latest
    args:
      - '-c'
      - |
        cd /workspace

        . /opt/spack/share/spack/setup-env.sh

        spack load py-pip ^python

        pip install -r /workspace/requirements-dev.txt

        export SPACK_PYTHON=`which python3`

        . /workspace/share/ramble/setup-env.sh

        echo "Spack version is $(spack --version)"
        echo "Python version is $(python3 --version)"

        spack mirror add ci_cache ${_CI_CACHE}
        spack buildcache keys --install --trust

        set -e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



