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2lysA{|}sqEp7k+
literal 0
HcmV?d00001
diff --git a/main/target/classes/org/example/ProjectPage.class b/main/target/classes/org/example/ProjectPage.class
new file mode 100644
index 0000000000000000000000000000000000000000..78e6b877ad19d5c46dae1ab7dc489551eca5a1cc
GIT binary patch
literal 2401
zcmah~3s)0I7`+pbg|Grf1s_$>DkeeQsC`&sZ3VH_;-e;lTKgEn5C%89aUTlppK8yk
z720$91Nx(SdS|oIU>8kJHoLR)efNH^JOBLq=idOX;g>ve*kz&5#%}ZrRQ#an_-*Aq
zlTN5y<>|QPgmJs=2aywNXWo~~a>-S*eyipwv9a)78p06YF)P4u5#`L{+en;_heHESW7Zg
z5AM$k6z13DbLqI!YdW=JL<(mYLiC+`z-9YaR6fiV_C7xYzPdv+Iw18
z>m+}+_&S`yDUGjaTLdxujN2LSAoFs%-xG>
z>3XuEn#TlASU73pL!1&glf|lA8k4RYvJv?KY1pP9bFON!KB2(nVkS^c$)K@1>w6J1
zQSC{?-6d0iYH48zlQ?6cXrqL(z|kxMuj#TBE81I5VFjkMQD-))+4-fT)V4Z=vp8qr
zybZ_ntNF0Ke6#CF0*7U
z=_UPGD(*Ao5xDR^IdNK2%g{OJv^&}nn#R3n
z<6GRPDm4{(9LSpUq`~Vp9$z!9)M)a8477Pp
z7yF`BO`3-indlBr&*W5T*YxZD_Icu9rXAWf+5VnZqi>5O1I*N-p5bRqE)N+dP>1HU
zQM}F1tv6I>uq=@2$eVP}1%Xd39jxi5C!;uEjJGo(x=NXKh+Ww+@~ey@U-RRjp>AlC
zz|o$(oHsNmw>Ldc1+%WH3&~lj1TcbbAL9g1jvNPc7q2`7cvmn-9|V*cTUh+@SmAvi
z*C&EU_`4vRDV7Z-@@q}=BKtWCGZz2kIecj
zT>O>xIT+MoS^&rSe-is~x(8_@MH*(jEqFxegHMi~=pNEe&~nmv+``8KTlkFQhc7m9
zZ3|!JuxQ>CZg1gk4sW9D;FTHE6w%Hmcy`BAir0rWQF2KRzvRC`DRfY3Z05y3@Msf1
yzVX_4bU`rY-^bM!e4<#`EO=1=fvcu1r&MHu?vto0IstfABvvPI@l@
literal 0
HcmV?d00001
diff --git a/main/target/test-classes/APITests/APITestGiteaTest.class b/main/target/test-classes/APITests/APITestGiteaTest.class
new file mode 100644
index 0000000000000000000000000000000000000000..d9e1e2477d55aaad0236c589779b205c98c1d060
GIT binary patch
literal 3711
zcmbVOYkLz#6n>{IY-qO>BB%wCQVOI6*@mQ4#Op
z{eA=QmtUZMknlYE_*EZ&guleccalIul49Y*&g{&bbLL#$bI$zr@0H&H4CBXUG@#Ky
zlZho*DzM_DoRgL#-5F~vbyB56fu(zF*ADL!XpD7FMGz5Koejg>pk+B;S~^)T2nQ3r
zy}eNiY&OvXQ{awSc}k6VZd!)N?J&!~Ae3$x2yBie=dYLuecPQG>aN{dhUI88u)@Sj
zLfgW_c8G&7kygup8RBLcI)*I+B
zu>qX|eT&hcS_qYpjw7&&O3VkM6zib~x&&H>^I_KW?dOWVFtAymefa3;Bpni1<(~s~
zsHEPBASSRq^iCt8YMN5{c<}N)E*PcT3gRpP0_1wIh2>
zY{fQ$E30Hi`2tQIT+}LfqIT<6Lb(jvVHxN(5yuXJ^;M44@V1EAP`TmcvpFTu^w7lE
z5rGZWu&Jgjf~3zxKXwYVq$@>C#r~K1R!oUt7Xxs%qtlhMs&kODIy0_vUO7;m+d4XP
zzC9;HeK;+hKy{qc0T?tfggvw@~eV>WFI^CMiWR)AiFg;=A1LZS=
zb6%h+Moc__2T8#-E6mY4moFyLtOz+)7NyHU@nEA0a6q7=DylWqE!dAy6A$4K
zH3_M!z|Pv#yv8;q9XlgKnQ~O^eTN0ME_7cV#ug+orVGi@o4&K0&_voeCJapKVn73S
z+{Eo=5n72U6UXt0Kr?G=m=8w04ADLi8?A}`V%!kHWAvm3Vg!#1EWaL#&3F<|8F<=+
zM2a=V^JlEAoJ~`5$ZYe~VHu{g%4d@>SbwE6=?U~yLZe)zx|7$jmf7f#Br+P+wBU3l
zTe-{B=ejAJ)rsU)$VI@)Zj@8488%KDIAy}Ytia0oLc7oN93_b~V@^7GH8w49d+f2w
zQe38BEvETvOF3iBN?Qij_5Rd}blQZk6KQEiIVz;#OT06#E~l+mTP{`3GaPd~Dhd&Z
z$ecZ?3w8ud{McfvHnTYAd-_RmgaKxpOIT@3+O9g1pG_%$Qm2M)!unY-C4F13%bUzE
zn}J=MT(FZ2QNuum`5fm=>X^?S)jpngLwi;QQr8>iPDb^r3ndj4lV~+jE
zw`iEPPfZg_!;V9F%R@qI#8)hSx+DtRwE&auWTaoW!10*R7Nzwo#;lR=98nhjK+)}5
zxZZ7G9!+?8KdtuL+7qj*yXAHb1c5CJ+@sYvtk`@rS8wcJfU<&0`CUcodGAou6+}@O
zgucv`D1!(-WaLHBMRW1CrTDlRpWssipXnFd=K@{x7`5Fw!ow=14RORr(SDf@J)dy7
zSeaO5!qOE7rJHe7(3SMOQ~BIbMWeo&e>FFh70-;75@?4*(SUG@x;WBP3;0}QT)(QN9JEI$;TN-~uLjm1Q_!;*UkZ3@3pn%;Cq`8-s=Kj+0
zzDAPoFW{hNOBTSFS^*Ci7c22+0mmBje)Q4kiOYDR#FB0*ZcR5{Mz(VE_`F3s(MnA_
zY0*Yj+Aef33R|!l+c*vy3tk4xoqqb1Tx^&Ep=Nr;q2|c%ke@ZFw8rc%JhG+Wz_|
z-r)4+H5XheyI|~wE-2aTmJG<<$mYL`HdolPS;q@~w56Z6>|}hj1-sCT-5dvTkZtn_
z_EhLTwy^GRQQNmEt^w~9gW5t{-qmKM@gCmiL4=Es_hKM|!w+cx
E5B>`utpET3
literal 0
HcmV?d00001
diff --git a/main/target/test-classes/UITests/LoginGitTest.class b/main/target/test-classes/UITests/LoginGitTest.class
new file mode 100644
index 0000000000000000000000000000000000000000..a889f3f4f742feff3863cb42adb851835ec85248
GIT binary patch
literal 4454
zcmbVP`Fj)B6+O?}$nvm60aM6=AS|+>8MY>X!NhA~BC~mGplLIfo}~e4M$C*XJ87Hl
zOK7_9rTdcZZPH-u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SNTgN;5<*p+z{P=-}dLtEhf2I}faPQ~>~F=*1NT9z$G
zj{>#oOss1!>fEDrh7_w+V=J21ubrz9kxeH+chD*E*tw&DlYKKBQk4*+
zV@}ac$zhH|!Uf(|zAPSA=@rmNY+JemIW@wVH?4BoX4_Vej65fn4|3SS4}&HiiktbL
zUkAK4sXc-BnEHf)z>k78jg3!Yqm9=ebLAN2I1SLzeG{TPrrkjM%YooecrBakL<_d!
zr+n7SqWBqp&L@Fi&`h&3BN8;Jps#f=V#5t=?tT@Um#|e}3ER0*V)r8UF5#_Bn5uho
zSiOFf8vuo4+7eDQ;T9fyNMt>PT)2Cn!i*Te#5)K>-^mml;i?4sY=<&M3iFB#hzQhdy@MW@c!6`
z7xB?rb=C(NKS;Pk*o?!0tDR-diZePZ_*;@dEMwgcuzuG7>&4io7VsH`^@Z41L$Dqt
z)=^>|Yk>88{NXOFKQ_R+9{a{}T;B@8I!UZvVx4M$6&BZ@8eqK`yS|L|oe-=6Vhs{&
z=uKe#xdGPoI;`)7V2u##G_jt16Ig#)#yZOUs&^lvJ%=>((zj}*FgSn!SxONo%e0zQJmL*w6&A)+wf1`kMjPnw)X!4Njt}!
literal 0
HcmV?d00001
diff --git a/main/target/test-classes/UITests/NewProjectPageTest.class b/main/target/test-classes/UITests/NewProjectPageTest.class
new file mode 100644
index 0000000000000000000000000000000000000000..935e370265f0047499fe4233953bca8d0c520e8f
GIT binary patch
literal 4812
zcmai1XLwWB8GerkSC%hJAtV?Gf?%*6YNt>p-P50hS_ul={e|`F%D+x(PHh$zg&i&4J-tYa^IgkDCp+^Ap
z;6FiBpi)DXj%utDSa;T#F(L`Wnu;8Yo|Q3AU{$wincg9R%7(^?00IKxY0pa?j6@Q4
z%t%bzu6MAbwY4>pcBR9yDbuP!5Vaa~9jmcMpzg%rxO6=?G9qV39b2g#HKwE*qt+A0
zhXg`Hg@wmF$F!!p0$3+7qLy;GmeCoFH@6$D`Sn2PUJ<(O7G1vuxYn-W=_0
zZ)@JSueH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wW>lD@+SaCHRtN@|k*Mr@i0)~jSLNtk?D
zxq70CPfppojNW5TTsr(-J)}qF}OeD`s
zU|~CtNfqQZz$?#6igtVkpY`u-{{H=Q_`HAr0>0?q*=2YSsk0>nzT}T-yz*4X>ne`%
zD9h`Y`PN5$EOl7lbP1vo0P!0$<^E4U}UypbDD_W(ywUo1UG7ui|Tb
z6Zkq6Rw{)eNaafYeA8uYSU_FVgQ#1?O#+M9sV+?dYAB>FB2vK;+Hp#~Zot0F=)8nm
zhi(bob{V~wamOM?Dp)nghxaUELa=Sp3;RRM27Ew5qlz=%4Y80)bUoxBcW7v&l$xf^3V=bb?lQap|+!ykM{1?YHoC@HFe68Z}kMI*dDawD!
zyTH%*T;bDyum2qwX(9`$kQbWCU@n7aWboV!Uc7*NIDAj&H5uINKfEb}xA+fl&EW0+
z!@Dwgk9x@9{n^`xF5_bb-|Zl5aGQA}+DSqO&D+cCK6GP0UEhgep79F)9LX7`(5@xI
zpY#3;;(dG&zvSS72Yr!R}rW_Cg-^r5x;Hkc$P7b<_*oN|1*L@-RW(M#w!pb{;7L
z*S$QrUlZJKu7FGCz;&z$?vpui#h8kS+sH5mjuO+I#5BYx8776JMR+=v$Maj_`P~&f
z2l%GKCP)V{6&?{Nn4V4U`xrF$7pV>wsa8?*d(N)JA9$_6AN^RW<>;UI|9A|4#$WiM
ajso@EY5a9n4I_CQ{>J;?@lX64HU9@IYg%Oh
literal 0
HcmV?d00001
From 72e7298d66e6a694498321d886c0c4c8f8fe2dc5 Mon Sep 17 00:00:00 2001
From: maias
Date: Tue, 27 May 2025 18:54:12 +0300
Subject: [PATCH 83/89] yes
---
.github/workflows1/cron-licenses.yml | 27 +++++
...n-translations.y => cron-translations.yml} | 0
.github/workflows1/files-changed.yml | 98 ++++++++++++++++++
...{pull-compliance.y => pull-compliance.yml} | 0
...docker-dryrun.y => pull-docker-dryrun.yml} | 0
.../{pull-e2e-tests.y => pull-e2e-tests.yml} | 0
.../{pull-labeler.y => pull-labeler.yml} | 0
...{release-nightly.y => release-nightly.yml} | 0
.../{release-tag-rc.y => release-tag-rc.yml} | 0
...-tag-version.y => release-tag-version.yml} | 0
.../main/java/org/example/HomePageGit.java | 15 ---
.../test/java/APITests/APITestGiteaTest.java | 2 +-
main/src/test/java/UITests/LoginGitTest.java | 2 +-
.../APITests/APITestGiteaTest.class | Bin 3711 -> 3711 bytes
.../test-classes/UITests/LoginGitTest.class | Bin 4454 -> 4440 bytes
15 files changed, 127 insertions(+), 17 deletions(-)
rename .github/workflows1/{cron-translations.y => cron-translations.yml} (100%)
rename .github/workflows1/{pull-compliance.y => pull-compliance.yml} (100%)
rename .github/workflows1/{pull-docker-dryrun.y => pull-docker-dryrun.yml} (100%)
rename .github/workflows1/{pull-e2e-tests.y => pull-e2e-tests.yml} (100%)
rename .github/workflows1/{pull-labeler.y => pull-labeler.yml} (100%)
rename .github/workflows1/{release-nightly.y => release-nightly.yml} (100%)
rename .github/workflows1/{release-tag-rc.y => release-tag-rc.yml} (100%)
rename .github/workflows1/{release-tag-version.y => release-tag-version.yml} (100%)
diff --git a/.github/workflows1/cron-licenses.yml b/.github/workflows1/cron-licenses.yml
index e661ca9458cbc..c392a0e4982ef 100644
--- a/.github/workflows1/cron-licenses.yml
+++ b/.github/workflows1/cron-licenses.yml
@@ -27,3 +27,30 @@
# commit_message: "[skip ci] Updated licenses and gitignores"
# remote: "git@github.com:go-gitea/gitea.git"
# ssh_key: ${{ secrets.DEPLOY_KEY }}
+name: cron-licenses
+
+on:
+ workflow_dispatch:
+
+jobs:
+ cron-licenses:
+ runs-on: ubuntu-latest
+ if: github.repository == 'go-gitea/gitea'
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ check-latest: true
+ - run: make generate-license generate-gitignore
+ timeout-minutes: 40
+ - name: push translations to repo
+ uses: appleboy/git-push-action@v0.0.3
+ with:
+ author_email: "teabot@gitea.io"
+ author_name: GiteaBot
+ branch: main
+ commit: true
+ commit_message: "[skip ci] Updated licenses and gitignores"
+ remote: "git@github.com:go-gitea/gitea.git"
+ ssh_key: ${{ secrets.DEPLOY_KEY }}
diff --git a/.github/workflows1/cron-translations.y b/.github/workflows1/cron-translations.yml
similarity index 100%
rename from .github/workflows1/cron-translations.y
rename to .github/workflows1/cron-translations.yml
diff --git a/.github/workflows1/files-changed.yml b/.github/workflows1/files-changed.yml
index ab996616c8442..60bbb085bf38c 100644
--- a/.github/workflows1/files-changed.yml
+++ b/.github/workflows1/files-changed.yml
@@ -96,3 +96,101 @@
# - ".yamllint.yaml"
# - "pyproject.toml"
# - "poetry.lock"
+name: files-changed
+
+on:
+ workflow_call:
+ outputs:
+ backend:
+ value: ${{ jobs.detect.outputs.backend }}
+ frontend:
+ value: ${{ jobs.detect.outputs.frontend }}
+ docs:
+ value: ${{ jobs.detect.outputs.docs }}
+ actions:
+ value: ${{ jobs.detect.outputs.actions }}
+ templates:
+ value: ${{ jobs.detect.outputs.templates }}
+ docker:
+ value: ${{ jobs.detect.outputs.docker }}
+ swagger:
+ value: ${{ jobs.detect.outputs.swagger }}
+ yaml:
+ value: ${{ jobs.detect.outputs.yaml }}
+
+jobs:
+ detect:
+ runs-on: ubuntu-latest
+ timeout-minutes: 3
+ outputs:
+ backend: ${{ steps.changes.outputs.backend }}
+ frontend: ${{ steps.changes.outputs.frontend }}
+ docs: ${{ steps.changes.outputs.docs }}
+ actions: ${{ steps.changes.outputs.actions }}
+ templates: ${{ steps.changes.outputs.templates }}
+ docker: ${{ steps.changes.outputs.docker }}
+ swagger: ${{ steps.changes.outputs.swagger }}
+ yaml: ${{ steps.changes.outputs.yaml }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dorny/paths-filter@v3
+ id: changes
+ with:
+ filters: |
+ backend:
+ - "**/*.go"
+ - "templates/**/*.tmpl"
+ - "assets/emoji.json"
+ - "go.mod"
+ - "go.sum"
+ - "Makefile"
+ - ".golangci.yml"
+ - ".editorconfig"
+ - "options/locale/locale_en-US.ini"
+
+ frontend:
+ - "**/*.js"
+ - "web_src/**"
+ - "assets/emoji.json"
+ - "package.json"
+ - "package-lock.json"
+ - "Makefile"
+ - ".eslintrc.yaml"
+ - "stylelint.config.js"
+ - ".npmrc"
+
+ docs:
+ - "**/*.md"
+ - ".markdownlint.yaml"
+ - "package.json"
+ - "package-lock.json"
+
+ actions:
+ - ".github/workflows/*"
+ - "Makefile"
+
+ templates:
+ - "tools/lint-templates-*.js"
+ - "templates/**/*.tmpl"
+ - "pyproject.toml"
+ - "poetry.lock"
+
+ docker:
+ - "Dockerfile"
+ - "Dockerfile.rootless"
+ - "docker/**"
+ - "Makefile"
+
+ swagger:
+ - "templates/swagger/v1_json.tmpl"
+ - "Makefile"
+ - "package.json"
+ - "package-lock.json"
+ - ".spectral.yaml"
+
+ yaml:
+ - "**/*.yml"
+ - "**/*.yaml"
+ - ".yamllint.yaml"
+ - "pyproject.toml"
+ - "poetry.lock"
diff --git a/.github/workflows1/pull-compliance.y b/.github/workflows1/pull-compliance.yml
similarity index 100%
rename from .github/workflows1/pull-compliance.y
rename to .github/workflows1/pull-compliance.yml
diff --git a/.github/workflows1/pull-docker-dryrun.y b/.github/workflows1/pull-docker-dryrun.yml
similarity index 100%
rename from .github/workflows1/pull-docker-dryrun.y
rename to .github/workflows1/pull-docker-dryrun.yml
diff --git a/.github/workflows1/pull-e2e-tests.y b/.github/workflows1/pull-e2e-tests.yml
similarity index 100%
rename from .github/workflows1/pull-e2e-tests.y
rename to .github/workflows1/pull-e2e-tests.yml
diff --git a/.github/workflows1/pull-labeler.y b/.github/workflows1/pull-labeler.yml
similarity index 100%
rename from .github/workflows1/pull-labeler.y
rename to .github/workflows1/pull-labeler.yml
diff --git a/.github/workflows1/release-nightly.y b/.github/workflows1/release-nightly.yml
similarity index 100%
rename from .github/workflows1/release-nightly.y
rename to .github/workflows1/release-nightly.yml
diff --git a/.github/workflows1/release-tag-rc.y b/.github/workflows1/release-tag-rc.yml
similarity index 100%
rename from .github/workflows1/release-tag-rc.y
rename to .github/workflows1/release-tag-rc.yml
diff --git a/.github/workflows1/release-tag-version.y b/.github/workflows1/release-tag-version.yml
similarity index 100%
rename from .github/workflows1/release-tag-version.y
rename to .github/workflows1/release-tag-version.yml
diff --git a/main/src/main/java/org/example/HomePageGit.java b/main/src/main/java/org/example/HomePageGit.java
index bbf9ea19af975..1ccc77b272a1e 100644
--- a/main/src/main/java/org/example/HomePageGit.java
+++ b/main/src/main/java/org/example/HomePageGit.java
@@ -57,22 +57,7 @@ public ProfilePage goToProfilePage() {
profileImage.click();
WebElement profilebtn=driver.findElement(By.xpath("//*[@id=\"_aria_auto_id_5\"]"));
profilebtn.click();
- // Initialize the elements list here before accessing the elements
- /*initializeElements();
- // Assuming the first element in the list is the profile image (img.avatar)
- WebElement profileImage = elements.get(0); // Index 0 is for the image element
- WebDriverWait wait1 = new WebDriverWait(driver, Duration.ofSeconds(30));
- WebElement dropdownButton = wait1.until(ExpectedConditions.elementToBeClickable(elements.get(1)));// Index 1 is for the profile button
-
- // Wait for the profile image to be clickable and then click it
- Wait wait = new WebDriverWait(driver, Duration.ofSeconds(500), Duration.ofMillis(500));
- wait.until(ExpectedConditions.elementToBeClickable(profileImage)).click();
-
- // Wait for the profile button to be clickable and then click it
- wait.until(ExpectedConditions.elementToBeClickable(dropdownButton)).click();*/
-
- // Return a new ProfilePageGit object (you need to create this class to represent the profile page)
return new ProfilePage(driver);
}
}
diff --git a/main/src/test/java/APITests/APITestGiteaTest.java b/main/src/test/java/APITests/APITestGiteaTest.java
index c98bcca87d240..66a1940330cfd 100644
--- a/main/src/test/java/APITests/APITestGiteaTest.java
+++ b/main/src/test/java/APITests/APITestGiteaTest.java
@@ -17,7 +17,7 @@
public class APITestGiteaTest {
private static final String owner = "maias";
- private static final String apiToken = "ba31311e2491c43ab847ad33f1ba7159ae453fdc";
+ private static final String apiToken = "30d8417411cb86e107307f3abaa3639954bdaf12";
private static final String projectName = "newRepoAPITest";
@BeforeAll
diff --git a/main/src/test/java/UITests/LoginGitTest.java b/main/src/test/java/UITests/LoginGitTest.java
index 281d71b95b5ea..a9053da815f3f 100644
--- a/main/src/test/java/UITests/LoginGitTest.java
+++ b/main/src/test/java/UITests/LoginGitTest.java
@@ -52,7 +52,7 @@ public void testInvalidLogin() {
@Test
public void testValidLogin() {
- HomePageGit home = login.loginAsValidUser("maias", "maias123");
+ HomePageGit home = login.loginAsValidUser("maias", "Maias123");
assertTrue(home.isLoggedInSuccessfully(), "Login should be successful with valid credentials");
}
diff --git a/main/target/test-classes/APITests/APITestGiteaTest.class b/main/target/test-classes/APITests/APITestGiteaTest.class
index d9e1e2477d55aaad0236c589779b205c98c1d060..a8789a6390de4e2a0a6c35c23f5fa57de077377a 100644
GIT binary patch
delta 99
zcmew_^Iv8|D3gYwqx!(3iMwxk$p$A}5V!ybZHbX2
zV}jljS%!%Cops2Hkyxg6^AHHaj!RhJ%4??L9o};%@PU{Pl+?4%qA07VFP_)4BFxVr
zgpXKc&VA;5LWQImmR>^DU_7-LHH&KI*LkKfB4Inhv=jGSSmxHw@CsJB(p7(^7g*!k
zX1rj65)7G<8q{xJD5ER)F$hGdIEDa*4D~_lHKuwmU$>4qqMBg6s{)%QSfwxa=Ub#W
zNePmYXOOn=c;tVvg2%0Xo2sv|)^*mp5j&$;JK0|?*;l%H
zvM<{}M+i+5nmGsao5g(6)sru@VUCh{lgwM^V1EDClmr{5PoA6q7HFU-I3)UnwgzvU
qgOD}Y-jtbYO-=L1ei#>a4Eqzi^q2YXeYATHi9z~(`UL%fL!JWu`GA-J
delta 841
zcmb7?%TH556vn@)wY}3`N>f9FCQTF{E4gkG_G3hP(yHoEEM!`uGtD!;RB;#+7MH@f6L?9?39P6`
zO$%aGoey+nELD{HVYK2Ea@34d^BQ@QCfIrn1uCWcRwP`1aLRNmdnhnhr@o?~B5mTYZB}~`u+jiZ
Date: Tue, 27 May 2025 18:59:35 +0300
Subject: [PATCH 84/89] yes
---
.github/{workflow => workflows}/build.yml | 2 +-
.github/{workflows1 => workflows}/cron-licenses.yml | 0
.github/{workflows1 => workflows}/cron-translations.yml | 0
.github/{workflows1 => workflows}/files-changed.yml | 0
.github/{workflows1 => workflows}/integration-tests.yml | 0
.github/{workflows1 => workflows}/pull-compliance.yml | 0
.github/{workflows1 => workflows}/pull-db-tests.yml | 0
.github/{workflows1 => workflows}/pull-docker-dryrun.yml | 0
.github/{workflows1 => workflows}/pull-e2e-tests.yml | 0
.github/{workflows1 => workflows}/pull-labeler.yml | 0
.github/{workflows1 => workflows}/release-nightly.yml | 0
.github/{workflows1 => workflows}/release-tag-rc.yml | 0
.github/{workflows1 => workflows}/release-tag-version.yml | 0
13 files changed, 1 insertion(+), 1 deletion(-)
rename .github/{workflow => workflows}/build.yml (97%)
rename .github/{workflows1 => workflows}/cron-licenses.yml (100%)
rename .github/{workflows1 => workflows}/cron-translations.yml (100%)
rename .github/{workflows1 => workflows}/files-changed.yml (100%)
rename .github/{workflows1 => workflows}/integration-tests.yml (100%)
rename .github/{workflows1 => workflows}/pull-compliance.yml (100%)
rename .github/{workflows1 => workflows}/pull-db-tests.yml (100%)
rename .github/{workflows1 => workflows}/pull-docker-dryrun.yml (100%)
rename .github/{workflows1 => workflows}/pull-e2e-tests.yml (100%)
rename .github/{workflows1 => workflows}/pull-labeler.yml (100%)
rename .github/{workflows1 => workflows}/release-nightly.yml (100%)
rename .github/{workflows1 => workflows}/release-tag-rc.yml (100%)
rename .github/{workflows1 => workflows}/release-tag-version.yml (100%)
diff --git a/.github/workflow/build.yml b/.github/workflows/build.yml
similarity index 97%
rename from .github/workflow/build.yml
rename to .github/workflows/build.yml
index a4d7adc13cf4c..deb5c945815ab 100644
--- a/.github/workflow/build.yml
+++ b/.github/workflows/build.yml
@@ -1,4 +1,4 @@
-name: Gitea CI Workflow
+name: Gitea Build Environment Workflow
on:
push:
diff --git a/.github/workflows1/cron-licenses.yml b/.github/workflows/cron-licenses.yml
similarity index 100%
rename from .github/workflows1/cron-licenses.yml
rename to .github/workflows/cron-licenses.yml
diff --git a/.github/workflows1/cron-translations.yml b/.github/workflows/cron-translations.yml
similarity index 100%
rename from .github/workflows1/cron-translations.yml
rename to .github/workflows/cron-translations.yml
diff --git a/.github/workflows1/files-changed.yml b/.github/workflows/files-changed.yml
similarity index 100%
rename from .github/workflows1/files-changed.yml
rename to .github/workflows/files-changed.yml
diff --git a/.github/workflows1/integration-tests.yml b/.github/workflows/integration-tests.yml
similarity index 100%
rename from .github/workflows1/integration-tests.yml
rename to .github/workflows/integration-tests.yml
diff --git a/.github/workflows1/pull-compliance.yml b/.github/workflows/pull-compliance.yml
similarity index 100%
rename from .github/workflows1/pull-compliance.yml
rename to .github/workflows/pull-compliance.yml
diff --git a/.github/workflows1/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml
similarity index 100%
rename from .github/workflows1/pull-db-tests.yml
rename to .github/workflows/pull-db-tests.yml
diff --git a/.github/workflows1/pull-docker-dryrun.yml b/.github/workflows/pull-docker-dryrun.yml
similarity index 100%
rename from .github/workflows1/pull-docker-dryrun.yml
rename to .github/workflows/pull-docker-dryrun.yml
diff --git a/.github/workflows1/pull-e2e-tests.yml b/.github/workflows/pull-e2e-tests.yml
similarity index 100%
rename from .github/workflows1/pull-e2e-tests.yml
rename to .github/workflows/pull-e2e-tests.yml
diff --git a/.github/workflows1/pull-labeler.yml b/.github/workflows/pull-labeler.yml
similarity index 100%
rename from .github/workflows1/pull-labeler.yml
rename to .github/workflows/pull-labeler.yml
diff --git a/.github/workflows1/release-nightly.yml b/.github/workflows/release-nightly.yml
similarity index 100%
rename from .github/workflows1/release-nightly.yml
rename to .github/workflows/release-nightly.yml
diff --git a/.github/workflows1/release-tag-rc.yml b/.github/workflows/release-tag-rc.yml
similarity index 100%
rename from .github/workflows1/release-tag-rc.yml
rename to .github/workflows/release-tag-rc.yml
diff --git a/.github/workflows1/release-tag-version.yml b/.github/workflows/release-tag-version.yml
similarity index 100%
rename from .github/workflows1/release-tag-version.yml
rename to .github/workflows/release-tag-version.yml
From ece48d186c8a3985e86589e3b3bb42e4cbc3c040 Mon Sep 17 00:00:00 2001
From: maias
Date: Tue, 27 May 2025 19:15:26 +0300
Subject: [PATCH 85/89] Build and intergration enviroment
---
.github/workflows/integration-tests.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index e99fd63c72378..825d3cabf8e68 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -7,7 +7,7 @@ on:
pull_request:
branches:
- - feature_branch
+ -main
# Trigger the workflow when a PR is opened to the dev branch ok
workflow_dispatch: # Allows manual trigger from the GitHub UI
From f9ea5408ca34d6869d86f0e6613b81fd271cfef3 Mon Sep 17 00:00:00 2001
From: maias
Date: Tue, 27 May 2025 19:23:42 +0300
Subject: [PATCH 86/89] Build and intergration and pre-production enviroment
---
.github/workflows/Pre-Production.yml | 61 +++++++++++++++++++++++++
.github/workflows/integration-tests.yml | 13 ++----
2 files changed, 65 insertions(+), 9 deletions(-)
create mode 100644 .github/workflows/Pre-Production.yml
diff --git a/.github/workflows/Pre-Production.yml b/.github/workflows/Pre-Production.yml
new file mode 100644
index 0000000000000..bf51378e9ab91
--- /dev/null
+++ b/.github/workflows/Pre-Production.yml
@@ -0,0 +1,61 @@
+name: Gitea Preproduction Performance Test
+
+on:
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+
+jobs:
+ preprod-performance-test:
+ runs-on: ubuntu-latest
+
+ services:
+ postgres:
+ image: postgres:13
+ options: --health-cmd="pg_isready -U gitea_user" --health-timeout=30s --health-retries=3
+ ports:
+ - 5432:5432
+ env:
+ POSTGRES_DB: gitea
+ POSTGRES_USER: gitea_user
+ POSTGRES_PASSWORD: gitea_pass
+
+ redis:
+ image: redis:alpine
+ ports:
+ - 6379:6379
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+
+ - name: Log in to Docker Hub
+ uses: docker/login-action@v2
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+
+ - name: Build and push Docker image for preprod
+ run: |
+ docker build -t maias816/myapp:preprod .
+ docker push maias816/myapp:preprod
+
+ - name: Start preprod container
+ run: |
+ docker run -d -p 8080:8080 --name preprod maias816/myapp:preprod
+
+ - name: Run JMeter performance test
+ run: |
+ docker run --rm -v ${{ github.workspace }}/tests:/tests -w /tests justb4/jmeter \
+ -n -t performance_test.jmx -l results.jtl -e -o /tests/jmeter-report
+
+ - name: Upload JMeter report
+ uses: actions/upload-artifact@v3
+ with:
+ name: jmeter-report
+ path: tests/jmeter-report
+
+ - name: Stop preprod container
+ run: |
+ docker stop preprod && docker rm preprod
diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index 825d3cabf8e68..2c7c10f78d3ca 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -1,15 +1,10 @@
name: Gitea Setup and Testing
on:
- # push:
- # branches:
- # - feature_branch
-
- pull_request:
- branches:
- -main
- # Trigger the workflow when a PR is opened to the dev branch ok
- workflow_dispatch: # Allows manual trigger from the GitHub UI
+ pull_request:
+
+
+ workflow_dispatch:
jobs:
setup-and-test:
From 1f483f181d497400dd7b82615714efde61ecbc0f Mon Sep 17 00:00:00 2001
From: maias
Date: Tue, 27 May 2025 19:26:55 +0300
Subject: [PATCH 87/89] Build and intergration and pre-production enviroment
---
.github/workflows/Pre-Production.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/Pre-Production.yml b/.github/workflows/Pre-Production.yml
index bf51378e9ab91..32ab365daa368 100644
--- a/.github/workflows/Pre-Production.yml
+++ b/.github/workflows/Pre-Production.yml
@@ -51,7 +51,7 @@ jobs:
-n -t performance_test.jmx -l results.jtl -e -o /tests/jmeter-report
- name: Upload JMeter report
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v2
with:
name: jmeter-report
path: tests/jmeter-report
From 6419b53bffdd6dc417c7e1622e8fbb468d8cc899 Mon Sep 17 00:00:00 2001
From: maias
Date: Tue, 27 May 2025 19:30:30 +0300
Subject: [PATCH 88/89] Build and intergration and pre-production enviroment
---
.github/workflows/Pre-Production.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/Pre-Production.yml b/.github/workflows/Pre-Production.yml
index 32ab365daa368..6ee5249a51026 100644
--- a/.github/workflows/Pre-Production.yml
+++ b/.github/workflows/Pre-Production.yml
@@ -1,4 +1,4 @@
-name: Gitea Preproduction Performance Test
+name: Gitea Preproduction Performance Testing
on:
push:
From dfa39b08a0b3c57b94f26d146c80181da204006a Mon Sep 17 00:00:00 2001
From: maias
Date: Tue, 27 May 2025 19:34:55 +0300
Subject: [PATCH 89/89] Build and intergration and pre-production enviroment
---
.../cron-translations.yml | 0
.github/workflows/Pre-Production.yml | 58 ++++++-------------
2 files changed, 17 insertions(+), 41 deletions(-)
rename .github/{workflows => workflow}/cron-translations.yml (100%)
diff --git a/.github/workflows/cron-translations.yml b/.github/workflow/cron-translations.yml
similarity index 100%
rename from .github/workflows/cron-translations.yml
rename to .github/workflow/cron-translations.yml
diff --git a/.github/workflows/Pre-Production.yml b/.github/workflows/Pre-Production.yml
index 6ee5249a51026..32fb398a41663 100644
--- a/.github/workflows/Pre-Production.yml
+++ b/.github/workflows/Pre-Production.yml
@@ -1,61 +1,37 @@
-name: Gitea Preproduction Performance Testing
+name: Pre-Production Performance Testing
on:
push:
branches:
- - main
- workflow_dispatch:
+ - main # Runs after PR is merged into main
jobs:
- preprod-performance-test:
+ preprod-perf-test:
runs-on: ubuntu-latest
- services:
- postgres:
- image: postgres:13
- options: --health-cmd="pg_isready -U gitea_user" --health-timeout=30s --health-retries=3
- ports:
- - 5432:5432
- env:
- POSTGRES_DB: gitea
- POSTGRES_USER: gitea_user
- POSTGRES_PASSWORD: gitea_pass
-
- redis:
- image: redis:alpine
- ports:
- - 6379:6379
-
steps:
- name: Checkout code
uses: actions/checkout@v2
- - name: Log in to Docker Hub
- uses: docker/login-action@v2
+ - name: Set up Java (required by JMeter)
+ uses: actions/setup-java@v3
with:
- username: ${{ secrets.DOCKER_USERNAME }}
- password: ${{ secrets.DOCKER_PASSWORD }}
-
- - name: Build and push Docker image for preprod
- run: |
- docker build -t maias816/myapp:preprod .
- docker push maias816/myapp:preprod
+ distribution: 'temurin'
+ java-version: '21'
- - name: Start preprod container
+ - name: Install JMeter
run: |
- docker run -d -p 8080:8080 --name preprod maias816/myapp:preprod
+ sudo apt update
+ sudo apt install -y jmeter
+ jmeter --version
- - name: Run JMeter performance test
+ - name: Run JMeter Test
run: |
- docker run --rm -v ${{ github.workspace }}/tests:/tests -w /tests justb4/jmeter \
- -n -t performance_test.jmx -l results.jtl -e -o /tests/jmeter-report
+ mkdir -p reports/jmeter
+ jmeter -n -t tests/perf_test.jmx -l reports/jmeter/results.jtl -e -o reports/jmeter/report
- - name: Upload JMeter report
- uses: actions/upload-artifact@v2
+ - name: Upload JMeter HTML Report
+ uses: actions/upload-artifact@bcb6a651d2b8c4fdb17bcf0d2581a3ad16f58aa9 # Pin to known good SHA
with:
name: jmeter-report
- path: tests/jmeter-report
-
- - name: Stop preprod container
- run: |
- docker stop preprod && docker rm preprod
+ path: reports/jmeter/report