fix merge conflicts

This commit is contained in:
Alexandre Alves 2024-07-31 11:22:20 +01:00
parent a59f4ad5cf
commit 0afc69ba76
13 changed files with 1 additions and 274 deletions

View File

@ -11,15 +11,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js - name: Use Node.js
<<<<<<< HEAD
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
uses: actions/setup-node@v1
with:
node-version: '16.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: script - name: script
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -2,11 +2,7 @@ name: Build Dashboard (Release)
on: on:
push: push:
tags: tags:
<<<<<<< HEAD
- v2.* - v2.*
=======
- v2.9.*
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
jobs: jobs:
build-validation: build-validation:

View File

@ -27,15 +27,9 @@ jobs:
fetch-depth: 1 fetch-depth: 1
# Note - Cannot use the setup action here as it uses a different yarn install arg # Note - Cannot use the setup action here as it uses a different yarn install arg
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '14.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
cache: 'yarn' cache: 'yarn'
# Build a directory containing the dashboard that can be used with ui-dashboard-index # Build a directory containing the dashboard that can be used with ui-dashboard-index
@ -80,15 +74,9 @@ jobs:
fetch-depth: 1 fetch-depth: 1
# Note - Cannot use the setup action here as it uses a different yarn install arg # Note - Cannot use the setup action here as it uses a different yarn install arg
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '14.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
cache: 'yarn' cache: 'yarn'
# Build a tar that will be picked up by rancher builds and embedded into it # Build a tar that will be picked up by rancher builds and embedded into it

View File

@ -48,29 +48,17 @@ jobs:
version: v3.8.0 version: v3.8.0
- name: Setup Nodejs and npm - name: Setup Nodejs and npm
<<<<<<< HEAD
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
uses: actions/setup-node@v3
with:
node-version: '16'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Setup yarn - name: Setup yarn
run: npm install -g yarn run: npm install -g yarn
- name: Setup Nodejs with yarn caching - name: Setup Nodejs with yarn caching
<<<<<<< HEAD
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
uses: actions/setup-node@v3
with:
node-version: '16'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
cache: yarn cache: yarn
- name: Install dependencies - name: Install dependencies

View File

@ -43,29 +43,17 @@ jobs:
version: v3.8.0 version: v3.8.0
- name: Setup Nodejs and npm - name: Setup Nodejs and npm
<<<<<<< HEAD
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
uses: actions/setup-node@v3
with:
node-version: '16'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Setup yarn - name: Setup yarn
run: npm install -g yarn run: npm install -g yarn
- name: Setup Nodejs with yarn caching - name: Setup Nodejs with yarn caching
<<<<<<< HEAD
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
uses: actions/setup-node@v3
with:
node-version: '16'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
cache: yarn cache: yarn
- name: Install dependencies - name: Install dependencies

View File

@ -1,16 +1,8 @@
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 25d6584234 (comment workflows)
name: check-plugins-build name: check-plugins-build
on: on:
pull_request: pull_request:
branches: branches:
<<<<<<< HEAD
- master
=======
- master-bananas - master-bananas
>>>>>>> 25d6584234 (comment workflows)
env: env:
TEST_PERSIST_BUILD: true TEST_PERSIST_BUILD: true
jobs: jobs:
@ -22,43 +14,10 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
<<<<<<< HEAD
<<<<<<< HEAD
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
node-version: '16.20.2'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Validate Plugin build system - name: Validate Plugin build system
run: ./shell/scripts/test-plugins-build.sh run: ./shell/scripts/test-plugins-build.sh
shell: bash shell: bash
=======
# name: check-plugins-build
# on:
# pull_request:
# branches:
# - master
# env:
# TEST_PERSIST_BUILD: true
# jobs:
# validate:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '16.20.2'
# - name: Validate Plugin build system
# run: ./shell/scripts/test-plugins-build.sh
# shell: bash
>>>>>>> 25d643d2d3 (comment workflows)
=======
node-version: '16.20.2'
- name: Validate Plugin build system
run: ./shell/scripts/test-plugins-build.sh
shell: bash
>>>>>>> 25d6584234 (comment workflows)
- name: Upload files - name: Upload files
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

View File

@ -1,64 +1,22 @@
name: Publish Docusaurus name: Publish Docusaurus
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 25d6584234 (comment workflows)
on: on:
push: push:
branches: branches:
- master - master
<<<<<<< HEAD
pull_request:
branches:
- master
=======
# pull_request: # pull_request:
# branches: # branches:
# - master # - master
>>>>>>> 25d6584234 (comment workflows)
jobs: jobs:
build: build:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
<<<<<<< HEAD
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: 16.x
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
cache: yarn cache: yarn
=======
# on:
# push:
# branches:
# - master
# pull_request:
# branches:
# - master
# jobs:
# build:
# name: Build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v3
# with:
# node-version: 16.x
# cache: yarn
>>>>>>> 25d643d2d3 (comment workflows)
=======
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: yarn
>>>>>>> 25d6584234 (comment workflows)
- name: Install dependencies - name: Install dependencies
run: cd docusaurus/ && yarn install:ci run: cd docusaurus/ && yarn install:ci

View File

@ -14,15 +14,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js - name: Use Node.js
<<<<<<< HEAD
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
uses: actions/setup-node@v1
with:
node-version: '16.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Read secrets - name: Read secrets
uses: rancher-eio/read-vault-secrets@main uses: rancher-eio/read-vault-secrets@main
with: with:

View File

@ -13,15 +13,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '14.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Install packages - name: Install packages
run: yarn install run: yarn install
@ -35,15 +29,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '14.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Install packages - name: Install packages
run: yarn install run: yarn install

View File

@ -17,15 +17,9 @@ jobs:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '16.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
scope: '@rancher' scope: '@rancher'

View File

@ -1,58 +0,0 @@
name: Build and Release Rancher Dashboard - Rancher Desktop Embed
on:
push:
tags:
- 'desktop-v*'
env:
OUTPUT_DIR: dist
RELEASE_DIR: release
ARTIFACT_NAME: rancher-dashboard-desktop-embed
API: "https://127.0.0.1:9443"
RESOURCE_BASE: "https://127.0.0.1:9443"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Install & Build
run:
ROUTER_BASE="/dashboard" RANCHER_ENV=desktop ./.github/workflows/scripts/build-dashboard.sh
- name: Upload Build
uses: actions/upload-artifact@v2
with:
path: ${{ env.RELEASE_DIR}}/${{ env.ARTIFACT_NAME }}*
name: ${{ env.ARTIFACT_NAME }}
if-no-files-found: error
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
persist-credentials: false
- name: Download build
uses: actions/download-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
path: build
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Upload Release Assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ env.RELEASE_VERSION }} build/${{ env.ARTIFACT_NAME }}.tar.gz build/${{ env.ARTIFACT_NAME }}.tar.gz.sha512sum

View File

@ -17,15 +17,9 @@ jobs:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '16.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
- name: Validate Plugin build system - name: Validate Plugin build system
run: ./shell/scripts/test-plugins-build.sh run: ./shell/scripts/test-plugins-build.sh
@ -41,15 +35,9 @@ jobs:
echo $YARN_REGISTRY echo $YARN_REGISTRY
cat ./shell/package.json cat ./shell/package.json
<<<<<<< HEAD
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
- uses: actions/setup-node@v3
with:
node-version: '16.x'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
scope: '@rancher' scope: '@rancher'

View File

@ -1,7 +1,3 @@
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 25d6584234 (comment workflows)
name: storybook name: storybook
env: env:
STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }} STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
@ -9,15 +5,9 @@ on:
push: push:
branches: branches:
- master - master
<<<<<<< HEAD
pull_request:
branches:
- master
=======
# pull_request: # pull_request:
# branches: # branches:
# - master # - master
>>>>>>> 25d6584234 (comment workflows)
jobs: jobs:
storybook: storybook:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -26,15 +16,7 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
<<<<<<< HEAD
<<<<<<< HEAD
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
=======
node-version: '16.20.2'
>>>>>>> b7384b5fad (Revert "script adjustment/fix")
=======
node-version: '16.20.2'
>>>>>>> 25d6584234 (comment workflows)
- name: Install packages - name: Install packages
run: yarn install run: yarn install
- name: Build Storybook - name: Build Storybook
@ -43,35 +25,3 @@ jobs:
- name: Publish Storybook - name: Publish Storybook
if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}} if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}}
run: .github/workflows/scripts/publish-storybook run: .github/workflows/scripts/publish-storybook
<<<<<<< HEAD
=======
# name: storybook
# env:
# STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
# on:
# push:
# branches:
# - master
# pull_request:
# branches:
# - master
# jobs:
# storybook:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '16.20.2'
# - name: Install packages
# run: yarn install
# - name: Build Storybook
# run: |
# yarn build-storybook
# - name: Publish Storybook
# if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}}
# run: .github/workflows/scripts/publish-storybook
>>>>>>> 25d643d2d3 (comment workflows)
=======
>>>>>>> 25d6584234 (comment workflows)