Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,051 changes: 960 additions & 91 deletions gitops-promoter/crds/crds.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gitops-promoter/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitops-promoter"
edition = "v0.11.2"
version = "v0.18.3"
version = "v0.19.1"

[dependencies]
k8s = "1.32.4"
2 changes: 1 addition & 1 deletion gitops-promoter/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -o errexit
set -o nounset
set -eoux pipefail

VERSION="v0.18.3"
VERSION="v0.19.1"

rm -rf v*
mkdir -p crds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActive:
dry
hydrated : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveHydrated, default is Undefined, optional
hydrated
note : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNote, default is Undefined, optional
note
"""


Expand All @@ -180,6 +182,8 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActive:

hydrated?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveHydrated

note?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNote


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveCommitStatusesItems0:
r"""
Expand Down Expand Up @@ -400,6 +404,97 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveHydratedReferen
_regex_match(str(repoURL), r"^(https?://.*)?$") if repoURL


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNote:
r"""
Note is the hydrator metadata from the git note attached to the hydrated commit.

Attributes
----------
author : str, default is Undefined, optional
Author is the author of the dry commit that was used to hydrate the branch.
body : str, default is Undefined, optional
Body is the body of the dry commit that was used to hydrate the branch without the subject.
date : str, default is Undefined, optional
Date is the date of the dry commit that was used to hydrate the branch.
drySha : str, default is Undefined, optional
DrySha is the SHA of the commit that was used as the dry source for hydration.
references : [PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNoteReferencesItems0], default is Undefined, optional
References are the references to other commits, that went into the hydration of the branch.
repoURL : str, default is Undefined, optional
RepoURL is the URL of the repository where the commit is located.
subject : str, default is Undefined, optional
Subject is the subject line of the dry commit that was used to hydrate the branch.
"""


author?: str

body?: str

date?: str

drySha?: str

references?: [PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNoteReferencesItems0]

repoURL?: str

subject?: str


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNoteReferencesItems0:
r"""
RevisionReference contains a reference to a some information that is related in some way to another commit. For now,
it supports only references to a commit. In the future, it may support other types of references.

Attributes
----------
commit : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNoteReferencesItems0Commit, default is Undefined, optional
commit
"""


commit?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNoteReferencesItems0Commit


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusActiveNoteReferencesItems0Commit:
r"""
Commit contains metadata about the commit that is related in some way to another commit.

Attributes
----------
author : str, default is Undefined, optional
Author is the author of the commit.
body : str, default is Undefined, optional
Body is the body of the commit message, excluding the subject line, i.e. `git show --format=%b`.
date : str, default is Undefined, optional
Date is the date of the commit, formatted as by `git show -s --format=%aI`.
repoURL : str, default is Undefined, optional
RepoURL is the URL of the repository where the commit is located.
sha : str, default is Undefined, optional
Sha is the commit hash.
subject : str, default is Undefined, optional
Subject is the subject line of the commit message, i.e. `git show --format=%s`.
"""


author?: str

body?: str

date?: str

repoURL?: str

sha?: str

subject?: str


check:
_regex_match(str(repoURL), r"^(https?://.*)?$") if repoURL


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusConditionsItems0:
r"""
Condition contains details for one aspect of the current state of this API Resource.
Expand Down Expand Up @@ -486,6 +581,8 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0Active:
dry
hydrated : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveHydrated, default is Undefined, optional
hydrated
note : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNote, default is Undefined, optional
note
"""


Expand All @@ -495,6 +592,8 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0Active:

hydrated?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveHydrated

note?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNote


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveCommitStatusesItems0:
r"""
Expand Down Expand Up @@ -715,6 +814,97 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveHy
_regex_match(str(repoURL), r"^(https?://.*)?$") if repoURL


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNote:
r"""
Note is the hydrator metadata from the git note attached to the hydrated commit.

Attributes
----------
author : str, default is Undefined, optional
Author is the author of the dry commit that was used to hydrate the branch.
body : str, default is Undefined, optional
Body is the body of the dry commit that was used to hydrate the branch without the subject.
date : str, default is Undefined, optional
Date is the date of the dry commit that was used to hydrate the branch.
drySha : str, default is Undefined, optional
DrySha is the SHA of the commit that was used as the dry source for hydration.
references : [PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNoteReferencesItems0], default is Undefined, optional
References are the references to other commits, that went into the hydration of the branch.
repoURL : str, default is Undefined, optional
RepoURL is the URL of the repository where the commit is located.
subject : str, default is Undefined, optional
Subject is the subject line of the dry commit that was used to hydrate the branch.
"""


author?: str

body?: str

date?: str

drySha?: str

references?: [PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNoteReferencesItems0]

repoURL?: str

subject?: str


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNoteReferencesItems0:
r"""
RevisionReference contains a reference to a some information that is related in some way to another commit. For now,
it supports only references to a commit. In the future, it may support other types of references.

Attributes
----------
commit : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNoteReferencesItems0Commit, default is Undefined, optional
commit
"""


commit?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNoteReferencesItems0Commit


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0ActiveNoteReferencesItems0Commit:
r"""
Commit contains metadata about the commit that is related in some way to another commit.

Attributes
----------
author : str, default is Undefined, optional
Author is the author of the commit.
body : str, default is Undefined, optional
Body is the body of the commit message, excluding the subject line, i.e. `git show --format=%b`.
date : str, default is Undefined, optional
Date is the date of the commit, formatted as by `git show -s --format=%aI`.
repoURL : str, default is Undefined, optional
RepoURL is the URL of the repository where the commit is located.
sha : str, default is Undefined, optional
Sha is the commit hash.
subject : str, default is Undefined, optional
Subject is the subject line of the commit message, i.e. `git show --format=%s`.
"""


author?: str

body?: str

date?: str

repoURL?: str

sha?: str

subject?: str


check:
_regex_match(str(repoURL), r"^(https?://.*)?$") if repoURL


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusHistoryItems0Proposed:
r"""
Proposed is the state of the proposed branch at the time the PR was merged.
Expand Down Expand Up @@ -907,6 +1097,8 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposed:
dry
hydrated : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedHydrated, default is Undefined, optional
hydrated
note : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNote, default is Undefined, optional
note
"""


Expand All @@ -916,6 +1108,8 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposed:

hydrated?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedHydrated

note?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNote


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedCommitStatusesItems0:
r"""
Expand Down Expand Up @@ -1136,6 +1330,97 @@ schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedHydratedRefer
_regex_match(str(repoURL), r"^(https?://.*)?$") if repoURL


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNote:
r"""
Note is the hydrator metadata from the git note attached to the hydrated commit.

Attributes
----------
author : str, default is Undefined, optional
Author is the author of the dry commit that was used to hydrate the branch.
body : str, default is Undefined, optional
Body is the body of the dry commit that was used to hydrate the branch without the subject.
date : str, default is Undefined, optional
Date is the date of the dry commit that was used to hydrate the branch.
drySha : str, default is Undefined, optional
DrySha is the SHA of the commit that was used as the dry source for hydration.
references : [PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNoteReferencesItems0], default is Undefined, optional
References are the references to other commits, that went into the hydration of the branch.
repoURL : str, default is Undefined, optional
RepoURL is the URL of the repository where the commit is located.
subject : str, default is Undefined, optional
Subject is the subject line of the dry commit that was used to hydrate the branch.
"""


author?: str

body?: str

date?: str

drySha?: str

references?: [PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNoteReferencesItems0]

repoURL?: str

subject?: str


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNoteReferencesItems0:
r"""
RevisionReference contains a reference to a some information that is related in some way to another commit. For now,
it supports only references to a commit. In the future, it may support other types of references.

Attributes
----------
commit : PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNoteReferencesItems0Commit, default is Undefined, optional
commit
"""


commit?: PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNoteReferencesItems0Commit


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusProposedNoteReferencesItems0Commit:
r"""
Commit contains metadata about the commit that is related in some way to another commit.

Attributes
----------
author : str, default is Undefined, optional
Author is the author of the commit.
body : str, default is Undefined, optional
Body is the body of the commit message, excluding the subject line, i.e. `git show --format=%b`.
date : str, default is Undefined, optional
Date is the date of the commit, formatted as by `git show -s --format=%aI`.
repoURL : str, default is Undefined, optional
RepoURL is the URL of the repository where the commit is located.
sha : str, default is Undefined, optional
Sha is the commit hash.
subject : str, default is Undefined, optional
Subject is the subject line of the commit message, i.e. `git show --format=%s`.
"""


author?: str

body?: str

date?: str

repoURL?: str

sha?: str

subject?: str


check:
_regex_match(str(repoURL), r"^(https?://.*)?$") if repoURL


schema PromoterArgoprojIoV1alpha1ChangeTransferPolicyStatusPullRequest:
r"""
PullRequest is the state of the pull request that was created for this ChangeTransferPolicy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ schema PromoterArgoprojIoV1alpha1ClusterScmProviderSpec:

Attributes
----------
bitbucketCloud : any, default is Undefined, optional
BitbucketCloud required configuration for Bitbucket Cloud as the SCM provider
fake : PromoterArgoprojIoV1alpha1ClusterScmProviderSpecFake, default is Undefined, optional
fake
forgejo : PromoterArgoprojIoV1alpha1ClusterScmProviderSpecForgejo, default is Undefined, optional
Expand All @@ -56,6 +58,8 @@ schema PromoterArgoprojIoV1alpha1ClusterScmProviderSpec:
"""


bitbucketCloud?: any

fake?: PromoterArgoprojIoV1alpha1ClusterScmProviderSpecFake

forgejo?: PromoterArgoprojIoV1alpha1ClusterScmProviderSpecForgejo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ schema PromoterArgoprojIoV1alpha1CommitStatusSpec:


check:
len(name) >= 1
len(sha) <= 64
len(sha) >= 1
_regex_match(str(sha), r"^[a-fA-F0-9]+$")
Expand Down
Loading