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

Exclude the newly added Readme.md file when checking applied migrations #3475

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

philippthun
Copy link
Member

@philippthun philippthun commented Oct 11, 2023

kiki-back-compat-migrations complains with this message [1]:

Expected latest migration 20230822173000_add_migration_views_for_annotations.rb to equal Readme.md

[1] https://ci.capi.land/teams/main/pipelines/capi/jobs/kiki-back-compat-migrations/builds/1279

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Copy link
Member

@moleske moleske left a comment

Choose a reason for hiding this comment

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

Was wondering what was going on in kiki (I hadn't actually clicked the job yet)

@moleske moleske merged commit 810e5e3 into cloudfoundry:main Oct 11, 2023
5 checks passed
@moleske
Copy link
Member

moleske commented Oct 11, 2023

this fix is correct, but the pipeline uses what is already deployed on the bosh api vm, which is the latest cf deployment. This means it does not use the local version of cloud_controller_ng when running the task ensure_migrations_are_current so won't contain this filter. Not quite sure how to get out of this, the easy solution is to move the readme somewhere else, commit and let pipeline go, then move the readme back

edit - though now I realize that means waiting until a release of capi to move the readme back... Maybe this pipeline should be using the under test version of cloud_controller_ng? I don't think so cause the point of the pipeline is to do backwards compatible tests, which means using the previously released capi version

@FloThinksPi FloThinksPi deleted the exclude-readme branch October 12, 2023 09:06
philippthun added a commit to cloudfoundry/capi-ci that referenced this pull request Oct 12, 2023
geofffranks pushed a commit to geofffranks/cloud_controller_ng that referenced this pull request Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants