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

chore: Move v3 to main #2101

Merged
merged 52 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
46acfb7
erase main
pPrecel May 21, 2024
a2499cc
init: init new cli
halamix2 Feb 15, 2024
7b3ab1a
init go module
halamix2 Feb 15, 2024
c11659d
Init go project structure (#1958)
pPrecel Feb 21, 2024
299c6cf
Implement CIS auth logic (#1959)
pPrecel Feb 21, 2024
c778205
Test cis auth (#1960)
halamix2 Feb 22, 2024
5b33319
minor improvements (#1970)
pPrecel Feb 27, 2024
da5a78a
Implement CIS client (#1969)
halamix2 Feb 28, 2024
afc7f5d
Fix linting issues (#1972)
halamix2 Feb 28, 2024
c1433e0
kyma provision (#1964)
halamix2 Feb 29, 2024
fa1c016
v3: Refactor cis package (#1977)
halamix2 Mar 1, 2024
f48697a
implement kubernetes client (#1984)
pPrecel Mar 7, 2024
0eda7cb
Implement the `image-import` command (#1991)
pPrecel Mar 14, 2024
d028aa9
Test the `transport.go` file (#2008)
pPrecel Mar 20, 2024
da2619e
Propose error output format (#1994)
pPrecel Mar 20, 2024
c8ac366
Tests for registry/config.go (#2002)
Cortey Mar 22, 2024
a5784ad
Test the `image.go` file (#2009)
pPrecel Mar 22, 2024
b3c3f2a
add hana provision (#2010)
anoipm Mar 22, 2024
e9535a1
add creating bindings for hana (#2011)
anoipm Mar 25, 2024
fe2cb72
use-secret (#2014)
Cortey Mar 26, 2024
f31894c
add print hana credentials command (#2012)
anoipm Mar 26, 2024
ff51017
Implement better error handling (#2013)
halamix2 Mar 26, 2024
afb1dc4
add command hana check (#2016)
anoipm Mar 26, 2024
d536c89
add command hana delete (#2017)
anoipm Mar 26, 2024
7bbfa78
unify commands for hana (#2018)
anoipm Mar 26, 2024
09662ff
change default memory value for hana provision (#2020)
anoipm Mar 27, 2024
4039269
better error messages for BTP/CIS (#2019)
halamix2 Mar 28, 2024
7b48410
add possibility to get only user or password from hana credentials (#…
anoipm Mar 28, 2024
aa25ba4
Add reference-instance command (#2022)
halamix2 Mar 29, 2024
a7f46b7
Add option to define owner of cluster during provisioning (#2025)
halamix2 Apr 3, 2024
e676429
add error handling to hana (#2023)
anoipm Apr 3, 2024
b1f34c4
Fix secret name in hint msg (#2028)
kwiatekus Apr 3, 2024
12e0f76
Fix tests (#2030)
halamix2 Apr 4, 2024
68571a4
Add Hana cluster mapping (#2034)
halamix2 Apr 8, 2024
a212c6a
better error wrapping (#2037)
halamix2 Apr 11, 2024
1b8de3e
Use standard error interface (#2040)
halamix2 Apr 11, 2024
a87a61c
Add error hints to kyma provision (#2039)
halamix2 Apr 11, 2024
8196b86
move ctx to the cmdcommon pkg (#2047)
pPrecel Apr 16, 2024
b87999f
Make code about kubeconfig more generic (#2048)
pPrecel Apr 16, 2024
e8c0525
Better hana map hints (#2046)
halamix2 Apr 17, 2024
f2ea52a
Hana map hints (#2049)
halamix2 Apr 17, 2024
18773de
mark the kubeconfig flag as non required (#2050)
pPrecel Apr 17, 2024
fb592c0
Add subacccount reference field to reference-instance (#2053)
halamix2 Apr 22, 2024
b0cfccf
Support DockerRegistry CR in the `image-import` command (#2072)
pPrecel May 13, 2024
9337622
Add Kyma Access command to CLI (#2067)
Cortey May 13, 2024
c24b57a
add missing test (#2075)
pPrecel May 13, 2024
51e8ca6
add dependabot definition (#2074)
halamix2 May 14, 2024
9382ba4
Use clierrors package when handling Access command errors (#2076)
Cortey May 14, 2024
dfda1b6
Add fancy errors for the `image-import` cmd (#2082)
pPrecel May 14, 2024
0c64aae
add more clierror wrapping (#2084)
pPrecel May 15, 2024
0b17fd3
get rid of public Error struct (#2090)
pPrecel May 15, 2024
85ee1a5
Get rid of modifiers in the `clierror` package (#2092)
pPrecel May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/decision-record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Decision record
about: Decision record
---
<!-- Follow the decision making process (https://kyma-project.io/community/governance) -->

Created on {YYYY-MM-DD} by {name and surname (@Github username)}.

## Decision log

| Name | Description |
|-----------------------|------------------------------------------------------------------------------------|
| Title | {Provide a brief summary of the decision.} |
| Due date | {Specify the date by which the SIG or WG members need to make the decision. Use the `YYYY-MM-DD` date format.} |
| Status | {The status of the document can be `Accepted`, `Declined`, or `Proposed` when it is waiting for a decision. This section should contain one of these three words followed by the date on which the status of the document is agreed on. Follow the `YYYY-MM-DD` format for the date. For example, write `Proposed on 2018-03-20` or `Accepted on 2018-03-23`. Add the new status when it changes. Do not overwrite previous status entries.}|
| Decision type | {Type in `Binary`, `Choice`, or `Prioritization`. The `Binary` type refers to the yes/no decisions, the `Choice` type means that the decision involves choosing between many possibilities, such as a name for a new product, and the `Prioritization` type involves ranking a number of options, such as choosing the next five features to build out of one hundred possible options.} |
| Affected decisions | {Specify the ID of the decision issue or a link to the previous decision record which is affected by this decision. Use the `#{issueid}\|{decision-record-URL}(replaces\|extends\|depends on)` format. For example, write `#265(replaces)` or `#278(depends on)` which means that the decision you propose replaces the issue 265 or depends on the issue 278. Specify as many references as possible and separate them with a comma. Write `None` if no other decision is affected.}|

## Context

<!-- Briefly describe what the decision record (DR) is about.
Explain the factors for the decision, what are the forces at play, and the reasons why the discussed solution is needed.
Remember that this document should be relatively short and concise. If necessary, provide relevant links for more details.
If the decision concerns more solutions, mark them with separate subsections. Use H3 for the subsection headings. -->

## Decision

<!--Avoid using personal constructions such as "we." Use impersonal forms instead.
For example, `The decision is to...`. If it is necessary to indicate the subject, use `SIG/WG members` instead of "we." -->

## Consequences

<!-- Briefly explain the consequences of this decision for the Kyma project.
Include both the advantages and disadvantages of the discussed solution.
-->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation-improvement.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ about: Suggest an improvement or report a bug in the documentation

**Attachments**

<!-- Attach any files, links, code samples, or screenshots that will convince us to your idea. -->
<!-- Attach any files, links, code samples, or screenshots that will convince us to your idea. -->
80 changes: 80 additions & 0 deletions .github/ISSUE_TEMPLATE/new-sig-or-wg-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
name: SIG or WG proposal
about: Propose a new SIG or WG
---

<!-- Thank you for your contribution. Before you submit the issue:
1. Search other groups for relevance of your topics.
2. Read the governance model (https://kyma-project.io/community/governance).
3. Collect at least five candidates for this group.
-->

**Proposal type**
<!-- Remove the type that does not fit. -->
* Special Interest Group (SIG)
* Working Group (WG)

**Name**
* Full name of the group:
<!-- Specify the abbreviated name for slack channels, issue labels, and pull request labels.
The abbreviate name must be no longer than six characters. -->
* Abbreviated name:

**Earliest start date**
<!-- Specify the earliest date for this group to start their work. This is required to make a timely decision on the group creation. -->
* {YYYY-MM-DD}

**Visibility**
<!-- Remove the type that does not fit. -->
* Internal
* Public

**Keywords** (optional)
<!-- List several keywords or labels that relate to the working domain of this group. -->
* ...
* ...
* ...

**Proposers**
<!-- List the names and the GitHub usernames of people who are authors of this proposal. -->
* ...
* ...
* ...

**Purpose and goals**
<!-- Describe the purpose and the goals of this group. -->

**Benefits**
<!-- Provide the reasons for organizing this group. Describe how the Kyma project or the Kyma community can benefit from the work of this group. -->

**Expected results**
<!-- Describe what you expect as deliverables of this group and how they relate to the purpose and the goals of this group. Provide a provisionary timeline or phases if possible. -->

**Expected membership and governance**
<!-- Provide the details even if they are not final yet. -->
* Meeting frequency: <!-- Define if the group meets daily, weekly, bi-weekly, or monthly. -->
* Membership: <!-- Provide the approximate number of initial members. -->
* Duration: <!-- This field is mandatory for a WG. -->

**Previous approach** (optional)
<!-- Describe if and how these topics were previously addressed and why you think this group can improve them.-->

**Measures of success** (optional for SIG)
<!-- List the criteria to assess if the group's work is successful and adds value.
Describe the methods of performing and documenting the regular self-assessment by the group. -->
* ...
* ...
* ...

**Assessment frequency**
<!-- Define how often the group evaluates its work. Remove the type that does not fit. -->
* Monthly
* Quarterly
* Biannually
* Annually

**Exit criteria**
<!-- List the conditions and risks that can lead to dissolving the group. Be specific and do not make general statements. -->
* ...
* ...
* ...
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/security-vulnerability.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Security Vulnerability
name: Security vulnerability
about: Report vulnerability in the project
---

Expand Down Expand Up @@ -30,11 +30,11 @@ For example:
[CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) **7.1 (High)**

Placeholder details:
* {CVSS Vector String}:
Vector String representation of the CVSS metrics, as displayed by the CVSS calculator.
* {CVSS Vector String}:
Vector String representation of the CVSS metrics, as displayed by the CVSS calculator.
For example: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
* {CVSS Calculator URL}:
A deeplink to the CVSS calculator with the metrics that you propose.
A deeplink to the CVSS calculator with the metrics that you propose.
Automatically appears in your browser's URL bar after you filled in the metrics.
Contains the {CVSS Vector String}.
For example: https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Expand Down
30 changes: 17 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
labels:
- "go"
- "area/dependency"
- "kind/chore"
schedule:
interval: "daily"
interval: "weekly"
commit-message:
prefix: "chore(dependabot)"
- package-ecosystem: "docker"
directory: "/"
labels:
- "docker"
- "area/dependency"
schedule:
interval: "daily"
commit-message:
prefix: "chore(dependabot)"
prefix: "gomod"
include: "scope"
ignore:
# ignore minor k8s updates, e.g. 1.27.x -> 1.28.x
- dependency-name: "k8s.io/*"
update-types: ["version-update:semver-minor"]
- dependency-name: "sigs.k8s.io/*"
update-types: ["version-update:semver-minor"]
- dependency-name: "helm.sh/helm/v3"
update-types: ["version-update:semver-minor"]
groups:
k8s-io:
patterns:
- "k8s.io/*"
34 changes: 0 additions & 34 deletions .github/package.json

This file was deleted.

2 changes: 2 additions & 0 deletions .github/pull-request-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
2. Read and submit the required Contributor Licence Agreements (https://github.com/kyma-project/community/blob/main/CONTRIBUTING.md#agreements-and-licenses).
3. Test your changes and attach their results to the pull request.
4. Update the relevant documentation.

If the pull request requires a decision, follow the [decision-making process](https://github.com/kyma-project/community/blob/main/governance.md) and replace the PR template with the [decision record template](https://github.com/kyma-project/community/blob/main/.github/ISSUE_TEMPLATE/decision-record.md).
-->

**Description**
Expand Down
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/lint-conventional-prs.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/lint-golangci.yml

This file was deleted.

13 changes: 2 additions & 11 deletions .github/workflows/lint-markdown-links.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
name: Lint Markdown Links
run-name: ${{github.event.pull_request.title}}

on:
pull_request:
schedule:
# Run every day at 5:00 AM
- cron: "0 5 * * *"

on: [ pull_request ]
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
config-file: '.mlc.config.json'
folder-path: '.'
max-depth: -1
check-modified-files-only: 'yes'
base-branch: 'main'
21 changes: 0 additions & 21 deletions .github/workflows/pull-cli-build.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/pull-cli-docs.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/pull-cli-unit-test.yaml

This file was deleted.

Loading
Loading