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: fix deploy var #514

Merged
merged 1 commit into from
Feb 29, 2024
Merged

fix: fix deploy var #514

merged 1 commit into from
Feb 29, 2024

Conversation

codemonkey800
Copy link
Contributor

Fixes issue with prod deploy due to secrets not being available for job conditionals: actions/runner#520

This switches to using a repository variable which should be appropriate since the value can only be true or false

@codemonkey800 codemonkey800 changed the title fix deploy var fix: fix deploy var Feb 29, 2024
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.06%. Comparing base (1cf95e6) to head (0b35f4c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #514   +/-   ##
=======================================
  Coverage   96.06%   96.06%           
=======================================
  Files           8        8           
  Lines         661      661           
=======================================
  Hits          635      635           
  Misses         26       26           
Flag Coverage Δ
unittests 96.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@manasaV3 manasaV3 left a comment

Choose a reason for hiding this comment

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

I believe this would need the gating variable to be defined in a different environment than what it is gating. Not blocking on that, but we should fix that in near future.

From async: we are using global variables for IS_DEPLOY_ALLOWED, so this concern is no longer valid.

@codemonkey800 codemonkey800 merged commit bea40d0 into main Feb 29, 2024
14 of 15 checks passed
@codemonkey800 codemonkey800 deleted the jeremy/fix-deploy-var branch February 29, 2024 19:26
kne42 added a commit that referenced this pull request Feb 29, 2024
* main:
  chore: Fixing prod e2e test name (#519)
  chore: support more conventional commit types (#515)
  chore(main): release web 1.1.1 (#517)
  chore: add sh to readme (#518)
  fix: prod deploy tagging (#516)
  chore(main): release web 1.1.0 (#511)
  fix: fix deploy var (#514)
  feat: annotation table updates (#481)
  fix: Mapping samplings available to db field (#487)
  chore: fix release workflow (#508)
  feat: Update workflow for automating prod deploy (#471)
  chore(main): release cryoet-data-portal 1.0.1 (#506)
  fix: remove axios cache (#505)
  release changelog workflow (#476)
  E2E tests workflow (#473)
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