testing #4
@ -1,13 +1,10 @@
|
||||
labels:
|
||||
realm: lab
|
||||
|
||||
when:
|
||||
- event: [push, tag, manual, pull_request]
|
||||
- event: [cron, tag, manual, pull_request]
|
||||
|
||||
steps:
|
||||
build:
|
||||
#image: node:lts
|
||||
image: node:18.20.2
|
||||
#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
|
||||
@ -33,15 +30,35 @@ steps:
|
||||
python-is-python3 \
|
||||
python3 \
|
||||
rsync \
|
||||
xvfb
|
||||
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
|
||||
- ls -la release/*
|
||||
- ls -la release-standalone/*
|
||||
- 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}
|
Reference in New Issue
Block a user