forked from kubernetes-sigs/aws-load-balancer-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deprecated apiGroups detection on workflow. (kubernetes-sigs#3351)
* Add deprecated apiGroups detection on workflow. * Seperate deprecated api detection from unit test. * Remove deprecated api detection from unit test.
- Loading branch information
1 parent
dbf98e0
commit 5cbd0e4
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Deprecated API detect | ||
on: | ||
push: | ||
branches: [main] | ||
permissions: | ||
contents: read | ||
jobs: | ||
deprecated-apigroups: | ||
name: Detect deprecated apiGroups | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
version=$(curl -sL https://api.github.com/repos/FairwindsOps/pluto/releases/latest | jq -r ".tag_name") | ||
number=${version:1} | ||
wget https://github.com/FairwindsOps/pluto/releases/download/${version}/pluto_${number}_linux_amd64.tar.gz | ||
sudo tar -C /usr/local -xzf pluto_${number}_linux_amd64.tar.gz | ||
- run: | | ||
rm -rf docs/install | ||
rm -rf config/samples | ||
/usr/local/pluto detect-files -d . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ jobs: | |
|
||
- name: make quick-ci | ||
run: | | ||
make quick-ci | ||
make quick-ci |