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

Add new test/release pipelines for SDK V2 migration #605

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michaelhtm
Copy link
Member

Description of changes:
Depending on which branch a PR is created, to test and release
the controller using different versions of code-gen and runtime
(whether the controller is generated with aws-sdk V1 or V2)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

ack-prow bot commented Jan 8, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: michaelhtm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow bot requested review from a-hilaly and jlbutler January 8, 2025 19:43
@ack-prow ack-prow bot added the approved label Jan 8, 2025
Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff @michaelhtm !

Comment on lines 35 to 37

- name: auto-generate-controllers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure but it looks like there is an indentation issue here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also the job name is conflicting with name in line 2

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i ran yq..it doesn't seem like there's indentation issues. Fixing the job name

Comment on lines 69 to 71
- aws-sdk-go-v2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to run this for both aws-sdk-go-v2 and on branch tag?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like we'll have two jobs running on branch tag events

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking further into this

prow/jobs/templates/postsubmits/codegen_release.tpl Outdated Show resolved Hide resolved
prow/jobs/templates/presubmits/code_generator_tests.tpl Outdated Show resolved Hide resolved
prow/jobs/templates/presubmits/runtime_tests.tpl Outdated Show resolved Hide resolved
prow/jobs/templates/presubmits/runtime_tests.tpl Outdated Show resolved Hide resolved
prow/jobs/templates/presubmits/service_tests.tpl Outdated Show resolved Hide resolved
@michaelhtm michaelhtm force-pushed the add-test-pipeline branch 6 times, most recently from 1df36a1 to 9138659 Compare January 10, 2025 19:57
Depending on which branch a PR is created, to test and release
the controller using different versions of code-gen and runtime
(whether the controller is generated with aws-sdk V1 or V2)
* Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants