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

Fix Evergreen config file error #1523

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

jyemin
Copy link
Collaborator

@jyemin jyemin commented Oct 2, 2024

Noticed this due to warning when validating the config file:

~/git/mongo-java-driver (main)$ evergreen validate .evergreen/.evg.yml
WARNING: strict unmarshalling YAML: load project error(s): error unmarshalling yaml strict: input fields may not match the command fields: yaml: unmarshal errors:
  line 146: cannot unmarshal !!seq into struct { Function string "yaml:\"func,omitempty\" bson:\"func,omitempty\""; Type string "yaml:\"type,omitempty\" bson:\"type,omitempty\""; DisplayName string "yaml:\"display_name,omitempty\" bson:\"display_name,omitempty\""; Command string "yaml:\"command,omitempty\" bson:\"command,omitempty\""; Variants []string "yaml:\"variants,omitempty\" bson:\"variants,omitempty\""; TimeoutSecs int "yaml:\"timeout_secs,omitempty\" bson:\"timeout_secs,omitempty\""; Params map[string]interface {} "yaml:\"params,omitempty\" bson:\"params,omitempty\""; ParamsYAML string "yaml:\"params_yaml,omitempty\" bson:\"params_yaml,omitempty\""; Vars map[string]string "yaml:\"vars,omitempty\" bson:\"vars,omitempty\""; RetryOnFailure bool "yaml:\"retry_on_failure,omitempty\" bson:\"retry_on_failure,omitempty\""; FailureMetadataTags []string "yaml:\"failure_metadata_tags,omitempty\" bson:\"failure_metadata_tags,omitempty\"" }
NOTICE: task 'aws-ECS-auth-test' defined but not used by any variants; consider using or disabling

@jyemin jyemin requested a review from stIncMale October 2, 2024 14:14
@jyemin jyemin self-assigned this Oct 2, 2024
Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

LGTM - I wondered what that ment earlier.

@jyemin jyemin merged commit a8a5577 into mongodb:main Oct 8, 2024
2 of 3 checks passed
@jyemin jyemin deleted the fix-evergreen-config-file-warning branch October 8, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants