mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
revert test change
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
03d1174d8e
commit
871ad2e88d
52
.github/workflows/build-and-upload.yaml
vendored
52
.github/workflows/build-and-upload.yaml
vendored
@ -21,46 +21,6 @@ env:
|
|||||||
REPO: ${{github.event.repository.name || ''}}
|
REPO: ${{github.event.repository.name || ''}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# build-and-upload-docker-image:
|
|
||||||
# name: Build & Upload Docker
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# permissions:
|
|
||||||
# contents: read
|
|
||||||
# packages: write
|
|
||||||
# id-token: write
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v4
|
|
||||||
# with:
|
|
||||||
# fetch-depth: 1
|
|
||||||
|
|
||||||
# - id: upload-gate
|
|
||||||
# name: Upload Gate
|
|
||||||
# run: ./scripts/build-upload-gate
|
|
||||||
|
|
||||||
# - id: read-docker-secrets
|
|
||||||
# name: Read Docker Secrets
|
|
||||||
# uses: rancher-eio/read-vault-secrets@main
|
|
||||||
# with:
|
|
||||||
# secrets: |
|
|
||||||
# secret/data/github/repo/${{ github.repository }}/dockerhub/harvester/credentials username | DOCKER_USERNAME ;
|
|
||||||
# secret/data/github/repo/${{ github.repository }}/dockerhub/harvester/credentials password | DOCKER_PASSWORD ;
|
|
||||||
|
|
||||||
# - id: login-docker
|
|
||||||
# name: Docker Log in
|
|
||||||
# uses: docker/login-action@v3
|
|
||||||
# with:
|
|
||||||
# username: ${{ env.DOCKER_USERNAME }}
|
|
||||||
# password: ${{ env.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
# - id: push-docker
|
|
||||||
# name: Docker Build
|
|
||||||
# uses: docker/build-push-action@v5
|
|
||||||
# with:
|
|
||||||
# provenance: false
|
|
||||||
# context: .
|
|
||||||
# push: true
|
|
||||||
# tags: rancher/harvester-ui:${{ github.ref_name }}
|
|
||||||
|
|
||||||
build-and-upload-hosted:
|
build-and-upload-hosted:
|
||||||
name: Build & Upload Hosted
|
name: Build & Upload Hosted
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -100,9 +60,8 @@ jobs:
|
|||||||
uses: 'google-github-actions/upload-cloud-storage@v2'
|
uses: 'google-github-actions/upload-cloud-storage@v2'
|
||||||
# https://github.com/google-github-actions/upload-cloud-storage
|
# https://github.com/google-github-actions/upload-cloud-storage
|
||||||
with:
|
with:
|
||||||
# TODO: replace test-release back to ${{ steps.build-hosted.outputs.BUILD_HOSTED_LOCATION }}
|
|
||||||
path: ${{steps.build-hosted.outputs.BUILD_HOSTED_DIR}}
|
path: ${{steps.build-hosted.outputs.BUILD_HOSTED_DIR}}
|
||||||
destination: releases.rancher.com/harvester-ui/dashboard/test-release
|
destination: releases.rancher.com/harvester-ui/dashboard/${{ steps.build-hosted.outputs.BUILD_HOSTED_LOCATION }}
|
||||||
parent: false
|
parent: false
|
||||||
headers: |-
|
headers: |-
|
||||||
cache-control: no-cache,must-revalidate
|
cache-control: no-cache,must-revalidate
|
||||||
@ -145,8 +104,7 @@ jobs:
|
|||||||
uses: 'google-github-actions/upload-cloud-storage@v2'
|
uses: 'google-github-actions/upload-cloud-storage@v2'
|
||||||
with:
|
with:
|
||||||
path: ${{steps.build-embedded.outputs.BUILD_EMBEDED_TGZ}}
|
path: ${{steps.build-embedded.outputs.BUILD_EMBEDED_TGZ}}
|
||||||
# TODO: replace test-release with ${{ env.REPO }}
|
destination: releases.rancher.com/harvester-ui/${{ env.REPO }}
|
||||||
destination: releases.rancher.com/harvester-ui/test-release
|
|
||||||
parent: false
|
parent: false
|
||||||
headers: |-
|
headers: |-
|
||||||
cache-control: no-cache,must-revalidate
|
cache-control: no-cache,must-revalidate
|
||||||
@ -199,10 +157,8 @@ jobs:
|
|||||||
- name: Upload plugin directory
|
- name: Upload plugin directory
|
||||||
uses: 'google-github-actions/upload-cloud-storage@v2'
|
uses: 'google-github-actions/upload-cloud-storage@v2'
|
||||||
with:
|
with:
|
||||||
#TODO: replace test-release with ${{steps.ci-build-pkg.outputs.PKG_NAME}}
|
path: dist-pkg/${{steps.ci-build-pkg.outputs.PKG_NAME}}
|
||||||
path: dist-pkg/harvester-test-release
|
destination: releases.rancher.com/harvester-ui/plugin/${{steps.ci-build-pkg.outputs.PKG_NAME}}
|
||||||
#TODO: replace test-release with ${{steps.ci-build-pkg.outputs.PKG_NAME}}
|
|
||||||
destination: releases.rancher.com/harvester-ui/plugin/harvester-test-release
|
|
||||||
parent: false
|
parent: false
|
||||||
headers: |-
|
headers: |-
|
||||||
cache-control: no-cache,must-revalidate
|
cache-control: no-cache,must-revalidate
|
||||||
|
|||||||
@ -979,7 +979,7 @@ harvester:
|
|||||||
cert: Upload a self-signed SSL certificate
|
cert: Upload a self-signed SSL certificate
|
||||||
vlanChangeTip: The newly modified default network interface only applies to newly added nodes, not existing ones.
|
vlanChangeTip: The newly modified default network interface only applies to newly added nodes, not existing ones.
|
||||||
defaultPhysicalNIC: Default Network Interface
|
defaultPhysicalNIC: Default Network Interface
|
||||||
modifiedMessage: (TEST RELEASE) Settings that have been customized from default settings are tagged with 'Modified'.
|
modifiedMessage: Settings that have been customized from default settings are tagged with 'Modified'.
|
||||||
percentTip: The value in parentheses represents the distribution percentage of the network interface on all hosts. If an interface less than 100% is selected, the user needs to manually specify the network interface on the host where the vlan network configuration fails.
|
percentTip: The value in parentheses represents the distribution percentage of the network interface on all hosts. If an interface less than 100% is selected, the user needs to manually specify the network interface on the host where the vlan network configuration fails.
|
||||||
message:
|
message:
|
||||||
ca:
|
ca:
|
||||||
|
|||||||
@ -18,7 +18,7 @@ echo "TAG: ${GIT_TAG:-<none>}"
|
|||||||
DIR=${GIT_TAG:-$COMMIT_BRANCH}
|
DIR=${GIT_TAG:-$COMMIT_BRANCH}
|
||||||
|
|
||||||
if [[ "${DIR}" == "main" ]]; then
|
if [[ "${DIR}" == "main" ]]; then
|
||||||
DIR="test-release"
|
DIR="latest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BASE=${BASE:-https://releases.rancher.com/harvester-ui/dashboard/${DIR}}
|
BASE=${BASE:-https://releases.rancher.com/harvester-ui/dashboard/${DIR}}
|
||||||
|
|||||||
@ -31,11 +31,11 @@ if [ -n "$GIT_TAG" ]; then
|
|||||||
export PKG_NAME=${1}-${CI_BUILD_TAG}
|
export PKG_NAME=${1}-${CI_BUILD_TAG}
|
||||||
export PKG_TARBALL=${PKG_NAME}.tar.gz
|
export PKG_TARBALL=${PKG_NAME}.tar.gz
|
||||||
else
|
else
|
||||||
export PKG_NAME=${1}-${VERSION} # harvester-test-release or harvester-latest
|
export PKG_NAME=${1}-${VERSION} # harvester-release-harvester-v1.5 or harvester-latest
|
||||||
export PKG_TARBALL=${PKG_NAME}.tar.gz # harvester-test-release.tar.gz or harvester-latest.tar.gz
|
export PKG_TARBALL=${PKG_NAME}.tar.gz # harvester-release-harvester-v1.5.tar.gz or harvester-latest.tar.gz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "CI Build Artefacts"
|
echo "CI Build Artifacts"
|
||||||
echo "Package Directory: ${PKG_NAME}"
|
echo "Package Directory: ${PKG_NAME}"
|
||||||
echo "Package Tarball: ${PKG_TARBALL}"
|
echo "Package Tarball: ${PKG_TARBALL}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user