Archived
1
0

testing #4

Open
OCram85 wants to merge 3 commits from ocram85-patch-1 into main
3 changed files with 68 additions and 11 deletions

View File

@ -1,13 +1,10 @@
labels:
realm: lab
when: when:
- event: [push, tag, manual, pull_request] - event: [cron, tag, manual, pull_request]
steps: steps:
build: build:
#image: node:lts #image: node:18.20.2
image: node:18.20.2 image: node:20.11.1
commands: commands:
- | - |
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
@ -33,15 +30,35 @@ steps:
python-is-python3 \ python-is-python3 \
python3 \ python3 \
rsync \ rsync \
xvfb xvfb \
quilt
- quilt push -a
- yarn install - yarn install
- yarn build - yarn build
- export VERSION='0.0.0' && yarn build:vscode - export VERSION='0.0.0' && yarn build:vscode
- yarn release - yarn release
- yarn release:standalone - yarn release:standalone
- yarn package - yarn package
- ls -la
- ls -la release/*
- ls -la release-standalone/*
- ls -la release-packages/* - ls -la release-packages/*
- ls -la out/* when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
save-package:
image: ocram85/plugin-gitea-package:0.1.0
secrets: [ gitea_user, gitea_passwd]
settings:
user:
from_secret: gitea_user
password:
from_secret: gitea_passwd
debug: "true"
owner: "ocram85"
package_name: "test_build"
package_version: "0.2.0"
file_source: "./release-packages/code-server-0.0.0-linux-amd64.tar.gz"
file_name: "code-server.tar.gz"
update: "true"
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}

39
patches/product-json.diff Normal file
View File

@ -0,0 +1,39 @@
Description: update product.json
Index: code-server/ci/build/build-vscode.sh
===================================================================
--- code-server.orig/ci/build/build-vscode.sh
+++ code-server/ci/build/build-vscode.sh
@@ -70,21 +70,21 @@ main() {
jq --slurp '.[0] * .[1]' product.original.json <(
cat << EOF
{
- "enableTelemetry": true,
+ "enableTelemetry": false,
"quality": "stable",
"codeServerVersion": "$VERSION",
- "nameShort": "code-server",
- "nameLong": "code-server",
- "applicationName": "code-server",
- "dataFolderName": ".code-server",
- "win32MutexName": "codeserver",
+ "nameShort": "arkanum-server",
+ "nameLong": "arkanum-server",
+ "applicationName": "arkanum-server",
+ "dataFolderName": ".arkanum-server",
+ "win32MutexName": "arkanumserver",
"licenseUrl": "https://github.com/coder/code-server/blob/main/LICENSE",
- "win32DirName": "code-server",
- "win32NameVersion": "code-server",
- "win32AppUserModelId": "coder.code-server",
- "win32ShellNameShort": "c&ode-server",
- "darwinBundleIdentifier": "com.coder.code.server",
- "linuxIconName": "com.coder.code.server",
+ "win32DirName": "arkanum-server",
+ "win32NameVersion": "arkanum-server",
+ "win32AppUserModelId": "arkanum.arkanum-server",
+ "win32ShellNameShort": "a&rkanum-server",
+ "darwinBundleIdentifier": "dev.arkanum.arkanum.server",
+ "linuxIconName": "dev.arkanum.arkanum.server",
"reportIssueUrl": "https://github.com/coder/code-server/issues/new",
"documentationUrl": "https://go.microsoft.com/fwlink/?LinkID=533484#vscode",
"keyboardShortcutsUrlMac": "https://go.microsoft.com/fwlink/?linkid=832143",

View File

@ -21,3 +21,4 @@ getting-started.diff
safari.diff safari.diff
keepalive.diff keepalive.diff
clipboard.diff clipboard.diff
product-json.diff