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

[BIOMAGE-2017] Removed v1 references #267

Merged
merged 6 commits into from
Jul 25, 2022
Merged

[BIOMAGE-2017] Removed v1 references #267

merged 6 commits into from
Jul 25, 2022

Conversation

kafkasl
Copy link
Contributor

@kafkasl kafkasl commented Jul 25, 2022

Description

Details

URL to issue

https://biomage.atlassian.net/browse/BIOMAGE-2017

Link to staging deployment URL (or set N/A)

https://ui-ahriman-flaky-warthog.scp-staging.biomage.net/

Links to any PRs or resources related to this PR

Integration test branch

master

Merge checklist

Your changes will be ready for merging after all of the steps below have been completed.

Code updates

Have best practices and ongoing refactors being observed in this PR

  • Migrated any selector / reducer used to the new format.

Manual/unit testing

  • Tested changes using InfraMock locally or no tests required for change, e.g. Kubernetes chart updates.
  • Validated that current unit tests for code work as expected and are sufficient for code coverage or no unit tests required for change, e.g. documentation update.
  • Unit tests written or no unit tests required for change, e.g. documentation update.

Integration testing

You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.

  • Started end-to-end tests on the latest commit.

Documentation updates

  • Relevant Github READMEs updated or no GitHub README updates required.
  • Relevant Wiki pages created/updated or no Wiki updates required.

Optional

  • Staging environment is unstaged before merging.
  • Photo of a cute animal attached to this PR.

@codecov
Copy link

codecov bot commented Jul 25, 2022

Codecov Report

Merging #267 (e3e8589) into master (2758efb) will decrease coverage by 0.65%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
- Coverage   77.72%   77.07%   -0.66%     
==========================================
  Files          19       19              
  Lines        1625     1605      -20     
==========================================
- Hits         1263     1237      -26     
- Misses        362      368       +6     
Impacted Files Coverage Δ
pipeline-runner/R/gem2s-1-download_user_files.R 72.72% <50.00%> (-21.51%) ⬇️
pipeline-runner/R/qc-7-embed_and_cluster.R 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

@kafkasl kafkasl changed the title removed v1 references [BIOMAGE-2017] Removed v1 references Jul 25, 2022
@@ -65,6 +65,7 @@ load_config <- function(development_aws_server, api_version = "v1") {
pod_name = Sys.getenv("K8S_POD_NAME", "local"),
activity_arn = activity_arn,
api_url = paste0("http://api-",sandbox,".api-",sandbox,".svc.cluster.local:3000"),
api_version = "v2",
Copy link
Member

Choose a reason for hiding this comment

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

should we define this here? wouldn't it be better to define it in the sysdata.R?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, just looked at the context. the config is created here, so it's not that bad.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's only ever used in this same function to build the SNS topic name. I was considering removing it altogether

Comment on lines +20 to +27
@echo "Installing local runner"
@(cd ./local-runner && npm install)
@echo "Installing R env packages"
@(cd ./pipeline-runner && R -e "renv::restore()")
build:
@(cd ./local-runner && npm run build)
test:
@(cd ./pipeline-runner && R -e "devtools::test()")
Copy link
Member

Choose a reason for hiding this comment

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

is this working? we had some problems with @cosa65 running the install script.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it works for me but I had most of the deps already installed. We can merge and debug it later

Copy link
Member

Choose a reason for hiding this comment

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

yep, I agree. we solved it by manually installing the specific packages that were failing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can those missing packages be installed also with a command? like R -e "install.packages(...)

@kafkasl kafkasl merged commit 6d88dfc into master Jul 25, 2022
@kafkasl kafkasl deleted the v1-cleanup branch July 25, 2022 16:49
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