-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V6 #1131
Commits on Jun 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9cc368e - Browse repository at this point
Copy the full SHA 9cc368eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a59a3b - Browse repository at this point
Copy the full SHA 0a59a3bView commit details -
Remove python2 and install aws-cli v2 from repos
Python2 is long deprecates and is not in the amazon linux 2023 repos
Configuration menu - View commit details
-
Copy full SHA for 2a72f01 - Browse repository at this point
Copy the full SHA 2a72f01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 883da24 - Browse repository at this point
Copy the full SHA 883da24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c6bd3e - Browse repository at this point
Copy the full SHA 6c6bd3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25a9da8 - Browse repository at this point
Copy the full SHA 25a9da8View commit details -
aws-cli v2 automatically uses signature v4: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingAWSSDK.html#UsingAWSSDK-move-to-Sig4
Configuration menu - View commit details
-
Copy full SHA for 23b3db8 - Browse repository at this point
Copy the full SHA 23b3db8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca45e4 - Browse repository at this point
Copy the full SHA 6ca45e4View commit details -
Fewer tabs in bk-install-elastic-stack.sh
Some tabs have to be kept because <<-HEREDOCs ignore tabs but not spaces. Also standardise some spacing.
Configuration menu - View commit details
-
Copy full SHA for 4f99405 - Browse repository at this point
Copy the full SHA 4f99405View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2143bda - Browse repository at this point
Copy the full SHA 2143bdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for eca2fe2 - Browse repository at this point
Copy the full SHA eca2fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c57da5 - Browse repository at this point
Copy the full SHA 3c57da5View commit details -
Use curl instead of ec2-metadata tool
The http calls are nicer because we don't have to format the output with `cut`
Configuration menu - View commit details
-
Copy full SHA for 9c0d053 - Browse repository at this point
Copy the full SHA 9c0d053View commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d32dfc - Browse repository at this point
Copy the full SHA 2d32dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 734e9ce - Browse repository at this point
Copy the full SHA 734e9ceView commit details -
It's meant to be installed locally, not on EC2 instances
Configuration menu - View commit details
-
Copy full SHA for 214f529 - Browse repository at this point
Copy the full SHA 214f529View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8a23e1 - Browse repository at this point
Copy the full SHA b8a23e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e41a8 - Browse repository at this point
Copy the full SHA e8e41a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ecfbf0 - Browse repository at this point
Copy the full SHA 6ecfbf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f12eed1 - Browse repository at this point
Copy the full SHA f12eed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 406d9ff - Browse repository at this point
Copy the full SHA 406d9ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07a7a1b - Browse repository at this point
Copy the full SHA 07a7a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a7667c - Browse repository at this point
Copy the full SHA 6a7667cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 198c8bc - Browse repository at this point
Copy the full SHA 198c8bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96510d4 - Browse repository at this point
Copy the full SHA 96510d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for da56b78 - Browse repository at this point
Copy the full SHA da56b78View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4be589 - Browse repository at this point
Copy the full SHA b4be589View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e25e00 - Browse repository at this point
Copy the full SHA 2e25e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1e9479 - Browse repository at this point
Copy the full SHA e1e9479View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0b6d97 - Browse repository at this point
Copy the full SHA c0b6d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for d290926 - Browse repository at this point
Copy the full SHA d290926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7755a93 - Browse repository at this point
Copy the full SHA 7755a93View commit details -
Most likely, commands were timing out because we ran some of the tests on `t3.nano`s, which have variable CPU, and the tests exhausted allowed CPU bursts. We conduct more intensive tests now, so we upgraded to `t3.small`. This may mean the longer timeouts are no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 974b2b9 - Browse repository at this point
Copy the full SHA 974b2b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4afa48 - Browse repository at this point
Copy the full SHA b4afa48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e4cd66 - Browse repository at this point
Copy the full SHA 3e4cd66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00e7a8b - Browse repository at this point
Copy the full SHA 00e7a8bView commit details -
Change docker info output to show which elements of a list are presen…
…t instead of "success" Co-authored-by: paul david <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9272fb7 - Browse repository at this point
Copy the full SHA 9272fb7View commit details -
Revert "Revert " Rename the parameter
EnableGitMirrorsExperiment
to…… `BuildkiteAgentEnableGitMirrors`""
Configuration menu - View commit details
-
Copy full SHA for cf65a21 - Browse repository at this point
Copy the full SHA cf65a21View commit details
Commits on Jun 8, 2023
-
It has been deprecated. Instead, customers should use `OnDemandPercentage`.
Configuration menu - View commit details
-
Copy full SHA for 1e65a5b - Browse repository at this point
Copy the full SHA 1e65a5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7cb800 - Browse repository at this point
Copy the full SHA e7cb800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c6e3c3 - Browse repository at this point
Copy the full SHA 1c6e3c3View commit details
Commits on Jun 9, 2023
-
Publish to both
main
andmaster
for the time beingWith v6, we will be renaming the default branch to main using the GitHub UI. When this change is made, the next build on the main branch won't push a stack template to the same location. So let's push to both locations for now.
Configuration menu - View commit details
-
Copy full SHA for bd08fa2 - Browse repository at this point
Copy the full SHA bd08fa2View commit details -
Merge pull request #1125 from buildkite/revert-1124-revert-1123-oss-3…
…15-git-mirrors-only-works-as-an-experment
Configuration menu - View commit details
-
Copy full SHA for 8d3cb68 - Browse repository at this point
Copy the full SHA 8d3cb68View commit details -
Merge pull request #1128 from buildkite/pdp-1108-rename-securitygroup…
…id-to-securitygroupids
Configuration menu - View commit details
-
Copy full SHA for d213736 - Browse repository at this point
Copy the full SHA d213736View commit details -
They need to have some level of nested templates because otherwise, goss will attempt to evaluate the templates that are intended to be evaluated by docker. Also, the elements of `stdout` are regexes, so we adapt it to test for each expected element of the list. Goss will report which regex did not match the output, so we can use this determine which plugin are missing. It won't be able to tell if there are other plugins, but that is very much a feature.
Configuration menu - View commit details
-
Copy full SHA for d0bb6f2 - Browse repository at this point
Copy the full SHA d0bb6f2View commit details -
Use case statement to determine ARCH in packer/linux/conf/bin/bk-inst…
…all-elastic-stack.sh
Configuration menu - View commit details
-
Copy full SHA for 3c7c3a5 - Browse repository at this point
Copy the full SHA 3c7c3a5View commit details -
Make
capacity-optimized
the default spot allocation strategyAmazon's recommended strategy is `price-capacity-optimized`: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstancesDistribution.html but the default strategy for a InstancesDistribution is `lowest-price`. In the elastic ci stack v5, we overrode the default and set it to `capacity-optimized`. However, for a CI system, I think the strategy with the lowest risk of interruption is preferable. There are two distinct reasons for this: - Interrupting a CI job has a cost in developer time. Usually, developers are more expensive than instances. - The instances carry state, e.g. the checkout dir and docker caches. Loosing this state costs time on subsequent jobs, which means those instance could be running for longer, and developers could be waiting for longer. This is clearly a tricky balancing act, so giving users the freedom to select a different strategy is also a good idea.
Configuration menu - View commit details
-
Copy full SHA for b4da072 - Browse repository at this point
Copy the full SHA b4da072View commit details -
Merge pull request #1122 from buildkite/pdp-695-amazon-linux-2023-for…
…-elastic-ci-stack
Configuration menu - View commit details
-
Copy full SHA for 83d6a06 - Browse repository at this point
Copy the full SHA 83d6a06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ae70cf - Browse repository at this point
Copy the full SHA 8ae70cfView commit details -
Merge pull request #1133 from buildkite/pdp-1116-add-wget-to-elastic-…
…stack-image-based-on-al2023
Configuration menu - View commit details
-
Copy full SHA for a26450e - Browse repository at this point
Copy the full SHA a26450eView commit details
Commits on Jun 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4003612 - Browse repository at this point
Copy the full SHA 4003612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b54890 - Browse repository at this point
Copy the full SHA 5b54890View commit details -
Use unversioned python installs
Otherwise the symlinks, for example, from python to python3 won't be created.
Configuration menu - View commit details
-
Copy full SHA for 7b37cc5 - Browse repository at this point
Copy the full SHA 7b37cc5View commit details -
Both of them work for now, and yum is a symlink to dnf. But dnf is now the way™️. See https://docs.aws.amazon.com/linux/al2023/ug/package-management.html
Configuration menu - View commit details
-
Copy full SHA for 245cfc2 - Browse repository at this point
Copy the full SHA 245cfc2View commit details
Commits on Jun 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e3b7e6d - Browse repository at this point
Copy the full SHA e3b7e6dView commit details -
Merge pull request #1135 from buildkite/pdp-1118-guard-against-buildk…
…ite_agent_enable_git_mirrors-not-being
Configuration menu - View commit details
-
Copy full SHA for 4ab35bb - Browse repository at this point
Copy the full SHA 4ab35bbView commit details -
Merge pull request #1134 from buildkite/pdp-1117-install-some-tools-t…
…hat-are-not-on-al2023-by-default
Configuration menu - View commit details
-
Copy full SHA for d479f4f - Browse repository at this point
Copy the full SHA d479f4fView commit details
Commits on Jun 26, 2023
-
Merge branch 'pdp-1120-installing-docker-on-elastic-ci-stack-no-longe…
…r-works-in' into v6
Configuration menu - View commit details
-
Copy full SHA for 1bef48f - Browse repository at this point
Copy the full SHA 1bef48fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 111219c - Browse repository at this point
Copy the full SHA 111219cView commit details -
Merge pull request #1130 from buildkite/pdp-1107-remove-spot-price-pa…
…ram-from-elastic-ci-stack
Configuration menu - View commit details
-
Copy full SHA for 96780f5 - Browse repository at this point
Copy the full SHA 96780f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c76dd43 - Browse repository at this point
Copy the full SHA c76dd43View commit details -
Default InstanceName to stack name
When the InstanceName parameter is the empty string, use the stack name instead.
Configuration menu - View commit details
-
Copy full SHA for 33f33cc - Browse repository at this point
Copy the full SHA 33f33ccView commit details -
Merge pull request #1129 from buildkite/pdp-1109-publish-to-both-mast…
…er-and-main-for-the-time-being
Configuration menu - View commit details
-
Copy full SHA for a3853f7 - Browse repository at this point
Copy the full SHA a3853f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d40f0 - Browse repository at this point
Copy the full SHA 10d40f0View commit details -
Merge pull request #1137 from buildkite/pdp-1132-default-the-instance…
…-name-to-the-stack-name Default InstanceName to stack name
Configuration menu - View commit details
-
Copy full SHA for 2707b17 - Browse repository at this point
Copy the full SHA 2707b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb72d40 - Browse repository at this point
Copy the full SHA eb72d40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a402b - Browse repository at this point
Copy the full SHA 50a402bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd07650 - Browse repository at this point
Copy the full SHA cd07650View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccd0973 - Browse repository at this point
Copy the full SHA ccd0973View commit details -
This is useful for users that are doing blue-green deployments and want the (eg blue) stack to be able to be scaled in to 0 instances while the green stack is fully scaled out.
Configuration menu - View commit details
-
Copy full SHA for 50abd80 - Browse repository at this point
Copy the full SHA 50abd80View commit details -
Merge pull request #1139 from buildkite/pdp-1146-pull-docker-images-i…
…n-packer-instead-of-startup
Configuration menu - View commit details
-
Copy full SHA for d6627ec - Browse repository at this point
Copy the full SHA d6627ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for a24c2c1 - Browse repository at this point
Copy the full SHA a24c2c1View commit details
Commits on Jun 27, 2023
-
Fix path to cfn-signal in install scripts
It's in /usr/bin/cfn-signal now, which should be in the $PATH
Configuration menu - View commit details
-
Copy full SHA for 35caf88 - Browse repository at this point
Copy the full SHA 35caf88View commit details -
Merge pull request #1145 from buildkite/pdp-1226-fix-path-to-cfn-sign…
…al-in-install-scripts
Configuration menu - View commit details
-
Copy full SHA for 16ef5b4 - Browse repository at this point
Copy the full SHA 16ef5b4View commit details -
Increase cancel grace period to 60s
It was found on Amazon Linux 2023 that the default 10s grace period was insufficient to allow the bootstrap to tear down cleanly when a job is cancelled from the Buildkite API.
Configuration menu - View commit details
-
Copy full SHA for d21d893 - Browse repository at this point
Copy the full SHA d21d893View commit details -
Merge pull request #1144 from buildkite/pdp-1225-increase-grace-perio…
…d-for-cancellation-sigkill
Configuration menu - View commit details
-
Copy full SHA for 469b85e - Browse repository at this point
Copy the full SHA 469b85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb47acc - Browse repository at this point
Copy the full SHA cb47accView commit details
Commits on Jun 28, 2023
-
Merge pull request #1146 from buildkite/pdp-1231-tag-v600-beta
Update changelog for v6.0.0-beta1
Configuration menu - View commit details
-
Copy full SHA for ef02a6a - Browse repository at this point
Copy the full SHA ef02a6aView commit details
Commits on Jul 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c952ed8 - Browse repository at this point
Copy the full SHA c952ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c2106 - Browse repository at this point
Copy the full SHA 33c2106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62dbff8 - Browse repository at this point
Copy the full SHA 62dbff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0699b8 - Browse repository at this point
Copy the full SHA e0699b8View commit details
Commits on Jul 3, 2023
-
Merge pull request #1148 from buildkite/pdp-1277-append-compatibility…
…-flag-to-docker-compose-on-elastic-stack
Configuration menu - View commit details
-
Copy full SHA for 435a4c2 - Browse repository at this point
Copy the full SHA 435a4c2View commit details -
Don't chown /etc/docker to ec2-user:docker
It's root on most systems. Seems unnecessary to do this. If it needs to be written to, it should be done as root.
Configuration menu - View commit details
-
Copy full SHA for 130a7be - Browse repository at this point
Copy the full SHA 130a7beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a5d38 - Browse repository at this point
Copy the full SHA 04a5d38View commit details -
Remove hardcoded subuid and subgid with dynamic values
In particular we want the root user in the docker container to be buildkite-agent:docker on the host, so use id -u and getent group to determine these dynamically.
Configuration menu - View commit details
-
Copy full SHA for 001fb33 - Browse repository at this point
Copy the full SHA 001fb33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f260ce - Browse repository at this point
Copy the full SHA 9f260ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aed820 - Browse repository at this point
Copy the full SHA 9aed820View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4705f8e - Browse repository at this point
Copy the full SHA 4705f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbdc581 - Browse repository at this point
Copy the full SHA fbdc581View commit details -
Configuration menu - View commit details
-
Copy full SHA for c039f63 - Browse repository at this point
Copy the full SHA c039f63View commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ab8737 - Browse repository at this point
Copy the full SHA 2ab8737View commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 770caf8 - Browse repository at this point
Copy the full SHA 770caf8View commit details
Commits on Jul 17, 2023
-
Merge pull request #1149 from buildkite/pdp-1276-fix-first-build-of-d…
…ockerfilepostgres-on-bkbk-is-failing-and
Configuration menu - View commit details
-
Copy full SHA for 0d1b0a6 - Browse repository at this point
Copy the full SHA 0d1b0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 173c4fb - Browse repository at this point
Copy the full SHA 173c4fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54da647 - Browse repository at this point
Copy the full SHA 54da647View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e98ada - Browse repository at this point
Copy the full SHA 2e98adaView commit details
Commits on Jul 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ec5c998 - Browse repository at this point
Copy the full SHA ec5c998View commit details -
Bump buildkite-agent to v3.50.2
# Conflicts: # packer/linux/scripts/install-buildkite-agent.sh # packer/windows/scripts/install-buildkite-agent.ps1
Configuration menu - View commit details
-
Copy full SHA for c0a4d5d - Browse repository at this point
Copy the full SHA c0a4d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 550211a - Browse repository at this point
Copy the full SHA 550211aView commit details
Commits on Jul 24, 2023
-
Merge pull request #1162 from buildkite/pdp-1356-bump-versions-of-doc…
…ker-compose-buildx-and-buildkite-agent
Configuration menu - View commit details
-
Copy full SHA for b59c5e7 - Browse repository at this point
Copy the full SHA b59c5e7View commit details -
Exit status 2 when environment hook fails
It's useful to use a different exit status when the environment hook fails so that customers can build retry logic into their pipelines.
Configuration menu - View commit details
-
Copy full SHA for e34ae69 - Browse repository at this point
Copy the full SHA e34ae69View commit details -
Merge pull request #1163 from buildkite/pdp-1369-exit-status-2-when-e…
…nvironment-hook-fails
Configuration menu - View commit details
-
Copy full SHA for fb6a477 - Browse repository at this point
Copy the full SHA fb6a477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc2a11 - Browse repository at this point
Copy the full SHA 8cc2a11View commit details -
# Conflicts: # CHANGELOG.md # packer/linux/conf/bin/bk-install-elastic-stack.sh # packer/linux/scripts/install-buildkite-agent.sh # packer/windows/scripts/install-buildkite-agent.ps1 # templates/aws-stack.yml
Configuration menu - View commit details
-
Copy full SHA for 380a6ec - Browse repository at this point
Copy the full SHA 380a6ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for eee95e6 - Browse repository at this point
Copy the full SHA eee95e6View commit details -
Merge pull request #1165 from buildkite/triarius/bump-agent-3.50.3
Bump buildkite-agent to v3.50.3
Configuration menu - View commit details
-
Copy full SHA for 3efd3e8 - Browse repository at this point
Copy the full SHA 3efd3e8View commit details -
Merge pull request #1166 from buildkite/triarius/fix-spelling
Correct grammar in an error message
Configuration menu - View commit details
-
Copy full SHA for 06e42c5 - Browse repository at this point
Copy the full SHA 06e42c5View commit details
Commits on Jul 25, 2023
-
Merge pull request #1168 from buildkite/pdp-1373-resolve-merge-confli…
…cts-between-v6-and-master
Configuration menu - View commit details
-
Copy full SHA for 53851b0 - Browse repository at this point
Copy the full SHA 53851b0View commit details -
Merge remote-tracking branch 'origin/master' into v6
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 0efd182 - Browse repository at this point
Copy the full SHA 0efd182View commit details