Skip to content

Commit

Permalink
revert back PR rancher#81
Browse files Browse the repository at this point in the history
  • Loading branch information
rayandas committed Jan 20, 2023
1 parent dcb106f commit 34de874
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 65 deletions.
64 changes: 64 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
kind: pipeline
name: ci

platform:
os: linux
arch: amd64

steps:
- name: ci
image: rancher/dapper:v0.5.3
commands:
- dapper ci
environment:
GIT_IN_DAPPER: true
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- tag
instance:
- drone-publish.rancher.io

- name: validate
image: rancher/dapper:v0.5.3
commands:
- dapper validate
environment:
GIT_IN_DAPPER: true
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- push
- pull_request
instance:
- drone-pr.rancher.io

- name: build
image: rancher/dapper:v0.5.3
commands:
- dapper build
environment:
GIT_IN_DAPPER: true
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- push
- pull_request
instance:
- drone-pr.rancher.io

volumes:
- name: docker
host:
path: /var/run/docker.sock
37 changes: 0 additions & 37 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -431,40 +431,3 @@ jobs:
if: ${{ steps.filter-images.outputs.kube-webhook-certgen == 'true' }}
run: |
cd images/kube-webhook-certgen && make test test-e2e
rancher-validate:
runs-on: ubuntu-latest
env:
PLATFORMS: linux/amd64
container:
image: rancher/dapper:v0.5.3
env:
GIT_IN_DAPPER: true
steps:
- name: Checkout
uses: actions/checkout@v2

- name: validate
run: |
dapper validate
rancher-build:
needs: rancher-validate
runs-on: ubuntu-latest
env:
PLATFORMS: linux/amd64
container:
image: rancher/dapper:v0.5.3
env:
GIT_IN_DAPPER: true
steps:
- name: Install git
run: |
apk add --no-cache git
- name: Checkout
uses: actions/checkout@v2

- name: build
run: |
dapper build
28 changes: 0 additions & 28 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit 34de874

Please sign in to comment.