From 483aaded5c06ff195da74b847c2c4acf59a6a1d1 Mon Sep 17 00:00:00 2001 From: Mitch Kelley Date: Sun, 28 Apr 2019 08:05:14 -0400 Subject: [PATCH] restore extension (#190) --- changelog/v0.5.12/restore-extension.yaml | 3 +++ cloudbuild.yaml | 26 ++++++++++++------------ 2 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 changelog/v0.5.12/restore-extension.yaml diff --git a/changelog/v0.5.12/restore-extension.yaml b/changelog/v0.5.12/restore-extension.yaml new file mode 100644 index 0000000..d3a16f1 --- /dev/null +++ b/changelog/v0.5.12/restore-extension.yaml @@ -0,0 +1,3 @@ +description: +- type: NON_USER_FACING + description: Restore extension in cloud build. diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 187b906..845dbfb 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -94,24 +94,24 @@ steps: waitFor: ['get-creds', 'check-code-and-docs-gen', 'push-github-resources'] id: 'e2e-test' -#- name: 'gcr.io/$PROJECT_ID/go-vsce:0.1.4' -# entrypoint: make -# args: ['publish-extension'] -# env: -# - 'TAGGED_VERSION=$TAG_NAME' -# - 'BUILD_ID=$BUILD_ID' -# - 'PROJECT_ROOT=github.com/solo-io/squash' -# - 'GOPATH=/workspace/gopath' -# dir: './gopath/src/github.com/solo-io/squash' -# secretEnv: ['VSCODE_TOKEN'] -# waitFor: ['e2e-test','push-github-resources'] -# id: 'extension' +- name: 'gcr.io/$PROJECT_ID/go-vsce:0.1.4' + entrypoint: make + args: ['publish-extension'] + env: + - 'TAGGED_VERSION=$TAG_NAME' + - 'BUILD_ID=$BUILD_ID' + - 'PROJECT_ROOT=github.com/solo-io/squash' + - 'GOPATH=/workspace/gopath' + dir: './gopath/src/github.com/solo-io/squash' + secretEnv: ['VSCODE_TOKEN'] + waitFor: ['e2e-test','push-github-resources'] + id: 'extension' secrets: - kmsKeyName: projects/solo-public/locations/global/keyRings/build/cryptoKeys/build-key secretEnv: GITHUB_TOKEN: CiQABlzmSYYiveU0gTxGH2139eaBUedjV3vNCxQmJU+nRPlfQ/YSUQCCPGSGzbGp49fwDYuefAx9V94b8mivdp9AqB7zQAa07VtGJmrGdg9ZuhKGFrrgqxwABE0LLVNHyngCSHYSYMH8Vn/mRtT7wQuEHBlKVGtqPw== QUAY_IO_PASSWORD: CiQABlzmSRx5TcOqbldXa/d/+bkmAfpNAWa3PTS06WvuloZL+vASaQCCPGSGCogonVZVEUNx4G3YJtWi18gSuNx4PvLe08q8xAflTMFkjsyQirAOK3Y2oCvgYwiw/ITcuydjkpMjxDygFyENXS9FKFJoAXHlPQE5qidKr8xxmxF5ezhmjGB0gjyjXIIkbSEnBg== - #VSCODE_TOKEN: CiQABlzmSepRzBG6r2UapqKVaJfx5X3PQgWpuKtIinDWI4IpZsASXQCCPGSGtYjgB1ARs6VcRy3J23Mlbo7zeqPamti48qk71axnOBu4pSomCTKj+4iB81E/dgJEmo9aXOIfPoSv7jEs1ijN7J326jA+AOS1M4eUQwfAWovUtmjecP0p+Q== + VSCODE_TOKEN: CiQABlzmSepRzBG6r2UapqKVaJfx5X3PQgWpuKtIinDWI4IpZsASXQCCPGSGtYjgB1ARs6VcRy3J23Mlbo7zeqPamti48qk71axnOBu4pSomCTKj+4iB81E/dgJEmo9aXOIfPoSv7jEs1ijN7J326jA+AOS1M4eUQwfAWovUtmjecP0p+Q== timeout: 3000s