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

#27 merge .githubs #30

Merged
merged 27 commits into from
Feb 7, 2024
Merged

#27 merge .githubs #30

merged 27 commits into from
Feb 7, 2024

Conversation

zmorris248
Copy link
Contributor

Overview

We are integrating the old repo's .github folder into our own.

Implementation

I have moved all of the workflow files from the job-monitoring-app to our root .github folder in a new workflows folder.
I have deleted the non-root .github folder in job-monitoring-app

@Ivan-E-Johnson
Copy link
Contributor

Do we know why the CI tests are failing/ can they be fixed? @zmorris248

@mbrzus we need to update the ruleset so that PR's failing CI cannot be merged into main.

@powersaudrey25
Copy link
Contributor

Do we know why the CI tests are failing/ can they be fixed? @zmorris248

@mbrzus we need to update the ruleset so that PR's failing CI cannot be merged into main.

@Ivan-E-Johnson @zmorris248 looks like some jobs are failing because files can't be found on certain paths should be easy fixes hopefully

@powersaudrey25
Copy link
Contributor

@Ivan-E-Johnson @zmorris248 I think I have pushed fixes for correcting the file paths however now 3/4 errors we get might be due to permissions? I am not sure

The error in the frontend CI execute lint happens with the setup-node action and is identical to the one discussed in actions/setup-node#624 I attempted what they outlined but didn't have any luck. Can someone else try?

@Ivan-E-Johnson
Copy link
Contributor

@powersaudrey25 sounds good, thank you for investigating further. I think we need to comment the invalid CI/workflow sections out. IE revert the workflow to a state where CI passed on valid changes and fails on invalid. We shouldn't fail on valid changes due to incomplete setup.

@mbrzus
Copy link
Contributor

mbrzus commented Feb 3, 2024

As for the rulesets. I disabled the ruleset for the main branch due to allow the merge of the repos. As this is already completed, I will enable the ruleset back on work on modifying it to include the requirement to pass the github action.

If I understand correctly, the CI workflow are for the automated AWS deployment, correct? @Ivan-E-Johnson:

  1. Could it be that they failed as the connection to our AWS instance is not working?
  2. Could the deployment be the potential reason for the AWS charges we saw yesterday?

@zmorris248
Copy link
Contributor Author

I have been looking into the failing tests, I believe that the backend, trackerapi, and cdk infra fails may be due to permissions. I am not sure, but it looks like the tests are trying to modify the coverage.xml file in those folders with a comment after running the tests, but we do not currently give github actions permission to modify files in our repo. Changing this might resolve these issues. If we keep encountering issues, i agree with @Ivan-E-Johnson 's approach.

@powersaudrey25
Copy link
Contributor

I upgraded the node version and downgraded a dependency for the frontend and now the frontend ci fully passes. All that is left to fix are those permissions for backend, cdk, trackerapi.

@Ivan-E-Johnson Ivan-E-Johnson added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed W3 Medium Difficulty labels Feb 7, 2024
@Ivan-E-Johnson
Copy link
Contributor

Ivan-E-Johnson commented Feb 7, 2024

@mbrzus can you review this and approve before merging?

Also Im concerned that it is asking me to rebase and merge with out needing a PR

@mbrzus mbrzus force-pushed the #27-merge-.githubs branch from f6e7734 to 302b642 Compare February 7, 2024 17:28
@mbrzus
Copy link
Contributor

mbrzus commented Feb 7, 2024

The previous Pull Request changed the requirements file path in the dockerfile. This is a potential cause for the checks to fail.

There was also a .gitignore conflict, bt this was resolved and I do not anticipate that to be causing the failures.

Copy link
Contributor

@mbrzus mbrzus left a comment

Choose a reason for hiding this comment

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

All checks pass. Code changes looks good.

@mbrzus mbrzus merged commit 73ec64c into main Feb 7, 2024
9 checks passed
@mbrzus mbrzus added W5 Challenging and removed W3 Medium Difficulty labels Feb 7, 2024
@zmorris248 zmorris248 deleted the #27-merge-.githubs branch February 21, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed W5 Challenging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants