Archived
1
0

add package upload step #1

Open
OCram85 wants to merge 15 commits from testuild into main
12 changed files with 330 additions and 20 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.1.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}

@ -1 +1 @@
Subproject commit f1e16e1e6214d7c44d078b1f0607b2388f29d729 Subproject commit b58957e67ee1e712cebf466b995adf4c5307b2bd

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

@ -20,4 +20,5 @@ cli-window-open.diff
getting-started.diff getting-started.diff
safari.diff safari.diff
keepalive.diff keepalive.diff
product-json.diff
clipboard.diff clipboard.diff

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 56 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 2250 2250" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><rect id="favicon" x="0" y="0" width="2250" height="2250" style="fill:none;"/><g id="favicon1" serif:id="favicon"><path d="M1991.66,1034.72c-38.493,0 -64.144,-22.57 -64.144,-68.897l-0,-266.084c-0,-169.867 -69.982,-263.709 -250.762,-263.709l-83.976,0l-0,179.368l25.661,0c71.144,0 104.967,39.201 104.967,109.285l0,235.201c0,102.156 30.324,143.733 96.806,165.114c-66.482,20.196 -96.806,62.958 -96.806,165.114l0,174.621c0,48.7 0,96.216 -12.829,144.917c-12.829,45.141 -33.823,87.903 -62.98,124.726c-16.329,21.386 -34.991,39.202 -55.981,55.835l-0,23.755l83.971,-0c180.781,-0 250.763,-93.843 250.763,-263.709l-0,-266.084c-0,-47.516 24.485,-68.897 64.144,-68.897l47.822,-0l-0,-179.37l-46.656,-0l0,-1.186Z" style="fill-rule:nonzero;"/><path d="M1420.16,706.904l-258.923,0c-5.833,0 -10.495,-4.752 -10.495,-10.691l-0,-20.192c-0,-5.941 4.662,-10.692 10.495,-10.692l260.089,0c5.83,0 10.495,4.751 10.495,10.692l0,20.192c0,5.939 -5.833,10.691 -11.661,10.691Z" style="fill-rule:nonzero;"/><path d="M1464.48,963.474l-188.942,0c-5.833,0 -10.501,-4.754 -10.501,-10.693l0,-20.192c0,-5.938 4.668,-10.691 10.501,-10.691l188.942,-0c5.833,-0 10.495,4.753 10.495,10.691l-0,20.192c-0,4.754 -4.662,10.693 -10.495,10.693Z" style="fill-rule:nonzero;"/><path d="M1539.12,835.188l-377.885,0c-5.833,0 -10.495,-4.75 -10.495,-10.689l-0,-20.196c-0,-5.939 4.662,-10.69 10.495,-10.69l376.719,0c5.833,0 10.499,4.751 10.499,10.69l-0,20.196c-0,4.75 -3.5,10.689 -9.333,10.689Z" style="fill-rule:nonzero;"/><path d="M861.493,765.074c25.658,0 51.319,2.376 75.811,8.316l0,-48.705c0,-68.897 34.989,-109.285 104.971,-109.285l25.658,0l-0,-179.368l-83.977,0c-180.781,0 -250.758,93.842 -250.758,263.709l0,87.901c40.819,-14.252 83.977,-22.568 128.295,-22.568Z" style="fill-rule:nonzero;"/><path d="M1618.44,1411.25c-18.662,-150.861 -132.962,-276.776 -279.919,-305.285c-40.818,-8.314 -81.642,-9.504 -121.295,-2.376c-1.166,-0 -1.166,-1.189 -2.332,-1.189c-64.148,-136.605 -201.772,-226.884 -351.063,-226.884c-149.289,-0 -285.747,87.905 -351.062,224.51c-1.166,-0 -1.166,1.188 -2.332,1.188c-41.987,-4.753 -83.975,-2.379 -125.963,8.314c-144.623,35.634 -254.257,159.175 -274.085,308.847c-2.332,15.441 -3.499,30.883 -3.499,45.141c0,45.136 30.325,86.713 74.645,92.652c54.817,8.317 102.636,-34.448 101.469,-89.089c0,-8.317 0,-17.821 1.167,-26.134c9.331,-76.025 66.48,-140.168 141.123,-157.99c23.328,-5.939 46.654,-7.124 68.814,-3.559c71.146,9.502 141.124,-27.324 171.449,-91.467c22.162,-47.516 57.151,-89.094 103.804,-111.664c51.314,-24.946 109.633,-28.506 163.286,-9.499c55.979,20.192 97.966,62.954 123.627,116.409c26.824,52.27 39.653,89.093 96.805,96.221c23.325,3.559 88.639,2.374 113.132,1.185c47.82,0 95.64,16.631 129.463,51.079c22.156,23.757 38.485,53.455 45.486,86.715c10.495,53.455 -2.334,106.908 -33.825,147.296c-22.162,28.509 -52.485,49.89 -86.308,59.394c-16.329,4.754 -32.657,5.939 -48.986,5.939l-257.757,0c-51.314,0 -92.138,-41.573 -92.138,-93.842l0,-348.049c0,-14.251 -11.661,-26.13 -25.658,-26.13l-36.156,0c-71.148,1.185 -128.295,81.964 -128.295,167.488l-0,312.415c-0,92.652 73.476,167.488 164.451,167.488c0,0 404.714,-1.19 410.544,-1.19c93.304,-9.503 179.614,-58.204 237.927,-133.04c58.319,-72.46 85.142,-167.492 73.481,-264.894Z" style="fill-rule:nonzero;"/></g></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB