1
0
mirror of https://github.com/rancher/docs.git synced 2026-02-05 09:45:47 +01:00

Merge pull request #4384 from btat/remove-drone

Remove Drone config
This commit is contained in:
Billy Tat
2024-06-05 10:05:25 -07:00
committed by GitHub

View File

@@ -1,122 +0,0 @@
---
kind: pipeline
name: pull-request
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile.prod
dry_run: true
repo: rancher/docs
when:
event:
- pull_request
---
kind: pipeline
name: dev
platform:
os: linux
arch: amd64
steps:
- name: publish-dev
pull: default
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile.dev
group: publish
repo: rancher/docs
tag: dev
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- master
event:
- push
---
kind: pipeline
name: staging
platform:
os: linux
arch: amd64
steps:
- name: publish-staging
pull: default
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile.staging
group: publish
repo: rancher/docs
tag: staging
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- staging
event:
- push
---
kind: pipeline
name: production
platform:
os: linux
arch: amd64
steps:
- name: publish-latest
pull: default
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile.prod
group: publish
repo: rancher/docs
tag: latest
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- master
event:
- push
- name: publish-algolia
pull: default
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile.algolia
repo: rancher/docs
tag: algolia
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- master
event:
- push