Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
090c683f
Unverified
Commit
090c683f
authored
Oct 23, 2020
by
Arve Knudsen
Committed by
GitHub
Oct 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drone: Don't build Windows installer for version branches (#28494)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent
a378374c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
.drone.yml
+0
-2
scripts/lib.star
+1
-1
No files found.
.drone.yml
View file @
090c683f
...
@@ -2510,7 +2510,6 @@ steps:
...
@@ -2510,7 +2510,6 @@ steps:
-
gcloud auth activate-service-account --key-file=gcpkey.json
-
gcloud auth activate-service-account --key-file=gcpkey.json
-
rm gcpkey.json
-
rm gcpkey.json
-
cp C:\App\nssm-2.24.zip .
-
cp C:\App\nssm-2.24.zip .
-
.\grabpl.exe windows-installer --edition oss --build-id $$env:DRONE_BUILD_NUMBER
environment
:
environment
:
GCP_KEY
:
GCP_KEY
:
from_secret
:
gcp_key
from_secret
:
gcp_key
...
@@ -2834,7 +2833,6 @@ steps:
...
@@ -2834,7 +2833,6 @@ steps:
-
gcloud auth activate-service-account --key-file=gcpkey.json
-
gcloud auth activate-service-account --key-file=gcpkey.json
-
rm gcpkey.json
-
rm gcpkey.json
-
cp C:\App\nssm-2.24.zip .
-
cp C:\App\nssm-2.24.zip .
-
.\grabpl.exe windows-installer --edition enterprise --build-id $$env:DRONE_BUILD_NUMBER
environment
:
environment
:
GCP_KEY
:
GCP_KEY
:
from_secret
:
gcp_key
from_secret
:
gcp_key
...
...
scripts/lib.star
View file @
090c683f
...
@@ -884,12 +884,12 @@ def get_windows_steps(edition, ver_mode, is_downstream=False):
...
@@ -884,12 +884,12 @@ def get_windows_steps(edition, ver_mode, is_downstream=False):
'gcloud auth activate-service-account --key-file=gcpkey.json',
'gcloud auth activate-service-account --key-file=gcpkey.json',
'rm gcpkey.json',
'rm gcpkey.json',
'cp C:\\App\\nssm-2.24.zip .',
'cp C:\\App\\nssm-2.24.zip .',
'.\\grabpl.exe windows-installer --edition {}{} {}'.format(edition, bucket_part, ver_part),
]
]
if (ver_mode == 'master' and (edition != 'enterprise' or is_downstream)) or ver_mode in (
if (ver_mode == 'master' and (edition != 'enterprise' or is_downstream)) or ver_mode in (
'release', 'test-release',
'release', 'test-release',
):
):
installer_commands.extend([
installer_commands.extend([
'.\\grabpl.exe windows-installer --edition {}{} {}'.format(edition, bucket_part, ver_part),
'$$fname = ((Get-Childitem grafana*.msi -name) -split "`n")[0]',
'$$fname = ((Get-Childitem grafana*.msi -name) -split "`n")[0]',
'gsutil cp $$fname gs://{}/{}/{}/'.format(bucket, edition, dir),
'gsutil cp $$fname gs://{}/{}/{}/'.format(bucket, edition, dir),
'gsutil cp "$$fname.sha256" gs://{}/{}/{}/'.format(bucket, edition, dir),
'gsutil cp "$$fname.sha256" gs://{}/{}/{}/'.format(bucket, edition, dir),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment