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 5ab29f4231
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
use lab agent
2024-07-04 10:15:39 +02:00

65 lines
1.6 KiB
YAML

labels:
realm: lab
when:
- event: [push, tag, manual, pull_request]
steps:
build:
#image: node:lts
image: node:18.20.2
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
- 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.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}