Skip to content

Commit 3116aec

Browse files
authored
upgrade pulumi version to 1.12.0 (sourcegraph#544)
1 parent 1b37067 commit 3116aec

File tree

16 files changed

+431
-162
lines changed

16 files changed

+431
-162
lines changed

.buildkite/hooks/pre-command

100644100755
Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
#!/usr/bin/env bash
22

33
set -eu
4-
cd $BUILDKITE_BUILD_CHECKOUT_PATH
4+
pushd $(dirname "${BASH_SOURCE[0]}")/../..
55

6-
echo "Installing asdf dependencies as defined in '$BUILDKITE_BUILD_CHECKOUT_PATH/.tool-versions':"
7-
asdf install
6+
TOOL_VERSION_FILES=()
7+
mapfile -d $'\0' TOOL_VERSION_FILES < <(fd .tool-versions --hidden --absolute-path --print0)
88

9-
asdf global kubectl 1.17.3
9+
for file in "${TOOL_VERSION_FILES[@]}"
10+
do
11+
echo "Installing asdf dependencies as defined in ${file}:"
12+
parent=$(dirname "${file}")
13+
pushd "${parent}"
14+
15+
asdf install
16+
17+
popd
18+
done
1019

20+
popd

.buildkite/pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ steps:
55
command: .buildkite/verify-label.sh
66
- label: ":k8s:"
77
command: .buildkite/verify-rbac-labels.sh
8+
- label: ':lipstick:'
9+
command: .buildkite/prettier-check.sh
810

911
- wait
1012

.buildkite/prettier-check.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
cd $(dirname "${BASH_SOURCE[0]}")/..
4+
set -euxo pipefail
5+
6+
cd tests/integration/fresh/step1
7+
8+
yarn
9+
10+
yarn run prettier-check

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.16.1

.tool-versions

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
golang 1.14
2+
yarn 1.22.4
3+
kubectl 1.17.3
4+
pulumi 1.12.0
5+
fd 7.4.0

.tools-versions

Lines changed: 0 additions & 3 deletions
This file was deleted.

go.mod

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
module github.com/sourcegraph/deploy-sourcegraph
22

3-
go 1.13
3+
go 1.14
44

55
require (
66
github.com/docker/docker v1.13.1 // indirect
77
github.com/frankban/quicktest v1.4.2
8-
github.com/pulumi/pulumi v1.0.0
8+
github.com/pulumi/pulumi v1.12.0
99
github.com/sethgrid/pester v0.0.0-20190127155807-68a33a018ad0
10-
github.com/stretchr/testify v1.4.0 // indirect
11-
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect
12-
google.golang.org/appengine v1.5.0 // indirect
1310
)
1411

15-
replace golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373 => golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7
12+
replace github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible

go.sum

Lines changed: 154 additions & 104 deletions
Large diffs are not rendered by default.

tests/integration/fresh/step1/.nvrmc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.16.1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
yarn 1.22.4
2+
pulumi 1.12.0

0 commit comments

Comments
 (0)