lemon-agent-27707
09/02/2020, 3:18 PMlemon-agent-27707
09/02/2020, 3:19 PMlemon-agent-27707
09/02/2020, 3:19 PMlemon-agent-27707
09/02/2020, 10:23 PMlemon-agent-27707
09/03/2020, 11:48 PMlemon-agent-27707
09/04/2020, 11:42 PMvmgr
that has two functions:
• vmgr add
creates a new VM (webserver in this instance) and prints out the public IP. Given that this is just plain Go code, you could extend it to email VM credentials to someone, put them in a queue somewhere, etc.
• vmgr cron <expiration>
ie `vmgr cron 5d`: runs a minutely job scanning for VMs older than the specified expiration. It will retry on failures, etc. You could run this on your laptop, or on a VM/container somewhere
https://github.com/EvanBoyle/automation-api-examples/tree/main/vm_manager_azureclever-byte-21551
09/06/2020, 11:07 AMSuccessfully setup workspace
Installing the AWS plugin
Successfully installed AWS plugin
Logged user: yarin
Failed to create or select stack: failed to create stack: code: 255
, stdout:
, stderr: error: stack names may not contain slashes
: exit status 255: failed to select stack: code: 255
, stdout:
, stderr: error: no stack named 'yarin/project-name/stack-name' found
: exit status 255
clever-byte-21551
09/06/2020, 11:07 AMclever-byte-21551
09/06/2020, 11:08 AMfqsn := auto.FullyQualifiedStackName(user, projectName, stackName)
s, err := auto.NewStack(ctx, fqsn, w)
clever-byte-21551
09/06/2020, 11:08 AMclever-byte-21551
09/06/2020, 12:22 PMclever-byte-21551
09/06/2020, 12:22 PMclever-byte-21551
09/07/2020, 5:07 PMlemon-agent-27707
09/07/2020, 7:10 PMclever-byte-21551
09/07/2020, 7:21 PMlemon-agent-27707
09/07/2020, 7:44 PMlemon-agent-27707
09/07/2020, 7:44 PMenough-winter-19192
09/09/2020, 10:14 PM<http://github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1|github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1>
, but /x/auto
depends on this.enough-winter-19192
09/09/2020, 10:37 PMkubernetes/core
brought the file size down to 61M. Going to go with a hybrid approachbroad-dog-22463
09/10/2020, 9:18 PMbroad-dog-22463
09/10/2020, 9:19 PMbitter-dentist-28132
09/11/2020, 4:36 PMvictorious-xylophone-55816
09/12/2020, 5:31 PMhalloumi: a prototype of a heroku-like tools that shows what sort of powerful abstractions can be built when infrastructure is just another part of your application code.
lemon-agent-27707
09/16/2020, 6:41 PMio.Writer
example
• Support added for private git repo authentication: examples
• Helper functions to extract permalink from update result: example
• cancel/import/export recovery APIs: example
• upsert stack helper methods (create or select): example
• workspace scoped environment variables (useful for setting passphrase envs for local backends): example
• Support for non-default secrets providers: example
Docs and examples are up to date as well:
• godoc
• automation-api-examples
• halloumi
🏠Thanks for all of the great feedback so far! đźŹclever-byte-21551
09/22/2020, 6:22 AM@ refreshing....
for many minutesclever-byte-21551
09/23/2020, 6:00 AMgo.mod
with the hard-coded plugins versions i’m installing via the automation APIlimited-rainbow-51650
09/24/2020, 2:51 PMauto.UpsertStackRemoteSource
, how must I trigger npm install
to retrieve all dependencies before invoking stack.Up(…)
red-energy-90711
09/24/2020, 3:05 PMproud-pizza-80589
09/25/2020, 7:18 PM