Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bring extension from kubesquash, initial tweaks for connectivity to squashctl * keep pod alive during Machine mode * allow vs-code debugging in secure-mode * add automatic connection to secure-mode * select demo from interactive prompt * add workflow helpers to service2 demo * notes on usage of sample apps * bring kubesquash makefile and scripts to squash * migrate makefile and cloudbuild from kubesquash * cleanup comments, remove kubesquash refs * correct version in Makefile
- Loading branch information
1 parent
eaa0707
commit a7cb134
Showing
47 changed files
with
4,293 additions
and
507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
steps: | ||
|
||
- name: 'gcr.io/cloud-builders/go' | ||
env: | ||
- VERSION=$TAG_NAME | ||
entrypoint: make | ||
args: ['binaries', 'release-binaries'] | ||
|
||
- name: 'gcr.io/cloud-builders/docker' | ||
entrypoint: 'bash' | ||
args: ['-c', 'docker login --username soloiobot --password $$DOCKER_HUB_PASSWORD'] | ||
secretEnv: ['DOCKER_HUB_PASSWORD'] | ||
|
||
- name: 'gcr.io/cloud-builders/docker' | ||
env: | ||
- VERSION=$TAG_NAME | ||
entrypoint: make | ||
args: ['containers'] | ||
|
||
- name: 'gcr.io/$PROJECT_ID/vsce' | ||
env: | ||
- VERSION=$TAG_NAME | ||
entrypoint: make | ||
args: ['bump-extension-version'] | ||
|
||
- name: node:10.10.0 | ||
entrypoint: npm | ||
args: ['install'] | ||
dir: ./extension/vscode | ||
|
||
- name: 'gcr.io/$PROJECT_ID/vsce' | ||
args: ['package'] | ||
dir: ./extension/vscode | ||
# publish | ||
- name: 'gcr.io/cloud-builders/docker' | ||
env: | ||
- VERSION=$TAG_NAME | ||
entrypoint: make | ||
args: ['push-containers'] | ||
|
||
- name: 'gcr.io/$PROJECT_ID/go-make' | ||
env: | ||
- VERSION=$TAG_NAME | ||
entrypoint: make | ||
args: ['upload-release'] | ||
secretEnv: ['GITHUB_TOKEN'] | ||
|
||
# TODO(mitchdraft) enable vscode publish | ||
#- name: 'gcr.io/$PROJECT_ID/vsce' | ||
# entrypoint: ./hack/publish-extension.sh | ||
# secretEnv: ['VSCODE_TOKEN'] | ||
|
||
secrets: | ||
- kmsKeyName: projects/solo-public/locations/global/keyRings/build/cryptoKeys/build-key | ||
secretEnv: | ||
GITHUB_TOKEN: CiQABlzmSRpjt9c2jcCGU2lIk68qAkHIzIHUeYS+artlcens/7oSUQCCPGSG407g5usGvAhM+oL98Xir0fHWUiNe3827h9zdhmkCbrZpNqfVFkMhAxQ/ZlhC31+KwzWoHnDSb3RN7CoKj+gves6q7MMf7wNxSmC46A== | ||
DOCKER_HUB_PASSWORD: CiQABlzmSW0u+qhXDvTCxLnbi09Zm88eCU0wSdvFn1W+6WOpTgQSTgCCPGSGTAlMndrEkYOynPhDzTXrW1q1eAsQYjKOWOwZKodcQZ2WIzdvpOOjv+WrGTssWWg1uPFV4CnajT7DzeNAb7USkla1epatm6OnuQ== | ||
VSCODE_TOKEN: CiQABlzmSepRzBG6r2UapqKVaJfx5X3PQgWpuKtIinDWI4IpZsASXQCCPGSGtYjgB1ARs6VcRy3J23Mlbo7zeqPamti48qk71axnOBu4pSomCTKj+4iB81E/dgJEmo9aXOIfPoSv7jEs1ijN7J326jA+AOS1M4eUQwfAWovUtmjecP0p+Q== |
Oops, something went wrong.