Skip to content

Commit

Permalink
Merge branch 'harvester:main' into ls-137-rancher-harvester-air-gapped
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSaintarbor authored Sep 6, 2023
2 parents 98253ff + 1624a6b commit 93a4a03
Show file tree
Hide file tree
Showing 446 changed files with 39,725 additions and 2,798 deletions.
79 changes: 79 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
kind: pipeline
name: preview

platform:
os: linux
arch: amd64

steps:
- name: install
image: node:18-alpine
commands:
- yarn install --frozen-lockfile

- name: ignore-openapi
image: node:18-alpine
commands:
- apk add git
- ./scripts/ignore-openapi

- name: build
image: node:18-alpine
commands:
- yarn build

- name: package
image: registry.suse.com/bci/bci-base:15.4
commands:
- zypper install -y zip
- zip -q -r build.zip build/

- name: preview
image: ghcr.io/harvester/drone-netlify:master
environment:
BUILD_ZIP_FILE: "build.zip"
NETLIFY_AUTH_TOKEN:
from_secret: NETLIFY_AUTH_TOKEN
NETLIFY_SITE_ID:
from_secret: NETLIFY_SITE_ID
GITHUB_TOKEN:
from_secret: GITHUB_TOKEN

trigger:
event:
- pull_request

---
kind: pipeline
name: release

platform:
os: linux
arch: amd64

steps:
- name: install
image: node:18-alpine
commands:
- yarn install --frozen-lockfile

- name: build
image: node:18-alpine
commands:
- yarn build

- name: release
image: registry.suse.com/bci/nodejs:18
environment:
GITHUB_TOKEN:
from_secret: GITHUB_TOKEN
commands:
- npm install -g gh-pages
- ./scripts/gh-pages

trigger:
branch:
- main
event:
- push
33 changes: 0 additions & 33 deletions .github/workflows/deploy.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/test-deploy.yml

This file was deleted.

Loading

0 comments on commit 93a4a03

Please sign in to comment.