This commit is contained in:
parent
55ef37fab8
commit
497054d911
47
.drone.yml
Normal file
47
.drone.yml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
|
name: default
|
||||||
|
|
||||||
|
server:
|
||||||
|
host: build.gextra.net
|
||||||
|
user: root
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh_key_secret
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
environment:
|
||||||
|
PASSWORD:
|
||||||
|
from_secret: password
|
||||||
|
commands:
|
||||||
|
- npm ci
|
||||||
|
- vsce package
|
||||||
|
|
||||||
|
# - name: deploy
|
||||||
|
# environment:
|
||||||
|
# PASSWORD:
|
||||||
|
# from_secret: password
|
||||||
|
# when:
|
||||||
|
# status:
|
||||||
|
# - success
|
||||||
|
# - failure
|
||||||
|
# commands:
|
||||||
|
# - |
|
||||||
|
# curl --fail-with-body -s -X POST \
|
||||||
|
# --data-urlencode "digest=$(docker inspect registry.raphaelpiccolo.com/$DRONE_REPO_NAME:latest | jq -r '.[0].RepoDigests[0]' | cut -d@ -f 2)" \
|
||||||
|
# --data-urlencode "start=$DRONE_BUILD_CREATED" \
|
||||||
|
# --data-urlencode "url=$DRONE_BUILD_LINK" \
|
||||||
|
# --data-urlencode "buildNumber=$DRONE_BUILD_NUMBER" \
|
||||||
|
# --data-urlencode "version=$DRONE_TAG" \
|
||||||
|
# --data-urlencode "name=$DRONE_REPO_NAME" \
|
||||||
|
# --data-urlencode "size=$(docker inspect -f '{{ .Size }}' "$DRONE_REPO_NAME")" \
|
||||||
|
# --data-urlencode "status=$DRONE_BUILD_STATUS" \
|
||||||
|
# "https://admin:$PASSWORD@monitoring.raphaelpiccolo.com/fr/dronehook"
|
||||||
|
|
||||||
|
# - name: test
|
||||||
|
# commands:
|
||||||
|
# - docker run --rm cvtest npm test
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "vscodestat",
|
"name": "vscodestat",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "vscodestat",
|
"name": "vscodestat",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/mocha": "^10.0.7",
|
"@types/mocha": "^10.0.7",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vscodestat",
|
"name": "vscodestat",
|
||||||
"displayName": "vscodestat",
|
"displayName": "vscodestat",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"categories": [
|
"categories": [
|
||||||
"Other"
|
"Other"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user