Unverified Commit 66ca5582 authored by Jacob Blain Christen's avatar Jacob Blain Christen Committed by GitHub

[migration k3s-io][release-1.17] drone: initial move to k3s-io (#2612)

parent 134f525e
...@@ -8,9 +8,11 @@ platform: ...@@ -8,9 +8,11 @@ platform:
steps: steps:
- name: build - name: build
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.5.0
secrets: [ gcloud_auth ] secrets: [ gcloud_auth, unprivileged_github_token ]
environment: environment:
GITHUB_TOKEN:
from_secret: unprivileged_github_token
GCLOUD_AUTH: GCLOUD_AUTH:
from_secret: gcloud_auth from_secret: gcloud_auth
commands: commands:
...@@ -34,7 +36,7 @@ steps: ...@@ -34,7 +36,7 @@ steps:
- "dist/artifacts/*" - "dist/artifacts/*"
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -52,7 +54,7 @@ steps: ...@@ -52,7 +54,7 @@ steps:
from_secret: docker_username from_secret: docker_username
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -60,7 +62,7 @@ steps: ...@@ -60,7 +62,7 @@ steps:
- tag - tag
- name: test - name: test
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.5.0
secrets: [ gcloud_auth ] secrets: [ gcloud_auth ]
environment: environment:
GCLOUD_AUTH: GCLOUD_AUTH:
...@@ -81,7 +83,7 @@ steps: ...@@ -81,7 +83,7 @@ steps:
- "dist/artifacts/e2e-*.log" - "dist/artifacts/e2e-*.log"
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -103,7 +105,7 @@ platform: ...@@ -103,7 +105,7 @@ platform:
steps: steps:
- name: build - name: build
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.5.0
secrets: [ gcloud_auth ] secrets: [ gcloud_auth ]
environment: environment:
GCLOUD_AUTH: GCLOUD_AUTH:
...@@ -129,7 +131,7 @@ steps: ...@@ -129,7 +131,7 @@ steps:
- "dist/artifacts/*" - "dist/artifacts/*"
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -147,7 +149,7 @@ steps: ...@@ -147,7 +149,7 @@ steps:
from_secret: docker_username from_secret: docker_username
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -155,7 +157,7 @@ steps: ...@@ -155,7 +157,7 @@ steps:
- tag - tag
- name: test - name: test
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.5.0
secrets: [ gcloud_auth ] secrets: [ gcloud_auth ]
environment: environment:
GCLOUD_AUTH: GCLOUD_AUTH:
...@@ -181,7 +183,7 @@ platform: ...@@ -181,7 +183,7 @@ platform:
steps: steps:
- name: build - name: build
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.5.0
secrets: [ gcloud_auth ] secrets: [ gcloud_auth ]
environment: environment:
GCLOUD_AUTH: GCLOUD_AUTH:
...@@ -207,7 +209,7 @@ steps: ...@@ -207,7 +209,7 @@ steps:
- "dist/artifacts/*" - "dist/artifacts/*"
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -225,7 +227,7 @@ steps: ...@@ -225,7 +227,7 @@ steps:
from_secret: docker_username from_secret: docker_username
when: when:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -233,7 +235,7 @@ steps: ...@@ -233,7 +235,7 @@ steps:
- tag - tag
- name: test - name: test
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.5.0
secrets: [ gcloud_auth ] secrets: [ gcloud_auth ]
environment: environment:
GCLOUD_AUTH: GCLOUD_AUTH:
...@@ -276,7 +278,7 @@ steps: ...@@ -276,7 +278,7 @@ steps:
trigger: trigger:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
...@@ -309,7 +311,7 @@ steps: ...@@ -309,7 +311,7 @@ steps:
trigger: trigger:
instance: instance:
- drone-publish.rancher.io - drone-publish.k3s.io
ref: ref:
- refs/head/master - refs/head/master
- refs/tags/* - refs/tags/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment