-
Notifications
You must be signed in to change notification settings - Fork 67
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
Plugin Framework Migration #666
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* added mux server for sxs framework migration * removed broken framework provider tests * updated provider type name
* data source for space and spaces * cleanup
* data source for space and spaces * cleanup * add datasource lifecycles * Add missing method * refactor * Revert "refactor" This reverts commit a1f0376. * refactor * Remove old lifecycles datasource * add window build --------- Co-authored-by: Ben Pearce <ben.pearce@octopus.com>
* introduced new protocol v6 server and muxing server to old provider * working project group resource * Trigger pipeline testing * Updates * Lets see what fails... * working project group data source * Comment out terratest _test files. Unsure at this stage if these will be re-instated during migrations but these are currently out-dated * Uncommenting packages * Push changes for testing migrated project groups * Updating tests * Updating containers and handling for tests * Tidy up * Tidy up go.mod * Tidy up providerv6_test * Comment out testing_container TestMain methods * re-enable TestMain * Add exit code to TestMain * Add logging * Try waiting for log containers to clear * Add flag to TestMain methods * Add TF_Acc * Update to use test framework configured client * Update test providers * Always run test combine summaries * Update integration tests to use shared container * Always upload test summaries * Skip some failing tests * Skip some out dated tests * Resolve oidc string array attributed being converted to strings in tests * Skip outdated tests by default * Remove terratest * Update more tests * Fix sort_order issues * More test updates * More updates * Updates * More test fixes * Skip Azure Oidc & fix deployment process tests * Fix tests * Tidy up provider * go mod tidy * Update framework provider * Add project group to framework provider * Update resource deployment process test * Remove resouce and datasource schema * Set minimum for download attempts to 1 on github and maven feeds * updated layout for project group entities * register project group resources * refactored project group schemas to own package * Update tests GHA to only trigger on PRs * Fix framework provider datasource config * Remove duplicated NewProjectGroupsDataSource --------- Co-authored-by: Ben Pearce <ben.pearce@octopus.com>
* chore: refactor GetIds as the ids were getting surrounded by double-quotes * chore: remove old sdkv2 data source * chore: add new helper methods to get schema for name and sort order * feat: migrate environment data source to tf framework * chore(tests): add tests for new environment data source * chore(tests): fix environments datasource tests * chore: add validator for jira environment type
* chore: remove old sdkv2 resource * chore: add resource schema and move some common methods around * chore: add common resource schema attribute funcs * feat: migrate environment resource to tf framework * chore(tests): add tests for new environment resource * chore: fix update resource issue * chore: only set bool values if they've been set in config * chore: refactor to use helper method to get number
* data source for space and spaces * cleanup * add datasource lifecycles * Add missing method * refactor * add resource lifecycles * Revert "refactor" This reverts commit a1f0376. * refactor * refactor to reuse * refactor datasource * Remove old lifecycles datasource * add window build * Fix schema issue * refactor retention_policy schema * more refactor * refactor resource schema to it own file * refactor datasource schema * remove old code * Add lifecycle import * Move schema lifecycle test * refactor * Make API-Key and Address required * Revert "Make API-Key and Address required" This reverts commit c242112. * Add integration test * Move the test * Add back some method that use by other test * just test * set true in both octopus deploy * Try fix test fail * remove test code * Add default release_retention_policy * Correct test * Fix fail test * Fix wrong test param * fix build fail * Update resource lifecycles to manually set default retention in read/update/create * refactor remove duplicate code * Fix comments * Add back * Add back new lifecycle resource * remove duplicate --------- Co-authored-by: Ben Pearce <ben.pearce@octopus.com>
* chore!: Migrate Artifactory Generic Feeds * Remove artifactory generic feeds from sdk provider * tidy up * Fix layout regex unset change
* Add datasource git credentials * Add git credential resource * fix merge fail * refactor * finish resource git credential * Remove old datasource
* Migrate aws elastic container registry feed * Fix merge issues * Set ECR env vars to empty for migration tests * Remove aws ecr migration test
* Migrate nuget feed * Remove AWS ECR migration test * Fix provider
* Migrate feeds datasource * remove aws ecr migration test * Remove AWS ECR from feeds datasource test
8875b18
to
3ab7c67
Compare
* Add environment variable for mssql image tag
* aligned provider config * prefer utility over custom for typename
* Add tenant project variable * fix issue plan id fail * Add tenant common variable * fix comment * update merge conflict * Skip test relate to project_environment until Ben fix the test
* Include docs changes and update library_variable_sets to get correct Block List output
* migrated project tenant mapping resource * issue from merge * replacement not required when modifiying the environment collection * migration test * fixed tests, issue with environment resource * extended test
hnrkndrssn
approved these changes
Jul 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
chore: added mux server for sxs framework migration
chore: migrate space data source to Framework (#667)
chore: migrate space resource to Framework (#667)
chore: migrate lifecycle data source to Framework (#668)
chore: migrate project group data source to Framework (#660)
chore: migrate project group resource to Framework (#660)
chore: migrate environment data source to Framework (#678)
chore: migrate space resource to Framework (#672)
chore: migrate maven feed resource to Framework (#671)
chore: migrate environment resource to Framework (#681)
chore: migrate lifecycle resource to Framework (#669)
chore: migrate helm feed resource to Framework (#674)
chore: migrate artifactory feed resource to Framework (#675)
chore: migrate git credential datasource to Framework (#683)
chore: migrate git credential resource to Framework (#683)
chore: migrate github repository feed resource to Framework (#677)
chore: migrate aws elastic container feed resource to Framework (#679)
chore: migrate nuget feed resource to Framework (#680)
chore: migrate feeds datasource to Framework (#682)
chore: migrate tenant variable resources to Framework (#685)
chore: migrate library variable set resource to Framework (#686)
chore: migrate library variable set data source to Framework (#686)
chore: migrate tenant project resource to Framework (#700)
BREAKING CHANGE: Migrated set of data sources and resources to Terraform Framework.