Update our Pulumi preview test to accommodate shallow clones
@@ -176,8 +176,11 @@ steps:
- PULUMI_ACCESS_TOKEN
- improbable-eng/metahook#v0.4.1:
pre-command: |
- # This is slightly hacky, but means we don't need to build packages locally first
- git fetch origin rc
+ # This is slightly hacky, but means we don't need to build
+ # packages locally first. The `set-branches` and
+ # `--depth=1` are to account for us using shallow clones
+ git remote set-branches --add origin rc
+ git fetch --depth=1 origin rc
git show origin/rc:pulumi/grapl/Pulumi.testing.yaml > pulumi/grapl/Pulumi.testing.yaml
- grapl-security/pulumi#v0.1.2:
command: preview
