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

ci: Fix CodeQL check and ignore codecov token error #8827

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

shu-mutou
Copy link
Contributor

@shu-mutou shu-mutou commented Mar 23, 2024

As of now, we need to manually setup golang for 1.22.
github/codeql#15647 (comment)

Also, ignore Codecov token not found error.
PR from dependabot causes an error, so comment this out until the problem is resolved.
See codecov/codecov-action#1274

As of now, we need to manually setup golang for 1.22.
github/codeql#15647 (comment)
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 23, 2024
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 23, 2024
@shu-mutou
Copy link
Contributor Author

/retitle ci: Fix CodeQL check

@k8s-ci-robot k8s-ci-robot changed the title Fix CodeQL check ci: Fix CodeQL check Mar 23, 2024
@shu-mutou
Copy link
Contributor Author

/label kind/cleanup

@k8s-ci-robot
Copy link
Contributor

@shu-mutou: The label(s) /label kind/cleanup cannot be applied. These labels are supported: api-review, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, team/katacoda, refactor. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

In response to this:

/label kind/cleanup

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@shu-mutou shu-mutou added the kind/bug Categorizes issue or PR as related to a bug. label Mar 23, 2024
Copy link

codecov bot commented Mar 23, 2024

Codecov Report

Merging #8827 (bc0f751) into master (1d4897c) will decrease coverage by 0.01%.
Report is 3 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8827      +/-   ##
==========================================
- Coverage   37.55%   37.54%   -0.01%     
==========================================
  Files         255      255              
  Lines       11145    11145              
  Branches      158      158              
==========================================
- Hits         4185     4184       -1     
+ Misses       6747     6710      -37     
- Partials      213      251      +38     

PR from dependabot causes an error, so comment this out until the problem is resolved.
See codecov/codecov-action#1274
@shu-mutou
Copy link
Contributor Author

/retitle ci: Fix CodeQL check and ignore codecov token error

@k8s-ci-robot k8s-ci-robot changed the title ci: Fix CodeQL check ci: Fix CodeQL check and ignore codecov token error Mar 23, 2024
@maciaszczykm
Copy link
Member

@shu-mutou Let's change this one little thing and it's good to merge.

Having reports uploaded is not impotant, especially PR for dependency update.
See following about bug for this option:
codecov/codecov-action#1274
@shu-mutou
Copy link
Contributor Author

@maciaszczykm PTAL again, thanks!

Copy link
Member

@maciaszczykm maciaszczykm left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 2, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maciaszczykm, shu-mutou

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [maciaszczykm,shu-mutou]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 082b1ae into kubernetes:master Apr 2, 2024
15 checks passed
@shu-mutou shu-mutou deleted the fix-codeql branch April 2, 2024 07:28
kireque referenced this pull request in kireque/home-ops Apr 6, 2024
…430)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [kubernetes-dashboard](https://togithub.com/kubernetes/dashboard) |
minor | `7.1.3` -> `7.2.0` |

---

### Release Notes

<details>
<summary>kubernetes/dashboard (kubernetes-dashboard)</summary>

###
[`v7.2.0`](https://togithub.com/kubernetes/dashboard/releases/tag/kubernetes-dashboard-7.2.0)

[Compare
Source](https://togithub.com/kubernetes/dashboard/compare/kubernetes-dashboard-7.1.3...kubernetes-dashboard-7.2.0)

#### What's Changed

- ci: Fix CodeQL check and ignore codecov token error by
[@&#8203;shu-mutou](https://togithub.com/shu-mutou) in
[https://github.com/kubernetes/dashboard/pull/8827](https://togithub.com/kubernetes/dashboard/pull/8827)
- chore(deps-dev): bump cypress from 13.6.6 to 13.7.1 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8825](https://togithub.com/kubernetes/dashboard/pull/8825)
- chore(deps): bump docker/login-action from 3.0.0 to 3.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8786](https://togithub.com/kubernetes/dashboard/pull/8786)
- chore(deps-dev): bump sass from 1.71.1 to 1.72.0 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8789](https://togithub.com/kubernetes/dashboard/pull/8789)
- chore(deps-dev): bump webpack-dev-server from 5.0.2 to 5.0.4 in
/modules/web by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8817](https://togithub.com/kubernetes/dashboard/pull/8817)
- chore(deps): bump docker/setup-buildx-action from 3.1.0 to 3.2.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8797](https://togithub.com/kubernetes/dashboard/pull/8797)
- chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in
/modules/web by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8803](https://togithub.com/kubernetes/dashboard/pull/8803)
- chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in
/modules/web by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8824](https://togithub.com/kubernetes/dashboard/pull/8824)
- chore(deps-dev): bump
[@&#8203;graphql-mesh/openapi](https://togithub.com/graphql-mesh/openapi)
from 0.99.2 to 0.99.6 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8831](https://togithub.com/kubernetes/dashboard/pull/8831)
- chore(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8839](https://togithub.com/kubernetes/dashboard/pull/8839)
- chore(deps-dev): bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 7.1.1 to 7.5.0 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8850](https://togithub.com/kubernetes/dashboard/pull/8850)
- chore(deps-dev): bump minimatch from 9.0.3 to 9.0.4 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8852](https://togithub.com/kubernetes/dashboard/pull/8852)
- chore(deps): bump github.com/prometheus/client_golang from 1.18.0 to
1.19.0 in /modules/api by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8727](https://togithub.com/kubernetes/dashboard/pull/8727)
- chore(deps): bump azure/setup-helm from 4.0.0 to 4.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8751](https://togithub.com/kubernetes/dashboard/pull/8751)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/modules/common/tools by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8781](https://togithub.com/kubernetes/dashboard/pull/8781)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/modules/metrics-scraper by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8782](https://togithub.com/kubernetes/dashboard/pull/8782)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/modules/auth by [@&#8203;dependabot](https://togithub.com/dependabot)
in
[https://github.com/kubernetes/dashboard/pull/8783](https://togithub.com/kubernetes/dashboard/pull/8783)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/modules/web by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8785](https://togithub.com/kubernetes/dashboard/pull/8785)
- chore(deps-dev): bump
[@&#8203;graphql-mesh/cli](https://togithub.com/graphql-mesh/cli) from
0.89.0 to 0.89.8 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8849](https://togithub.com/kubernetes/dashboard/pull/8849)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/modules/api by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8780](https://togithub.com/kubernetes/dashboard/pull/8780)
- chore(deps): bump github.com/emicklei/go-restful/v3 from 3.11.3 to
3.12.0 in /modules/api by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8773](https://togithub.com/kubernetes/dashboard/pull/8773)
- chore(deps): bump express from 4.18.3 to 4.19.2 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8845](https://togithub.com/kubernetes/dashboard/pull/8845)
- chore(deps-dev): bump
[@&#8203;graphql-mesh/runtime](https://togithub.com/graphql-mesh/runtime)
from 0.98.0 to 0.98.7 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8847](https://togithub.com/kubernetes/dashboard/pull/8847)
- chore(deps-dev): bump
[@&#8203;types/node](https://togithub.com/types/node) from 20.11.24 to
20.12.2 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8848](https://togithub.com/kubernetes/dashboard/pull/8848)
- chore(deps): bump github.com/golangci/golangci-lint from 1.56.2 to
1.57.2 in /modules/common/tools by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8844](https://togithub.com/kubernetes/dashboard/pull/8844)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in
/modules/common/client by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8784](https://togithub.com/kubernetes/dashboard/pull/8784)
- chore(deps-dev): bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 7.1.0 to 7.5.0 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8851](https://togithub.com/kubernetes/dashboard/pull/8851)
- chore(deps-dev): bump
[@&#8203;babel/preset-env](https://togithub.com/babel/preset-env) from
7.24.0 to 7.24.3 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8868](https://togithub.com/kubernetes/dashboard/pull/8868)
- chore(deps-dev): bump node-gyp from 10.0.1 to 10.1.0 in /modules/web
by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8857](https://togithub.com/kubernetes/dashboard/pull/8857)
- chore(deps-dev): bump stylelint-config-standard-scss from 13.0.0 to
13.1.0 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8858](https://togithub.com/kubernetes/dashboard/pull/8858)
- chore(deps): bump github.com/go-openapi/spec from 0.20.4 to 0.21.0 in
/modules/api by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8862](https://togithub.com/kubernetes/dashboard/pull/8862)
- chore(deps): bump ace-builds from 1.32.7 to 1.32.9 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8863](https://togithub.com/kubernetes/dashboard/pull/8863)
- chore(deps-dev): bump cypress from 13.7.1 to 13.7.2 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8860](https://togithub.com/kubernetes/dashboard/pull/8860)
- chore(deps-dev): bump tar from 6.2.0 to 6.2.1 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8856](https://togithub.com/kubernetes/dashboard/pull/8856)
- chore(deps): bump core-js from 3.36.0 to 3.36.1 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8859](https://togithub.com/kubernetes/dashboard/pull/8859)
- chore(deps-dev): bump stylelint from 16.2.1 to 16.3.1 in /modules/web
by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8861](https://togithub.com/kubernetes/dashboard/pull/8861)
- chore(deps-dev): bump ng-extract-i18n-merge from 2.11.0 to 2.11.1 in
/modules/web by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8866](https://togithub.com/kubernetes/dashboard/pull/8866)
- chore(deps-dev): bump
[@&#8203;types/node](https://togithub.com/types/node) from 20.12.2 to
20.12.3 in /modules/web by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/kubernetes/dashboard/pull/8867](https://togithub.com/kubernetes/dashboard/pull/8867)

##### API

- fix: api schema and update kong chart config by
[@&#8203;floreks](https://togithub.com/floreks) in
[https://github.com/kubernetes/dashboard/pull/8879](https://togithub.com/kubernetes/dashboard/pull/8879)
- fix(api): role/clusterole/podlist endpoints by
[@&#8203;floreks](https://togithub.com/floreks) in
[https://github.com/kubernetes/dashboard/pull/8881](https://togithub.com/kubernetes/dashboard/pull/8881)

##### Helm Chart

-   Update csrf secret handling.
It will no longer be regenerated on every helm run. Instead, it will use
a lookup function to make sure that the `private.key` value is not
empty. If secret will be deleted or key changed, then checksum
annotation on api/auth containers will trigger a rollout restart.
- Update kong `dns_order` configuration to include experimental `AAAA`
record for ipv6 lookup. It can potentially fix issues with accessing
Dashboard on IPv6-enabled cluster. Closes
[#&#8203;8855](https://togithub.com/kubernetes/dashboard/issues/8855)
- Reenable SA token automount for auth container. It is required to
initialize the in-cluster go client.
-   Bump API image to `1.4.1`
- Optimize kong deployment to minimize memory usage (down from ~250Mi to
~75Mi on start)
- feat(chart): add automountServiceAccountToken to deployment specs in
Helm chart by [@&#8203;jnoordsij](https://togithub.com/jnoordsij) in
[https://github.com/kubernetes/dashboard/pull/8869](https://togithub.com/kubernetes/dashboard/pull/8869)
- feat(chart): allow setting priorityClassName on deployments by
[@&#8203;jnoordsij](https://togithub.com/jnoordsij) in
[https://github.com/kubernetes/dashboard/pull/8870](https://togithub.com/kubernetes/dashboard/pull/8870)
- feat(chart): bump chart version to 7.2.0 by
[@&#8203;floreks](https://togithub.com/floreks) in
[https://github.com/kubernetes/dashboard/pull/8882](https://togithub.com/kubernetes/dashboard/pull/8882)

#### New Contributors

- [@&#8203;jnoordsij](https://togithub.com/jnoordsij) made their first
contribution in
[https://github.com/kubernetes/dashboard/pull/8869](https://togithub.com/kubernetes/dashboard/pull/8869)

**Full Changelog**:
kubernetes/dashboard@kubernetes-dashboard-7.1.3...kubernetes-dashboard-7.2.0

#### Installation

```sh
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard
```

#### Compatibility

| Kubernetes version | 1.27 | 1.28 | 1.29 |
|--------------------|-----|-----|-----|
| Compatibility            | ?   |   ?   |   ✓    |

-   `✓` Fully supported version range.
- `?` Due to breaking changes between Kubernetes API versions, some
features might not work correctly in the Dashboard.

#### Images

    docker.io/kubernetesui/dashboard-api:1.4.1
    docker.io/kubernetesui/dashboard-auth:1.1.2
    docker.io/kubernetesui/dashboard-metrics-scraper:1.1.1
    docker.io/kubernetesui/dashboard-web:1.2.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzkuNCIsInVwZGF0ZWRJblZlciI6IjM3LjI3OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9oZWxtIiwidHlwZS9taW5vciJdfQ==-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants