2022-04-14 01:50:18 +08:00
|
|
|
#
|
|
|
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2022-05-09 22:50:46 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2022-04-14 01:50:18 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
# This is a makefile executed by the `./ci` script that
|
2023-02-02 02:41:31 +08:00
|
|
|
# has a target for every single CI script in `tools/ci-scripts`,
|
2022-04-14 01:50:18 +08:00
|
|
|
# with dependencies between targets included so that it's not necessary
|
|
|
|
# to remember to generate a SDK for the targets that require one.
|
|
|
|
|
2022-05-24 07:31:23 +08:00
|
|
|
ARGS=
|
2022-04-14 01:50:18 +08:00
|
|
|
CI_BUILD=./smithy-rs/tools/ci-build
|
|
|
|
CI_ACTION=$(CI_BUILD)/ci-action
|
|
|
|
|
|
|
|
.PHONY: acquire-build-image
|
|
|
|
acquire-build-image:
|
2023-02-02 02:41:31 +08:00
|
|
|
./smithy-rs/.github/scripts/acquire-build-image
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2022-08-11 00:08:08 +08:00
|
|
|
.PHONY: check-aws-config
|
|
|
|
check-aws-config: generate-aws-sdk-smoketest
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
|
|
|
.PHONY: check-aws-sdk-canary
|
|
|
|
check-aws-sdk-canary: generate-aws-sdk-smoketest
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
|
|
|
.PHONY: check-aws-sdk-adhoc-tests
|
|
|
|
check-aws-sdk-adhoc-tests:
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2022-04-14 01:50:18 +08:00
|
|
|
.PHONY: check-aws-sdk-examples
|
|
|
|
check-aws-sdk-examples: generate-aws-sdk
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: check-aws-sdk-services
|
|
|
|
check-aws-sdk-services: generate-aws-sdk
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2023-01-26 04:55:05 +08:00
|
|
|
.PHONY: check-only-aws-sdk-services
|
|
|
|
check-only-aws-sdk-services: generate-aws-sdk
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2022-04-14 01:50:18 +08:00
|
|
|
.PHONY: check-aws-sdk-smoketest-docs-clippy-udeps
|
|
|
|
check-aws-sdk-smoketest-docs-clippy-udeps: generate-aws-sdk-smoketest
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: check-aws-sdk-smoketest-unit-tests
|
|
|
|
check-aws-sdk-smoketest-unit-tests: generate-aws-sdk-smoketest
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2022-08-09 07:29:22 +08:00
|
|
|
.PHONY: check-aws-sdk-standalone-integration-tests
|
|
|
|
check-aws-sdk-standalone-integration-tests: generate-aws-sdk-smoketest
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2023-06-07 17:01:16 +08:00
|
|
|
.PHONY: check-book
|
|
|
|
check-book: check-rust-runtimes
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2022-04-14 01:50:18 +08:00
|
|
|
.PHONY: check-client-codegen-integration-tests
|
|
|
|
check-client-codegen-integration-tests:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: check-client-codegen-unit-tests
|
|
|
|
check-client-codegen-unit-tests:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2022-09-29 01:46:28 +08:00
|
|
|
.PHONY: check-core-codegen-unit-tests
|
|
|
|
check-core-codegen-unit-tests:
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2022-08-11 00:08:08 +08:00
|
|
|
.PHONY: check-rust-runtimes
|
|
|
|
check-rust-runtimes:
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
|
|
|
.PHONY: check-tools
|
|
|
|
check-tools:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: check-sdk-codegen-unit-tests
|
|
|
|
check-sdk-codegen-unit-tests:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: check-server-codegen-integration-tests
|
|
|
|
check-server-codegen-integration-tests:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: check-server-codegen-unit-tests
|
|
|
|
check-server-codegen-unit-tests:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2022-05-18 22:26:29 +08:00
|
|
|
.PHONY: check-server-codegen-integration-tests-python
|
|
|
|
check-server-codegen-integration-tests-python:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-05-18 22:26:29 +08:00
|
|
|
|
|
|
|
.PHONY: check-server-codegen-unit-tests-python
|
|
|
|
check-server-codegen-unit-tests-python:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-05-18 22:26:29 +08:00
|
|
|
|
2022-04-14 01:50:18 +08:00
|
|
|
.PHONY: check-server-e2e-test
|
|
|
|
check-server-e2e-test:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2022-07-01 00:11:58 +08:00
|
|
|
.PHONY: check-server-python-e2e-test
|
|
|
|
check-server-python-e2e-test:
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2022-04-14 01:50:18 +08:00
|
|
|
.PHONY: check-style-and-lints
|
|
|
|
check-style-and-lints:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: generate-aws-sdk-smoketest
|
|
|
|
generate-aws-sdk-smoketest:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: generate-aws-sdk
|
|
|
|
generate-aws-sdk:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
|
|
|
.PHONY: generate-codegen-diff
|
|
|
|
generate-codegen-diff:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
2022-04-14 01:50:18 +08:00
|
|
|
|
2023-03-30 05:20:41 +08:00
|
|
|
.PHONY: check-deterministic-codegen
|
|
|
|
check-deterministic-codegen:
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2023-04-07 00:42:13 +08:00
|
|
|
.PHONY: check-semver
|
|
|
|
check-semver:
|
|
|
|
$(CI_ACTION) $@ $(ARGS)
|
|
|
|
|
2022-06-28 03:16:48 +08:00
|
|
|
.PHONY: generate-smithy-rs-release
|
|
|
|
generate-smithy-rs-release:
|
2022-05-24 07:31:23 +08:00
|
|
|
$(CI_ACTION) $@ $(ARGS)
|