Skip to content

Commit

Permalink
Packages: Release Alpine package without Chromium (#525)
Browse files Browse the repository at this point in the history
* Packages: Release Alpine package without Chromium

* release new package
  • Loading branch information
AgnesToulet authored May 23, 2024
1 parent ccaf273 commit 7d50087
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@ steps:
from_secret: grafana_api_key
image: grafana/grafana-plugin-ci:1.9.0
name: package-linux-x64-glibc-no-chromium
- commands:
- . ~/.init-nvm.sh
- ./scripts/package_target.sh alpine-x64-unknown true plugin-alpine-x64-no-chromium
- bin/grabpl build-plugin-manifest ./dist/plugin-alpine-x64-no-chromium || true
- ./scripts/archive_target.sh alpine-x64-unknown plugin-alpine-x64-no-chromium
depends_on:
- yarn-test
environment:
GRAFANA_API_KEY:
from_secret: grafana_api_key
image: grafana/grafana-plugin-ci:1.9.0
name: package-alpine-x64-no-chromium
trigger:
event:
- pull_request
Expand Down Expand Up @@ -249,6 +261,18 @@ steps:
from_secret: grafana_api_key
image: grafana/grafana-plugin-ci:1.9.0
name: package-linux-x64-glibc-no-chromium
- commands:
- . ~/.init-nvm.sh
- ./scripts/package_target.sh alpine-x64-unknown true plugin-alpine-x64-no-chromium
- bin/grabpl build-plugin-manifest ./dist/plugin-alpine-x64-no-chromium
- ./scripts/archive_target.sh alpine-x64-unknown plugin-alpine-x64-no-chromium
depends_on:
- yarn-test
environment:
GRAFANA_API_KEY:
from_secret: grafana_api_key
image: grafana/grafana-plugin-ci:1.9.0
name: package-alpine-x64-no-chromium
- commands:
- ./scripts/build_push_docker.sh master
depends_on:
Expand Down Expand Up @@ -395,6 +419,18 @@ steps:
from_secret: grafana_api_key
image: grafana/grafana-plugin-ci:1.9.0
name: package-linux-x64-glibc-no-chromium
- commands:
- . ~/.init-nvm.sh
- ./scripts/package_target.sh alpine-x64-unknown true plugin-alpine-x64-no-chromium
- bin/grabpl build-plugin-manifest ./dist/plugin-alpine-x64-no-chromium
- ./scripts/archive_target.sh alpine-x64-unknown plugin-alpine-x64-no-chromium
depends_on:
- yarn-test
environment:
GRAFANA_API_KEY:
from_secret: grafana_api_key
image: grafana/grafana-plugin-ci:1.9.0
name: package-alpine-x64-no-chromium
- commands:
- ./scripts/generate_md5sum.sh
- ./scripts/publish_github_release.sh
Expand All @@ -403,6 +439,7 @@ steps:
- package-darwin-x64-unknown
- package-win32-x64-unknown
- package-linux-x64-glibc-no-chromium
- package-alpine-x64-no-chromium
environment:
GITHUB_TOKEN:
from_secret: github_token
Expand Down Expand Up @@ -488,6 +525,6 @@ kind: secret
name: gar
---
kind: signature
hmac: 7b4ac9022a4c86d90d4fc34781090490f87a7b4b84a994a6389af96c618b256f
hmac: aef686a708994a7210707534e31b9ccd2c5b4356fb2f09afa3505914c43c6aea

...
1 change: 1 addition & 0 deletions scripts/drone/pipeline.star
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def common_steps(skip_errors):
package_step(arch='darwin-x64-unknown', skip_errors=skip_errors),
package_step(arch='win32-x64-unknown', skip_errors=skip_errors),
package_step(arch='linux-x64-glibc', name='package-linux-x64-glibc-no-chromium', skip_chromium=True, override_output='plugin-linux-x64-glibc-no-chromium', skip_errors=skip_errors),
package_step(arch='alpine-x64-unknown', name='package-alpine-x64-no-chromium', skip_chromium=True, override_output='plugin-alpine-x64-no-chromium', skip_errors=skip_errors),
]

def prs_pipeline():
Expand Down
1 change: 1 addition & 0 deletions scripts/drone/promotion.star
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def publish_gh_release():
'package-darwin-x64-unknown',
'package-win32-x64-unknown',
'package-linux-x64-glibc-no-chromium',
'package-alpine-x64-no-chromium',
],
}

Expand Down

0 comments on commit 7d50087

Please sign in to comment.