mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2026-05-15 17:06:11 +02:00
Compare commits
2 Commits
4.117.0-ls
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
463c078495 | ||
|
|
bf6019fb3c |
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@ -76,6 +76,7 @@ pipeline {
|
||||
script{
|
||||
env.EXIT_STATUS = ''
|
||||
env.CI_TEST_ATTEMPTED = ''
|
||||
env.PUSH_ATTEMPTED = ''
|
||||
env.LS_RELEASE = sh(
|
||||
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:latest 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
|
||||
returnStdout: true).trim()
|
||||
@ -925,6 +926,9 @@ pipeline {
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
}
|
||||
steps {
|
||||
script{
|
||||
env.PUSH_ATTEMPTED = 'true'
|
||||
}
|
||||
retry_backoff(5,5) {
|
||||
sh '''#! /bin/bash
|
||||
set -e
|
||||
@ -954,11 +958,18 @@ pipeline {
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
}
|
||||
steps {
|
||||
script{
|
||||
env.PUSH_ATTEMPTED = 'true'
|
||||
}
|
||||
retry_backoff(5,5) {
|
||||
sh '''#! /bin/bash
|
||||
set -e
|
||||
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||
[[ ${MANIFESTIMAGE%%/*} =~ \\. ]] && MANIFESTIMAGEPLUS="${MANIFESTIMAGE}" || MANIFESTIMAGEPLUS="docker.io/${MANIFESTIMAGE}"
|
||||
if [[ "${MANIFESTIMAGE%%/*}" =~ \\. ]]; then
|
||||
MANIFESTIMAGEPLUS="${MANIFESTIMAGE}"
|
||||
else
|
||||
MANIFESTIMAGEPLUS="docker.io/${MANIFESTIMAGE}"
|
||||
fi
|
||||
IFS=',' read -ra CACHE <<< "$BUILDCACHE"
|
||||
for i in "${CACHE[@]}"; do
|
||||
if [[ "${MANIFESTIMAGEPLUS}" == "$(cut -d "/" -f1 <<< ${i})"* ]]; then
|
||||
@ -1126,7 +1137,7 @@ EOF
|
||||
}
|
||||
script {
|
||||
if (env.GITHUBIMAGE =~ /lspipepr/){
|
||||
if (env.CI_TEST_ATTEMPTED == "true"){
|
||||
if (env.CI_TEST_ATTEMPTED == "true" || env.PUSH_ATTEMPTED == "true"){
|
||||
sh '''#! /bin/bash
|
||||
# Function to retrieve JSON data from URL
|
||||
get_json() {
|
||||
@ -1187,14 +1198,21 @@ EOF
|
||||
curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
"https://api.github.com/repos/$LS_USER/$LS_REPO/issues/$PULL_REQUEST/comments" \
|
||||
-d "{\\"body\\": \\"I am a bot, here are the test results for this PR: \\n${CI_URL}\\n${SHELLCHECK_URL}\\n${table}\\"}"
|
||||
-d "{\\"body\\": \\"I am a bot, here are the test results for this PR for commit ${COMMIT_SHA:0:7} : \\n${CI_URL}\\n${SHELLCHECK_URL}\\n${table}\\"}"
|
||||
else
|
||||
curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
"https://api.github.com/repos/$LS_USER/$LS_REPO/issues/$PULL_REQUEST/comments" \
|
||||
-d "{\\"body\\": \\"I am a bot, here is the pushed image/manifest for this PR: \\n\\n\\`${GITHUBIMAGE}:${META_TAG}\\`\\"}"
|
||||
-d "{\\"body\\": \\"I am a bot, here is the pushed image/manifest for this PR for commit ${COMMIT_SHA:0:7} : \\n\\n\\`${GITHUBIMAGE}:${META_TAG}\\`\\"}"
|
||||
fi
|
||||
'''
|
||||
} else {
|
||||
sh '''#! /bin/bash
|
||||
curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
"https://api.github.com/repos/$LS_USER/$LS_REPO/issues/$PULL_REQUEST/comments" \
|
||||
-d "{\\"body\\": \\"I am a bot, the build for PR commit ${COMMIT_SHA:0:7} failed and as a result no CI test was attempted and no images were pushed.\\"}"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
NAME VERSION TYPE
|
||||
@anthropic-ai/sandbox-runtime 0.0.42 npm
|
||||
@anthropic-ai/sandbox-runtime 0.0.49 npm
|
||||
@babel/runtime 7.28.6 npm
|
||||
@coder/logger 3.0.1 npm
|
||||
@emnapi/runtime 1.9.2 npm (+1 duplicate)
|
||||
@emnapi/runtime 1.10.0 npm (+1 duplicate)
|
||||
@epic-web/invariant 1.0.0 npm
|
||||
@github/copilot 1.0.24 npm
|
||||
@github/copilot 1.0.28 npm
|
||||
@github/copilot 1.0.34 npm
|
||||
@github/copilot 1.0.38 npm
|
||||
@github/copilot-sdk 0.2.2 npm
|
||||
@img/sharp-wasm32 0.34.5 npm (+1 duplicate)
|
||||
@isaacs/fs-minipass 4.0.1 npm
|
||||
@ -19,8 +19,6 @@ NAME VERSION T
|
||||
@pondwader/socks5-server 1.0.10 npm
|
||||
@tootallnate/once 3.0.1 npm
|
||||
@tootallnate/quickjs-emscripten 0.23.0 npm
|
||||
@types/lodash 4.17.23 npm
|
||||
@types/lodash-es 4.17.12 npm
|
||||
@vscode/copilot-typescript-server-plugin 1.0.0 npm
|
||||
@vscode/deviceid 0.1.4 npm
|
||||
@vscode/fs-copyfile 2.0.0 npm
|
||||
@ -81,8 +79,8 @@ charenc 0.0.2 n
|
||||
chownr 1.1.4 npm
|
||||
chownr 3.0.0 npm
|
||||
clojure 10.0.0 npm
|
||||
code-server 1.117.0 npm
|
||||
code-server 4.117.0 npm
|
||||
code-server 1.118.0 npm
|
||||
code-server 4.118.0 npm
|
||||
coffeescript 10.0.0 npm
|
||||
commander 12.1.0 npm
|
||||
commander 8.3.0 npm
|
||||
@ -95,7 +93,7 @@ cookie 0.7.2 n
|
||||
cookie-parser 1.4.7 npm
|
||||
cookie-signature 1.0.6 npm
|
||||
cookie-signature 1.2.2 npm
|
||||
copilot-chat 0.45.0 npm
|
||||
copilot-chat 0.46.0 npm
|
||||
coreutils 9.4-3ubuntu6.2 deb
|
||||
cpp 10.0.0 npm
|
||||
cron 3.0pl1-184ubuntu2 deb
|
||||
@ -106,7 +104,7 @@ crypt 0.0.2 n
|
||||
csharp 10.0.0 npm
|
||||
css 10.0.0 npm
|
||||
css-language-features 10.0.0 npm
|
||||
curl 8.5.0-2ubuntu10.8 deb
|
||||
curl 8.5.0-2ubuntu10.9 deb
|
||||
dart 10.0.0 npm
|
||||
dash 0.5.12-6ubuntu5 deb
|
||||
data-uri-to-buffer 6.0.2 npm
|
||||
@ -259,8 +257,8 @@ libcap2 1:2.66-5ubuntu2.4 d
|
||||
libcbor0.10 0.10.2-1.2ubuntu2 deb
|
||||
libcom-err2 1.47.0-2.4~exp1ubuntu4.1 deb
|
||||
libcrypt1 1:4.4.36-4build1 deb
|
||||
libcurl3t64-gnutls 8.5.0-2ubuntu10.8 deb
|
||||
libcurl4t64 8.5.0-2ubuntu10.8 deb
|
||||
libcurl3t64-gnutls 8.5.0-2ubuntu10.9 deb
|
||||
libcurl4t64 8.5.0-2ubuntu10.9 deb
|
||||
libdb5.3t64 5.3.28+dfsg2-7 deb
|
||||
libdebconfclient0 0.271ubuntu3 deb
|
||||
libedit2 3.1-20230828-1build1 deb
|
||||
@ -293,7 +291,7 @@ libmd0 1.1.0-2build1.1 d
|
||||
libmount1 2.39.3-9ubuntu6.5 deb
|
||||
libncursesw6 6.4+20240113-1ubuntu2 deb
|
||||
libnettle8t64 3.9.1-2.2build1.1 deb
|
||||
libnghttp2-14 1.59.0-1ubuntu0.2 deb
|
||||
libnghttp2-14 1.59.0-1ubuntu0.3 deb
|
||||
libnpth0t64 1.6-3.1build1 deb
|
||||
libonig5 6.9.9-1build1 deb
|
||||
libp11-kit0 0.25.3-4ubuntu2.1 deb
|
||||
@ -338,7 +336,6 @@ libxxhash0 0.8.2-2build1 d
|
||||
libzstd1 1.5.5+dfsg2-2build1.1 deb
|
||||
limiter 2.1.0 npm
|
||||
locales 2.39-0ubuntu8.7 deb
|
||||
lodash-es 4.18.1 npm
|
||||
log 10.0.0 npm
|
||||
login 1:4.13+dfsg1-4ubuntu3.2 deb
|
||||
logsave 1.47.0-2.4~exp1ubuntu4.1 deb
|
||||
@ -442,7 +439,7 @@ safe-compare 1.1.4 n
|
||||
safer-buffer 2.1.2 npm (+1 duplicate)
|
||||
scss 10.0.0 npm
|
||||
search-result 10.0.0 npm
|
||||
sed 4.9-2build1 deb
|
||||
sed 4.9-2ubuntu0.24.04.1 deb
|
||||
semver 7.5.4 npm
|
||||
semver 7.7.4 npm
|
||||
send 1.2.1 npm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user