Compare commits

..
Author SHA1 Message Date
James MaesandCodex 4865cc40d9 ci: select CodeQL languages from branch sources
Use the reviewed immutable shared caller. Develop retains Java, JavaScript/TypeScript and Python, and gains Actions scanning. The main caller separately excludes nonexistent Python source. Merge requires accepted uploads and existing checks; use a ci: squash commit for test-only CI maintenance without publication.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
2026-10-29 16:07:58 -05:00
9 changed files with 55 additions and 47 deletions

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
version: 2.1
setup: true
orbs:
qqq-orb: kingsrook/qqq-orb@0.8
workflows:
setup:
jobs:
- qqq-orb/generate_pipeline:
orb_version: '0.8'
filters:
branches:
ignore: automation/qbit-rc-pending
tags:
only: /.*/
run_playwright: << pipeline.parameters.run_playwright >>
parameters:
run_playwright:
type: boolean
default: false
-12
View File
@@ -1,12 +0,0 @@
name: build
on:
push:
jobs:
maven:
uses: self:KofTwentyTwo/ci-workflows/.gitea/workflows/maven.yaml@v1
secrets: inherit
with:
# Selenium ITs need the Chrome-capable image; the React build is packaged into the jar.
browsers: true
node-version: '22.20.0'
prebuild: bash scripts/ci-prebuild.sh
-4
View File
@@ -1,4 +0,0 @@
# Reviewed findings committed before the Gitea migration; exact historical fingerprints only.
267580b44babf4935c152da8fa2320d6059105f3:src/qqq/components/processes/GoogleDriveFolderPicker.tsx:gcp-api-key:43
+3
View File
@@ -0,0 +1,3 @@
profile: frontend-material
orb_version: '0.8'
default_branch: develop
+29
View File
@@ -348,6 +348,35 @@
</executions>
</plugin>
<!-- GPG signing for Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Sonatype Central publishing (replaces deploy to distributionManagement) -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<!-- Server credentials with this ID must be provided in settings.xml -->
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
-27
View File
@@ -1,27 +0,0 @@
#!/usr/bin/env bash
############################################################################
## ci-prebuild.sh
## CI prebuild for the shared ci-workflows maven.yaml (runs before Maven):
## Jest unit tests, the React build that is packaged into the jar, and the
## HTTPS dev server on :3001 that the Selenium ITs drive (as the old
## qqq-orb frontend-material pipeline did). Maven then runs the ITs headless.
############################################################################
set -euo pipefail
npm ci --legacy-peer-deps
npm test -- --watchAll=false
npm run build-and-publish
HTTPS=true PORT=3001 REACT_APP_PROXY_LOCALHOST_PORT=8001 \
nohup setsid npm run start > /tmp/react-dev-server.log 2>&1 < /dev/null &
for _ in $(seq 1 150); do
if curl -ksf -o /dev/null https://localhost:3001/; then
echo "React dev server is up on https://localhost:3001"
exit 0
fi
sleep 2
done
echo "React dev server did not come up on :3001"
cat /tmp/react-dev-server.log
exit 1
@@ -66,7 +66,7 @@ public class QBaseSeleniumTest
chromeOptions.addArguments("--remote-allow-origins=*");
String headless = System.getenv("QQQ_SELENIUM_HEADLESS");
if("true".equals(headless) || "true".equals(System.getenv("CI")))
if("true".equals(headless))
{
chromeOptions.addArguments("--headless=new");
}
@@ -193,9 +193,9 @@ public class QSeleniumLib
*******************************************************************************/
public void waitForever()
{
if(System.getenv("CIRCLECI") != null || "true".equals(System.getenv("CI")))
if(System.getenv("CIRCLECI") != null)
{
LOG.warn("A waitForever was found in CI - so, we don't want to do that, so, returning immediately.");
LOG.warn("A waitForever was found in CIRCLECI - so, we don't want to do that, so, returning immediately.");
return;
}
@@ -93,7 +93,7 @@ public class QBaseSeleniumWithQApplicationTest
chromeOptions.addArguments("--remote-allow-origins=*");
String headless = System.getenv("QQQ_SELENIUM_HEADLESS");
if("true".equals(headless) || "true".equals(System.getenv("CI")))
if("true".equals(headless))
{
chromeOptions.addArguments("--headless=new");
}