ci: ok whatever
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 23s
Build, Package and Push Images / sbom-scan (push) Successful in 38s
Build, Package and Push Images / container-build (push) Successful in 1m23s
Build, Package and Push Images / sonarqube (push) Successful in 1m25s
Build, Package and Push Images / container-sbom-scan (push) Successful in 35s
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 23s
Build, Package and Push Images / sbom-scan (push) Successful in 38s
Build, Package and Push Images / container-build (push) Successful in 1m23s
Build, Package and Push Images / sonarqube (push) Successful in 1m25s
Build, Package and Push Images / container-sbom-scan (push) Successful in 35s
This commit is contained in:
parent
2a098a3366
commit
4781a5c12a
1 changed files with 49 additions and 49 deletions
|
@ -22,55 +22,55 @@ jobs:
|
||||||
id: sanitize
|
id: sanitize
|
||||||
run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')"
|
run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')"
|
||||||
|
|
||||||
docs:
|
# docs:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}}
|
# container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}}
|
||||||
steps:
|
# steps:
|
||||||
- name: Install basic dependencies
|
# - name: Install basic dependencies
|
||||||
run: |
|
# run: |
|
||||||
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
|
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
|
||||||
echo "::add-path::$HOME/.nvm"
|
# echo "::add-path::$HOME/.nvm"
|
||||||
export PATH="$HOME/.nvm:$PATH"
|
# export PATH="$HOME/.nvm:$PATH"
|
||||||
export NVM_DIR="$HOME/.nvm"
|
# export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc
|
# echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc
|
||||||
echo "$HOME/.nvm" >> $GITHUB_PATH
|
# echo "$HOME/.nvm" >> $GITHUB_PATH
|
||||||
nvm --version
|
# nvm --version
|
||||||
- name: Install Node
|
# - name: Install Node
|
||||||
run: |
|
# run: |
|
||||||
echo $PATH
|
# echo $PATH
|
||||||
echo $GITHUB_PATH
|
# echo $GITHUB_PATH
|
||||||
cat $GITHUB_PATH
|
# cat $GITHUB_PATH
|
||||||
echo $NVM_DIR
|
# echo $NVM_DIR
|
||||||
ls -la $HOME/.nvm
|
# ls -la $HOME/.nvm
|
||||||
nvm install 18
|
# nvm install 18
|
||||||
nvm use 18
|
# nvm use 18
|
||||||
node -v
|
# node -v
|
||||||
- name: Checkout repository
|
# - name: Checkout repository
|
||||||
uses: https://github.com/actions/checkout@v3
|
# uses: https://github.com/actions/checkout@v3
|
||||||
- name: Build docs
|
# - name: Build docs
|
||||||
run: |
|
# run: |
|
||||||
set -e
|
# set -e
|
||||||
export DISPLAY=:99
|
# export DISPLAY=:99
|
||||||
Xvfb :99 &
|
# Xvfb :99 &
|
||||||
/opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product ${{env.INSTANCE}} -output-dir artifacts/ || true
|
# /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product ${{env.INSTANCE}} -output-dir artifacts/ || true
|
||||||
echo "Test existing of ${{ env.ARTIFACT }} artifact"
|
# echo "Test existing of ${{ env.ARTIFACT }} artifact"
|
||||||
test -e artifacts/${{ env.ARTIFACT }}
|
# test -e artifacts/${{ env.ARTIFACT }}
|
||||||
- name: rename artifact
|
# - name: rename artifact
|
||||||
run: |
|
# run: |
|
||||||
mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip
|
# mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip
|
||||||
- name: Upload documentation
|
# - name: Upload documentation
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: docs
|
# name: docs
|
||||||
path: artifacts/wiki.zip
|
# path: artifacts/wiki.zip
|
||||||
retention-days: 14
|
# retention-days: 14
|
||||||
- name: Upload algolia-indexes
|
# - name: Upload algolia-indexes
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: algolia-indexes
|
# name: algolia-indexes
|
||||||
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
|
# path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
|
||||||
retention-days: 14
|
# retention-days: 14
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue