Azure / service-catalog-cli

See the upstream repository ->
https://github.com/kubernetes-incubator/service-catalog
MIT License
33 stars 14 forks source link

Publish binaries #39

Closed carolynvs closed 6 years ago

carolynvs commented 6 years ago

On tagged builds, 64-bit binaries are uploaded to the cli container on the storage account found in $AZURE_STORAGE_CONNECTION_STRING. I've added this to our CircleCI environment variables (behind an approval step on PRs to prevent leakage).

The tree structure looks like this:

cli
├── latest
│   ├── Darwin
│   │   └── x86_64
│   │       ├── svc-cat
│   │       └── svc-cat.sha256
│   ├── Linux
│   │   └── x86_64
│   │       ├── svc-cat
│   │       └── svc-cat.sha256
│   └── Windows
│       └── x86_64
│           ├── svc-cat.exe
│           └── svc-cat.exe.sha256
└── VERSION (e.g. v0.1.0)
    ├── Darwin
    │   └── x86_64
    │       ├── svc-cat
    │       └── svc-cat.sha256
    ├── Linux
    │   └── x86_64
    │       ├── svc-cat
    │       └── svc-cat.sha256
    └── Windows
        └── x86_64
            ├── svc-cat.exe
            └── svc-cat.exe.sha256

Closes #13

arschles commented 6 years ago

@carolynvs looks good. I'll merge after CI