mirror of https://github.com/grafana/grafana.git
				
				
				
			Drone: Upgrade build-pipeline tool (#28520)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
		
							parent
							
								
									7c7a4a05ed
								
							
						
					
					
						commit
						c3917e6525
					
				
							
								
								
									
										38
									
								
								.drone.yml
								
								
								
								
							
							
						
						
									
										38
									
								
								.drone.yml
								
								
								
								
							|  | @ -17,7 +17,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|   - tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|  | @ -250,7 +250,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
| 
 | 
 | ||||||
| trigger: | trigger: | ||||||
|   event: |   event: | ||||||
|  | @ -275,7 +275,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|   - tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|  | @ -606,7 +606,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
| 
 | 
 | ||||||
| - name: build-windows-installer | - name: build-windows-installer | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|  | @ -655,7 +655,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   environment: |   environment: | ||||||
|     DOCKERIZE_VERSION: 0.6.1 |     DOCKERIZE_VERSION: 0.6.1 | ||||||
|  | @ -730,7 +730,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - ./bin/grabpl verify-version ${DRONE_TAG} |   - ./bin/grabpl verify-version ${DRONE_TAG} | ||||||
|   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|  | @ -1024,7 +1024,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
| 
 | 
 | ||||||
| - name: build-windows-installer | - name: build-windows-installer | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|  | @ -1074,7 +1074,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |   - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" | ||||||
|   - cd grafana-enterprise |   - cd grafana-enterprise | ||||||
|  | @ -1357,7 +1357,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
|   - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" |   - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" | ||||||
|   - cd grafana-enterprise |   - cd grafana-enterprise | ||||||
|   - git checkout ${DRONE_TAG} |   - git checkout ${DRONE_TAG} | ||||||
|  | @ -1422,7 +1422,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - ./bin/grabpl verify-version ${DRONE_TAG} |   - ./bin/grabpl verify-version ${DRONE_TAG} | ||||||
|   environment: |   environment: | ||||||
|  | @ -1499,7 +1499,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - ./bin/grabpl verify-version v7.3.0-test |   - ./bin/grabpl verify-version v7.3.0-test | ||||||
|   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|  | @ -1783,7 +1783,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
| 
 | 
 | ||||||
| - name: build-windows-installer | - name: build-windows-installer | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|  | @ -1833,7 +1833,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |   - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" | ||||||
|   - cd grafana-enterprise |   - cd grafana-enterprise | ||||||
|  | @ -2110,7 +2110,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
|   - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" |   - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" | ||||||
|   - cd grafana-enterprise |   - cd grafana-enterprise | ||||||
|   - git checkout master |   - git checkout master | ||||||
|  | @ -2175,7 +2175,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - ./bin/grabpl verify-version v7.3.0-test |   - ./bin/grabpl verify-version v7.3.0-test | ||||||
|   environment: |   environment: | ||||||
|  | @ -2261,7 +2261,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|   - tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz |   - tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz | ||||||
|  | @ -2499,7 +2499,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
| 
 | 
 | ||||||
| - name: build-windows-installer | - name: build-windows-installer | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|  | @ -2545,7 +2545,7 @@ steps: | ||||||
|   image: grafana/build-container:1.2.28 |   image: grafana/build-container:1.2.28 | ||||||
|   commands: |   commands: | ||||||
|   - mkdir -p bin |   - mkdir -p bin | ||||||
|   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/grabpl |   - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |   - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" | ||||||
|   - cd grafana-enterprise |   - cd grafana-enterprise | ||||||
|  | @ -2804,7 +2804,7 @@ steps: | ||||||
|   image: grafana/ci-wix:0.1.1 |   image: grafana/ci-wix:0.1.1 | ||||||
|   commands: |   commands: | ||||||
|   - $$ProgressPreference = "SilentlyContinue" |   - $$ProgressPreference = "SilentlyContinue" | ||||||
|   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.18/windows/grabpl.exe -OutFile grabpl.exe |   - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/windows/grabpl.exe -OutFile grabpl.exe | ||||||
|   - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" |   - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" | ||||||
|   - cd grafana-enterprise |   - cd grafana-enterprise | ||||||
|   - git checkout $$env:DRONE_BRANCH |   - git checkout $$env:DRONE_BRANCH | ||||||
|  |  | ||||||
|  | @ -43,7 +43,7 @@ get_file "https://codeclimate.com/downloads/test-reporter/test-reporter-latest-l | ||||||
|     "b4138199aa755ebfe171b57cc46910b13258ace5fbc4eaa099c42607cd0bff32" |     "b4138199aa755ebfe171b57cc46910b13258ace5fbc4eaa099c42607cd0bff32" | ||||||
| chmod +x /usr/local/bin/cc-test-reporter | chmod +x /usr/local/bin/cc-test-reporter | ||||||
| 
 | 
 | ||||||
| curl -fL -o /usr/local/bin/grabpl "https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.16/grabpl" | curl -fL -o /usr/local/bin/grabpl "https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl" | ||||||
| 
 | 
 | ||||||
| apk add --no-cache git | apk add --no-cache git | ||||||
| # Install Mage | # Install Mage | ||||||
|  |  | ||||||
|  | @ -44,7 +44,7 @@ get_file "https://codeclimate.com/downloads/test-reporter/test-reporter-latest-l | ||||||
|     "b4138199aa755ebfe171b57cc46910b13258ace5fbc4eaa099c42607cd0bff32" |     "b4138199aa755ebfe171b57cc46910b13258ace5fbc4eaa099c42607cd0bff32" | ||||||
| chmod 755 /usr/local/bin/cc-test-reporter | chmod 755 /usr/local/bin/cc-test-reporter | ||||||
| 
 | 
 | ||||||
| wget -O /usr/local/bin/grabpl "https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.16/grabpl" | wget -O /usr/local/bin/grabpl "https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl" | ||||||
| chmod +x /usr/local/bin/grabpl | chmod +x /usr/local/bin/grabpl | ||||||
| 
 | 
 | ||||||
| # Install Mage | # Install Mage | ||||||
|  |  | ||||||
|  | @ -27,7 +27,7 @@ get_file "https://codeclimate.com/downloads/test-reporter/test-reporter-latest-l | ||||||
|     "b4138199aa755ebfe171b57cc46910b13258ace5fbc4eaa099c42607cd0bff32" |     "b4138199aa755ebfe171b57cc46910b13258ace5fbc4eaa099c42607cd0bff32" | ||||||
| chmod +x /usr/local/bin/cc-test-reporter | chmod +x /usr/local/bin/cc-test-reporter | ||||||
| 
 | 
 | ||||||
| wget -O /usr/local/bin/grabpl "https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.16/grabpl" | wget -O /usr/local/bin/grabpl "https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.19/grabpl" | ||||||
| chmod +x /usr/local/bin/grabpl | chmod +x /usr/local/bin/grabpl | ||||||
| 
 | 
 | ||||||
| # Install Mage | # Install Mage | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| grabpl_version = '0.5.18' | grabpl_version = '0.5.19' | ||||||
| build_image = 'grafana/build-container:1.2.28' | build_image = 'grafana/build-container:1.2.28' | ||||||
| publish_image = 'grafana/grafana-ci-deploy:1.2.6' | publish_image = 'grafana/grafana-ci-deploy:1.2.6' | ||||||
| grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2' | grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue