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

Missed deprecation #2047

Merged
merged 2 commits into from
Jul 28, 2023
Merged

Conversation

6543
Copy link
Member

@6543 6543 commented Jul 27, 2023

in the refactoring we did move from CI_SYSTEM_ARCH to CI_SYSTEM_PLATFORM

but we missed to set the var in the agent pipeline tracer, so the Kubernetes backend did not work with it.

this fix it and also make it deprecated as intended

@6543 6543 added this to the 1.0.0 milestone Jul 27, 2023
@6543 6543 changed the base branch from main to release/v1.0 July 27, 2023 22:36
@6543 6543 requested a review from a team July 27, 2023 22:38
@6543
Copy link
Member Author

6543 commented Jul 27, 2023

we don't need to frontport this as #2048 will apply same docs changes and the fix. and drop the deprecated var.

@codecov-commenter

This comment was marked as off-topic.

Copy link
Member

@xoxys xoxys left a comment

Choose a reason for hiding this comment

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

This test data is till using CI_SYSTEM_ARCH instead of CI_SYSTEM_PLATFORM:
https://github.com/woodpecker-ci/woodpecker/blob/main/pipeline/frontend/metadata/drone_compatibility_test.go#L76

This test file is still using both CI_SYSTEM_ARCH and CI_SYSTEM_PLATFORM:
https://github.com/woodpecker-ci/woodpecker/blob/main/pipeline/frontend/metadata_test.go#L85-L86

Don't know if that matters.

Copy link
Member

@xoxys xoxys left a comment

Choose a reason for hiding this comment

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

Nevermind, this is going to be fixed in #2048

@6543 6543 merged commit 7635b5d into woodpecker-ci:release/v1.0 Jul 28, 2023
@6543 6543 deleted the missed_deprecation branch July 28, 2023 11:32
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.

3 participants