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 CI only testing with the paperclip adapter #4905

Conversation

waiting-for-dev
Copy link
Contributor

Summary

Since #4666, all jobs have been running with the paperclip adapter.

The reason is that when the paperclip parameter was false on CircleCI, that translated into the
DISABLE_ACTIVE_STORAGE env var being the string "false". As we were checking for the mere presence of
DISABLE_ACTIVE_STORAGE, it always evaluated to true.

Fixes #4901

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

Since solidusio#4666, all jobs have been
running with the paperclip adapter.

The reason is that when the `paperclip` parameter was `false` on
CircleCI, that translated into the `DISABLE_ACTIVE_STORAGE` env var being
the string `"false"`. As we were checking for the mere presence of
`DISABLE_ACTIVE_STORAGE`, it always evaluated to `true`.

Fixes solidusio#4901
@waiting-for-dev waiting-for-dev requested a review from a team as a code owner February 6, 2023 05:22
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Feb 6, 2023
@waiting-for-dev waiting-for-dev added backport-v3.2 backport-v3.3 Backport this pull-request to v3.3 labels Feb 6, 2023
Copy link
Member

@elia elia left a comment

Choose a reason for hiding this comment

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

oh my!

@waiting-for-dev waiting-for-dev merged commit d7ef0f2 into solidusio:master Feb 7, 2023
@waiting-for-dev waiting-for-dev deleted the waiting-for-dev/fix_ci_only_testing_paperclip branch February 7, 2023 04:30
@github-actions
Copy link

github-actions bot commented Feb 7, 2023

💚 All backports created successfully

Status Branch Result
v3.2
v3.3

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

waiting-for-dev added a commit that referenced this pull request Feb 7, 2023
[v3.3] Merge pull request #4905 from nebulab/waiting-for-dev/fix_ci_only_testing_paperclip
waiting-for-dev added a commit that referenced this pull request Feb 7, 2023
[v3.2] Merge pull request #4905 from nebulab/waiting-for-dev/fix_ci_only_testing_paperclip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v3.3 Backport this pull-request to v3.3 changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate and possibly fix CI only testing paperclip adapter
3 participants