-
Notifications
You must be signed in to change notification settings - Fork 47
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
AI Lab Recipe Catalog change test pipeline #2360
AI Lab Recipe Catalog change test pipeline #2360
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
164664d
to
322d85a
Compare
Signed-off-by: Tibor Dancs <[email protected]>
322d85a
to
ba4c97d
Compare
windows: | ||
name: recipe-catalog-windows-${{ matrix.windows-version }}-${{ matrix.windows-featurepack }} | ||
runs-on: ubuntu-latest | ||
permissions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove permission, no need if annontate_only: true
is set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
uses: mikepenz/action-junit-report@v5 | ||
if: always() # always run even if the previous step fails | ||
with: | ||
fail_on_failure: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add annotate_only: true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
-start ${{ env.PODMAN_START }} \ | ||
-userNetworking ${{ env.PODMAN_NETWORKING }} \ | ||
-envVars ${{ env.ENV_VARS }} \ | ||
-runAsAdmin ${{ env.PODMAN_ADMIN }} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env var is not set anywhere. I would not call it PODMAN, just RUN_AS_ADMIN. Remove the backslash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be parsed by this though?
DEFAULT_PODMAN_OPTIONS: 'INIT=1,START=1,ROOTFUL=1,NETWORKING=0,ADMIN=1'
...
echo "${{ env.DEFAULT_PODMAN_OPTIONS }}" | awk -F ',' \
'{for (i=1; i<=NF; i++) {split($i, kv, "="); print "PODMAN_"kv[1]"="kv[2]}}' >> $GITHUB_ENV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should not hide it within podman setup parameters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
3241de5
to
d2d7417
Compare
Signed-off-by: Tibor Dancs <[email protected]>
d2d7417
to
78fb086
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving the PR.
Follow up: the workflow is called template, although it cannot be run or parametrized from any other trigger/call. So the next steps would be to make the workflow parametrized so we can reuse it.
What does this PR do?
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
#2134
How to test this PR?
packages/backend/src/assets/ai.json
(e.g.: duplicate an entry)Run recipe tests on catalog change
should trigger