{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":121552207,"defaultBranch":"master","name":"autoscaler","ownerLogin":"drone","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-02-14T19:29:56.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2181346?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1696575772.0","currentOid":""},"activityList":{"items":[{"before":"79082b32abaaeeb0dc4b413fb88db8f22f5d50b6","after":"9cec5e7ce2df001b9ce330df7f0606648b8854c3","ref":"refs/heads/master","pushedAt":"2023-10-06T10:06:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"tphoney","name":"TP Honey","path":"/tphoney","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10402706?s=80&v=4"},"commit":{"message":"fix: [CI-7241]: Support configurable watchtower(#138)","shortMessageHtmlLink":"fix: [CI-7241]: Support configurable watchtower(#138)"}},{"before":"e2804c20bfa574ea527c21e37eb97242e4348769","after":"7140af8b297d376397c0ae6765e22104f6e254e1","ref":"refs/heads/configwatchtower","pushedAt":"2023-10-06T08:41:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"smjt-h","name":"Soumyajit Das","path":"/smjt-h","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104486225?s=80&v=4"},"commit":{"message":"fix: [CI-7241]: Support configurable watchtower for jondeer","shortMessageHtmlLink":"fix: [CI-7241]: Support configurable watchtower for jondeer"}},{"before":null,"after":"e2804c20bfa574ea527c21e37eb97242e4348769","ref":"refs/heads/configwatchtower","pushedAt":"2023-10-06T07:02:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"smjt-h","name":"Soumyajit Das","path":"/smjt-h","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104486225?s=80&v=4"},"commit":{"message":"fix: [CI-7241]: Support configurable watchtower for jondeer","shortMessageHtmlLink":"fix: [CI-7241]: Support configurable watchtower for jondeer"}},{"before":"bd3623b6cbe5ea57e7944265117153865b040fe0","after":"79082b32abaaeeb0dc4b413fb88db8f22f5d50b6","ref":"refs/heads/master","pushedAt":"2023-05-11T11:22:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"tphoney","name":"TP Honey","path":"/tphoney","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10402706?s=80&v=4"},"commit":{"message":"Update `go-sqlite3` dependency to fix build errors on MacOS (#128)\n\nTrying to build on Mac, I get these errors:\r\n```\r\n+ go build -ldflags '-extldflags \"-static\" -X main.commit= -X main.version=latest' -o release/linux/amd64/drone-autoscaler github.com/drone/autoscaler/cmd/drone-autoscaler\r\n# github.com/mattn/go-sqlite3\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:18:10: undefined: SQLiteConn\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:26:10: undefined: SQLiteConn\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:27:17: undefined: namedValue\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:29:13: undefined: namedValue\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:35:10: undefined: SQLiteConn\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:36:17: undefined: namedValue\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:44:10: undefined: SQLiteConn\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:49:10: undefined: SQLiteConn\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:54:10: undefined: SQLiteStmt\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:63:10: undefined: SQLiteStmt\r\n../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.6.0/sqlite3_go18.go:36:17: too many errors\r\n```\r\n\r\nThis go.mod update fixes it","shortMessageHtmlLink":"Update go-sqlite3 dependency to fix build errors on MacOS (#128)"}},{"before":"ad420e73e81875e0e414ae9ac7c14d1886d4f691","after":"bd3623b6cbe5ea57e7944265117153865b040fe0","ref":"refs/heads/master","pushedAt":"2023-04-27T10:26:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"tphoney","name":"TP Honey","path":"/tphoney","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10402706?s=80&v=4"},"commit":{"message":"AWS: Allow using a list of subnets (#127)\n\n* AWS: Allow using a list of subnets\r\nWhen using more specialized instance types, it may happen that they aren't available in the given AZ\r\nBy giving multiple subnets, it allows the autoscaler to retry in a different AZ when that happens\r\n\r\nI saw a TODO about using a small struct to track attempts. By adding that, I could extend the current sizeAlt behavior\r\nThe autoscaler will now try the regular size in all subnets, then the alternate size in all subnets\r\n\r\nThis is what the output looks like when combined with a size alt (2 invalid subnets + 1 invalid machine type):\r\n\r\n```\r\n{\"attempt\":1,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"instance create\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"blabla\",\"subnet\":\"a\",\"time\":\"2023-01-30T16:50:54Z\"}\r\n{\"attempt\":1,\"error\":\"InvalidParameterValue: Invalid value 'blabla' for InstanceType.\\n\\tstatus code: 400, request id: 24a9131c-b46a-4afe-87e0-adea1b509232\",\"image\":\"ami-00149760ce42c967b\",\"level\":\"error\",\"msg\":\"instance create failed\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"blabla\",\"subnet\":\"a\",\"time\":\"2023-01-30T16:50:54Z\"}\r\n{\"attempt\":2,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"instance create\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"blabla\",\"subnet\":\"b\",\"time\":\"2023-01-30T16:50:54Z\"}\r\n{\"attempt\":2,\"error\":\"InvalidParameterValue: Invalid value 'blabla' for InstanceType.\\n\\tstatus code: 400, request id: 34d7a00a-dd9f-4689-93fe-3fc5238404df\",\"image\":\"ami-00149760ce42c967b\",\"level\":\"error\",\"msg\":\"instance create failed\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"blabla\",\"subnet\":\"b\",\"time\":\"2023-01-30T16:50:55Z\"}\r\n{\"attempt\":3,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"instance create\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"blabla\",\"subnet\":\"\",\"time\":\"2023-01-30T16:50:55Z\"}\r\n{\"attempt\":3,\"error\":\"InvalidParameterValue: Invalid value 'blabla' for InstanceType.\\n\\tstatus code: 400, request id: 2a3d3e92-6fc3-4343-adff-b62f9d31b390\",\"image\":\"ami-00149760ce42c967b\",\"level\":\"error\",\"msg\":\"instance create failed\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"blabla\",\"subnet\":\"\",\"time\":\"2023-01-30T16:50:55Z\"}\r\n{\"attempt\":4,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"instance create\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"a\",\"time\":\"2023-01-30T16:50:55Z\"}\r\n{\"attempt\":4,\"error\":\"InvalidSubnetID.NotFound: The subnet ID 'a' does not exist\\n\\tstatus code: 400, request id: 1e4e7e07-56c6-489e-b01a-a0ba1fcca1c5\",\"image\":\"ami-00149760ce42c967b\",\"level\":\"error\",\"msg\":\"instance create failed\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"a\",\"time\":\"2023-01-30T16:50:56Z\"}\r\n{\"attempt\":5,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"instance create\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"b\",\"time\":\"2023-01-30T16:50:56Z\"}\r\n{\"attempt\":5,\"error\":\"InvalidSubnetID.NotFound: The subnet ID 'b' does not exist\\n\\tstatus code: 400, request id: 7974f101-a5cd-4ed6-831d-7731dda2f172\",\"image\":\"ami-00149760ce42c967b\",\"level\":\"error\",\"msg\":\"instance create failed\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"b\",\"time\":\"2023-01-30T16:50:56Z\"}\r\n{\"attempt\":6,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"instance create\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"\",\"time\":\"2023-01-30T16:50:56Z\"}\r\n{\"attempt\":6,\"image\":\"ami-00149760ce42c967b\",\"level\":\"info\",\"msg\":\"instance create success\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"\",\"time\":\"2023-01-30T16:50:57Z\"}\r\n{\"attempt\":6,\"image\":\"ami-00149760ce42c967b\",\"level\":\"debug\",\"msg\":\"check instance network\",\"name\":\"drone-linux-aws-amd64-ZQumcEFd\",\"region\":\"us-east-2\",\"size\":\"m6i.large\",\"subnet\":\"\",\"time\":\"2023-01-30T16:50:57Z\"}\r\n```\r\n\r\n* Introduce new config for alternate subnets\r\nThis maintains API retrocompatibility","shortMessageHtmlLink":"AWS: Allow using a list of subnets (#127)"}},{"before":"589caeac5fde1533afd56e8bf2288e72b42c71df","after":null,"ref":"refs/heads/ci-7506","pushedAt":"2023-04-05T08:34:30.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eoinmcafee00","name":"Eoin McAfee","path":"/eoinmcafee00","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/83226740?s=80&v=4"}},{"before":"6cae8f637e7be482df6365642aca005f357b7329","after":"ad420e73e81875e0e414ae9ac7c14d1886d4f691","ref":"refs/heads/master","pushedAt":"2023-04-05T08:34:26.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"eoinmcafee00","name":"Eoin McAfee","path":"/eoinmcafee00","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/83226740?s=80&v=4"},"commit":{"message":"Merge pull request #133 from drone/ci-7506\n\nfixes issue in idle termination logic","shortMessageHtmlLink":"Merge pull request #133 from drone/ci-7506"}},{"before":null,"after":"589caeac5fde1533afd56e8bf2288e72b42c71df","ref":"refs/heads/ci-7506","pushedAt":"2023-04-03T10:19:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eoinmcafee00","name":"Eoin McAfee","path":"/eoinmcafee00","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/83226740?s=80&v=4"},"commit":{"message":"fixes issue in idle termination logic","shortMessageHtmlLink":"fixes issue in idle termination logic"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADkO6QzAA","startCursor":null,"endCursor":null}},"title":"Activity ยท drone/autoscaler"}