-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: add argo-lint and install-argo-cli action #171
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.
I think we should be able to use a path on the system instead of an artifact
Tested internally |
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.
after Iain's comments and fixes, lgtm!
e9a80d1
to
0ce83cb
Compare
0ce83cb
to
11c7fba
Compare
actions/argo-lint/action.yaml
Outdated
# substitute your-action with a unique name (within `shared-repos` for your | ||
# action), so if multiple actions check `shared-workflows` out, they don't | ||
# overwrite each other |
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.
# substitute your-action with a unique name (within `shared-repos` for your | |
# action), so if multiple actions check `shared-workflows` out, they don't | |
# overwrite each other |
ARGO_VERSION=3.5.1 | ||
echo "version=${ARGO_VERSION}" >> ${GITHUB_OUTPUT} | ||
- name: Install argo-cli | ||
uses: grafana/shared-workflows/actions/install-argo-cli@main |
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.
this needs the same change
This reverts commit 1fe126d.
Co-authored-by: Iain Lane <[email protected]>
11c7fba
to
76a765e
Compare
Please have another look at this, I think I've covered all points. |
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.
it looks good to me 👍 nice one!
one way to verify would be to trigger a run with shared-workflows@duologic/argo-lint
, see if it works.
It's running internally |
Figured this could be an interesting shared workflow to get my feet wet in this repo.
On review, this PR splits out the installation into a separate workflow that is shared with the trigger-argo-workflow action.
Changes in this PR:
install-argo-cli
actiontrigger-argo-workflow
action using aboveargo-lint
action