Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/.woodpecker/ci.yml
OCram85 d42c56f9d0
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
testing
2024-08-01 08:42:27 +02:00

64 lines
1.6 KiB
YAML

when:
- event: [cron, tag, manual, pull_request]
steps:
build:
#image: node:18.20.2
image: node:20.11.1
commands:
- |
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
apt-get update
apt-get install -y nfpm
apt-get install -y build-essential \
ca-certificates \
curl \
dbus \
g++ \
gettext\
git \
gnupg \
jq \
libgbm1 \
libgtk-3-0 \
libkrb5-dev \
libsecret-1-dev \
libx11-dev \
libxkbfile-dev \
libxss1 \
pkg-config \
python-is-python3 \
python3 \
rsync \
xvfb \
quilt
- quilt push -a
- yarn install
- yarn build
- export VERSION='0.0.0' && yarn build:vscode
- yarn release
- yarn release:standalone
- yarn package
- ls -la release-packages/*
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}