Skip to content
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

CLI v2 as default #420

Merged
merged 29 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a8ade5e
Moved tests around for defaults
toote Jan 8, 2024
66e4def
Default CLI to version 2
toote Jan 10, 2024
77870e6
Default buildkit to enabled
toote Jan 10, 2024
180c0d6
Updated tests
toote Jan 10, 2024
3d5d233
Add setup and teardown to v1 build tests
toote Jan 8, 2024
20151e4
Updated documentation
toote Jan 8, 2024
36c801c
Correct pipeline with corrected test paths
toote Jan 8, 2024
2a275f7
Corrected build and push tests
toote Jan 8, 2024
0f8efc1
Corrected run and push tests
toote Jan 10, 2024
49b1609
Correct CLI default wiht SSH option
toote Jan 8, 2024
fde3d8b
Fixed multiple-command tests indentation and generalization
toote Jan 8, 2024
f4187d4
Correct SSH test when cli is V2
toote Jan 10, 2024
4f39ab1
Correct separator logic
toote Jan 10, 2024
3543903
Corrected tests
toote Jan 10, 2024
ce0e6ee
Restructure all available options
toote Jan 10, 2024
b5060a9
Nested example titles
toote Jan 10, 2024
5833099
args is build only (removed tests in run that no longer make sense)
toote Jan 10, 2024
a30f370
reviewed and updated all options in docs and schema
toote Jan 10, 2024
1617e32
Moved all examples to their own folder
toote Jan 11, 2024
d6c448b
Corrected dependency syntax
toote Jan 11, 2024
19c0f7a
Have linter review examples on their own file
toote Jan 11, 2024
d82c6c3
Bumped version to next major one
toote Jan 11, 2024
9ced6e7
Added documentation about upgrading
toote Jan 11, 2024
c9f2ab2
Correct race condition with pipeline
toote Jan 11, 2024
7a2412d
Mergeback from 'toote_cache_from' to resolve conflicts
toote Feb 7, 2024
1678f88
Mergeback from 'toote_v2_default' to resolve conflicts
toote Feb 7, 2024
03cbb7c
Added types for non-string options
toote Feb 14, 2024
f1bd553
Added missing option to schema and sorted optional ones alphabetically
toote Feb 14, 2024
a309a4b
Merge pull request #421 from buildkite-plugins/toote_documentation_up…
tomowatt Feb 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ steps:
plugins:
plugin-linter#v3.2.0:
id: docker-compose
readme: docs/examples.md

- label: ":bash: Tests"
plugins:
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
run: tests
command: ["bats", "tests", "tests/v2"]
# for pretty colors
tty: true
command: ["bats", "tests", "tests/v1"]

# The rest of the steps are integration tests

Expand Down Expand Up @@ -109,6 +110,7 @@ steps:

- label: run after prebuild with custom tag
depends_on: prebuild-custom-image-name
key: run-custom-image-name
env:
RESTORE_REGISTRY_FROM: prebuild-custom-image-name
plugins:
Expand All @@ -119,7 +121,7 @@ steps:
commmand: ["/hello"]

- label: push after build with custom tag
depends_on: prebuild-custom-image-name
depends_on: run-custom-image-name
env:
RESTORE_REGISTRY_FROM: prebuild-custom-image-name
plugins:
Expand Down
Loading