{"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:1725011882.0","currentOid":""},"activityList":{"items":[{"before":"6f9bdeae6bbe296d3eb060c0f27c3fb98c1500cf","after":"73a7d27a304c9940e859eeff1711d755e54dee0b","ref":"refs/heads/master","pushedAt":"2024-08-30T09:56:02.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"vistaarjuneja","name":"Vistaar Juneja","path":"/vistaarjuneja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/65973712?s=80&v=4"},"commit":{"message":"Merge pull request #144 from drone/CI-13677\n\nfix: [CI-14032]: Add option to specify Amazon EC2 instance metadata a…","shortMessageHtmlLink":"Merge pull request #144 from drone/CI-13677"}},{"before":"04fc605185a421ae21df31f90ee71b72f7bcaac4","after":"bf6c82e4612d340ec49579670c9600fc28a1fee2","ref":"refs/heads/CI-13677","pushedAt":"2024-08-28T10:00:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ShobhitSingh11","name":null,"path":"/ShobhitSingh11","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139750384?s=80&v=4"},"commit":{"message":"fix: [CI-14032]: refractor","shortMessageHtmlLink":"fix: [CI-14032]: refractor"}},{"before":"bd96969bcfefbe0c9f38df72839573a7da6ea1a5","after":"04fc605185a421ae21df31f90ee71b72f7bcaac4","ref":"refs/heads/CI-13677","pushedAt":"2024-08-28T09:59:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ShobhitSingh11","name":null,"path":"/ShobhitSingh11","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139750384?s=80&v=4"},"commit":{"message":"fix: [CI-14032]: Comments resolved","shortMessageHtmlLink":"fix: [CI-14032]: Comments resolved"}},{"before":null,"after":"bd96969bcfefbe0c9f38df72839573a7da6ea1a5","ref":"refs/heads/CI-13677","pushedAt":"2024-08-28T08:55:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ShobhitSingh11","name":null,"path":"/ShobhitSingh11","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139750384?s=80&v=4"},"commit":{"message":"fix: [CI-14032]: Add option to specify Amazon EC2 instance metadata accessiblity","shortMessageHtmlLink":"fix: [CI-14032]: Add option to specify Amazon EC2 instance metadata a…"}},{"before":"48c651974ae67b03497f751eac8fca2fc00ef56e","after":"a2516b14954fefcced2a5424c7c5be6ed75f6af1","ref":"refs/heads/CI-13426","pushedAt":"2024-08-07T08:27:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rahkumar56","name":null,"path":"/rahkumar56","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139110109?s=80&v=4"},"commit":{"message":"fix: [CI-13426]: Upgrade go version to 1.22.4","shortMessageHtmlLink":"fix: [CI-13426]: Upgrade go version to 1.22.4"}},{"before":"48c651974ae67b03497f751eac8fca2fc00ef56e","after":null,"ref":"refs/tags/vul_debug_1.0","pushedAt":"2024-08-05T09:19:23.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"rahkumar56","name":null,"path":"/rahkumar56","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139110109?s=80&v=4"}},{"before":"0d042a336dd51f8b4c703e1251beb7f03b31fb72","after":null,"ref":"refs/tags/vul_debug","pushedAt":"2024-08-05T09:19:12.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"rahkumar56","name":null,"path":"/rahkumar56","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139110109?s=80&v=4"}},{"before":"0d042a336dd51f8b4c703e1251beb7f03b31fb72","after":"48c651974ae67b03497f751eac8fca2fc00ef56e","ref":"refs/heads/CI-13426","pushedAt":"2024-08-02T10:50:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rahkumar56","name":null,"path":"/rahkumar56","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139110109?s=80&v=4"},"commit":{"message":"fix: [CI-13426]: Added alpine correct version in docker file and upgraded go version to 1.22.4","shortMessageHtmlLink":"fix: [CI-13426]: Added alpine correct version in docker file and upgr…"}},{"before":"28e42d8c049622d8eac2f00394bc7fa6c97a7d7f","after":"0d042a336dd51f8b4c703e1251beb7f03b31fb72","ref":"refs/heads/CI-13426","pushedAt":"2024-08-01T11:26:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rahkumar56","name":null,"path":"/rahkumar56","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139110109?s=80&v=4"},"commit":{"message":"fix: [CI-13426]: Added alpine correct version in docker file and upgraded go version to 1.22.4","shortMessageHtmlLink":"fix: [CI-13426]: Added alpine correct version in docker file and upgr…"}},{"before":null,"after":"28e42d8c049622d8eac2f00394bc7fa6c97a7d7f","ref":"refs/heads/CI-13426","pushedAt":"2024-07-26T08:05:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rahkumar56","name":null,"path":"/rahkumar56","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139110109?s=80&v=4"},"commit":{"message":"fix: [CI-13426]: Added containerd,grpc,net version.","shortMessageHtmlLink":"fix: [CI-13426]: Added containerd,grpc,net version."}},{"before":"9cec5e7ce2df001b9ce330df7f0606648b8854c3","after":"6f9bdeae6bbe296d3eb060c0f27c3fb98c1500cf","ref":"refs/heads/master","pushedAt":"2024-06-18T11:23:17.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"vistaarjuneja","name":"Vistaar Juneja","path":"/vistaarjuneja","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/65973712?s=80&v=4"},"commit":{"message":"Merge pull request #141 from drone/CI-12899\n\nfix: [CI-12899]: Added tag support for EBS volume","shortMessageHtmlLink":"Merge pull request #141 from drone/CI-12899"}},{"before":null,"after":"3a596ef74d221acc75d1cdf4fc1a47ae89c8de3b","ref":"refs/heads/CI-12899","pushedAt":"2024-06-17T18:30:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ShobhitSingh11","name":null,"path":"/ShobhitSingh11","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/139750384?s=80&v=4"},"commit":{"message":"fix: [CI-12899]: Added tag support for EBS volume","shortMessageHtmlLink":"fix: [CI-12899]: Added tag support for EBS volume"}},{"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":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0zMFQwOTo1NjowMi4wMDAwMDBazwAAAASogwRK","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0zMFQwOTo1NjowMi4wMDAwMDBazwAAAASogwRK","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0wM1QxMDoxOTo0OS4wMDAwMDBazwAAAAMQ4-eV"}},"title":"Activity · drone/autoscaler"}