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

Pipeline Verbesserungen #11

Merged
merged 43 commits into from
Sep 17, 2024
Merged

Pipeline Verbesserungen #11

merged 43 commits into from
Sep 17, 2024

Conversation

hupling
Copy link
Contributor

@hupling hupling commented Sep 9, 2024

Description

Pipeline in eine Matrix gebaut und Node ausgelagert

Reference

Issues it-at-m/.github#18

Comment on lines 28 to 32
- if: github.ref == 'refs/heads/test-pip'
uses: it-at-m/.github/.github/actions/action-build-image@pipeline-feedback
with:
path: "${{ matrix.app-path }}"
image-name: "${{ matrix.app-path }}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ich hätte gerne diesen Step als separaten Job gehabt. Leider weiß ich nicht, wie man dann die Matrix nur einmal definiert hätte.

@hupling hupling requested a review from banzuu September 9, 2024 09:42
@hupling
Copy link
Contributor Author

hupling commented Sep 9, 2024

@simonhir gibt es noch Anmerkungen von dir?

Comment on lines 9 to 10
outputs:
matrix: ${{ toJSON(matrix) }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

da braucht man nicht mehr

Copy link
Member

Choose a reason for hiding this comment

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

Was wondering too :D

- app-path: sps-backend
enable-node: false
language: java
Copy link
Contributor Author

Choose a reason for hiding this comment

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

die language muss man eigentlich gar nicht angeben. man kann ja anhand des dateipfads erkennen, ob es eine package.json oder pom.xml enthält

Copy link
Member

@simonhir simonhir left a comment

Choose a reason for hiding this comment

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

LGTM but the workflow in projects is probably always at least a bit different between projects

strategy:
fail-fast: false
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Da war noch das build image in einem anderen Job. Habe gedacht das es besser ist, wenn das builden überall noch weiter läuft. So sieht man gleich, ob es mehrere Fehler gibt. Ansonsten wird es gleich im Lauf abgebrochen

Copy link
Member

Choose a reason for hiding this comment

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

Ah ok 👍 besides, anyone can change it if it bothers them

Comment on lines 9 to 10
outputs:
matrix: ${{ toJSON(matrix) }}
Copy link
Member

Choose a reason for hiding this comment

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

Was wondering too :D

@hupling
Copy link
Contributor Author

hupling commented Sep 11, 2024

@simonhir passt das jetzt so. Die Pipeline wird immer komplizierter.

Spotless, sonarlint, owasp muss man ja auch noch einbauen

@hupling hupling merged commit 00c22be into main Sep 17, 2024
7 of 9 checks passed
@hupling hupling deleted the test-pip branch September 17, 2024 11:28
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.

3 participants