Build and upload binaries of executor to GCP bucket
Created by: mrnugget
This is modelled after dev/src-expose/release.sh
: https://github.com/sourcegraph/sourcegraph/blob/main/dev/src-expose/release.sh
But it's split into two: build & release process.
The build step creates a directory/file structure that looks like this and uploads it to GCP:
$ tree enterprise/cmd/executor/artifacts
.
└── executor
├── 010b133ece7a79187cad209b27099232485a5476
│ ├── info.txt
│ └── linux-amd64
│ ├── executor
│ └── executor_SHA256SUM
The release step then deletes the current latest
folder and copies the last release folder to latest
: