chore: change license to MIT (#2)

This commit is contained in:
2026-01-13 20:47:53 +08:00
committed by GitHub
parent 86e92c5e72
commit 6298940adb
15 changed files with 234 additions and 131 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 bapung
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -185,3 +185,7 @@ The default runner image uses `dind-rootless`. This requires the pod to run with
- Helm Chart - Helm Chart
- Custom Runner Job Spec definition - Custom Runner Job Spec definition
- Push mode using Webhook trigger - Push mode using Webhook trigger
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
// Package v1alpha1 contains API Schema definitions for the gitea v1alpha1 API group. // Package v1alpha1 contains API Schema definitions for the gitea v1alpha1 API group.

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package v1alpha1 package v1alpha1

View File

@@ -1,19 +1,25 @@
//go:build !ignore_autogenerated //go:build !ignore_autogenerated
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
// Code generated by controller-gen. DO NOT EDIT. // Code generated by controller-gen. DO NOT EDIT.

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package main package main

View File

@@ -1,15 +1,21 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
*/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package controller package controller

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package controller package controller

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package controller package controller

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package gitea package gitea

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package gitea package gitea

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package e2e package e2e

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package e2e package e2e

View File

@@ -1,17 +1,23 @@
/* /*
Copyright 2026. Copyright 2026 bapung.
Licensed under the Apache License, Version 2.0 (the "License"); Permission is hereby granted, free of charge, to any person obtaining a copy
you may not use this file except in compliance with the License. of this software and associated documentation files (the "Software"), to deal
You may obtain a copy of the License at in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
http://www.apache.org/licenses/LICENSE-2.0 The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Unless required by applicable law or agreed to in writing, software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
distributed under the License is distributed on an "AS IS" BASIS, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
See the License for the specific language governing permissions and AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
limitations under the License. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/ */
package utils package utils