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

Devops/fairspc 55 GitHub actions #122

Merged
merged 4 commits into from
Apr 8, 2024
Merged

Conversation

tgreenwood
Copy link
Contributor

No description provided.

@tgreenwood tgreenwood added the enhancement New feature or request label Apr 2, 2024
@tgreenwood tgreenwood self-assigned this Apr 2, 2024
@tgreenwood tgreenwood force-pushed the devops/FAIRSPC-55_github_actions branch from 1b5655a to c71a122 Compare April 3, 2024 13:19
@ewelinagr
Copy link
Member

ewelinagr commented Apr 3, 2024

hmm, so there will be no check on PR? It would be good to see if the packaging is not broken or e.g. there are no lint errors (it was there on travis build, although I see the build was passing even with linter errors...)
https://api.travis-ci.com/v3/job/612025435/log.txt

@tgreenwood tgreenwood force-pushed the devops/FAIRSPC-55_github_actions branch 6 times, most recently from 9bb1f99 to ebe5339 Compare April 3, 2024 20:20
@tgreenwood
Copy link
Contributor Author

hmm, so there will be no check on PR? It would be good to see if the packaging is not broken or e.g. there are no lint errors (it was there on travis build, although I see the build was passing even with linter errors...) https://api.travis-ci.com/v3/job/612025435/log.txt

@ewelinagr good point, added linter and realized that it would be easier to understand what exactly fails if put all helm commands into separate steps, so you will find more steps.

By the way, GH Actions fails even if there is a warning

@tgreenwood tgreenwood force-pushed the devops/FAIRSPC-55_github_actions branch from ebe5339 to c03ee02 Compare April 3, 2024 20:50
@@ -20,6 +20,7 @@ fairspaceKeycloak:
cpu: "500m"
memory: "2048Mi"
postgresql:
password: ""

Choose a reason for hiding this comment

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

Is there a reason to add empty password? Rather have a failing deployment, than default password ""

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the only reason is to satisfy helm linter's complains

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let me see what else we can do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay, I've done it in a different way: it did not fail before my changes because of the default value in pipeline, but linter failed. I made it behaving the same adding brackets what allows to have nullable values. In this case, we will take the default value again if it is absent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well, it does not improve, but at least it does not make it worse. I wouldn't spend time on that

@ewelinagr
Copy link
Member

hmm, so there will be no check on PR? It would be good to see if the packaging is not broken or e.g. there are no lint errors (it was there on travis build, although I see the build was passing even with linter errors...) https://api.travis-ci.com/v3/job/612025435/log.txt

@ewelinagr good point, added linter and realized that it would be easier to understand what exactly fails if put all helm commands into separate steps, so you will find more steps.

By the way, GH Actions fails even if there is a warning

So there is no easy way to have some build/action on every PR?

@tgreenwood
Copy link
Contributor Author

hmm, so there will be no check on PR? It would be good to see if the packaging is not broken or e.g. there are no lint errors (it was there on travis build, although I see the build was passing even with linter errors...) https://api.travis-ci.com/v3/job/612025435/log.txt

@ewelinagr good point, added linter and realized that it would be easier to understand what exactly fails if put all helm commands into separate steps, so you will find more steps.
By the way, GH Actions fails even if there is a warning

So there is no easy way to have some build/action on every PR?

@ewelinagr good point, it makes sense to know that something is incorrect before merge. Changed the event triggerning (now on any push) and the push now is conditional (for dev and releases branches only

@tgreenwood tgreenwood merged commit 1632b9e into dev Apr 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants