chore(deps): bump braces from 3.0.2 to 3.0.3 #4661
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push, pull_request] | |
env: | |
BUILD_ENV: production | |
CSP_ALLOWED_HOSTS: "http://localhost:8081 ws://localhost:8081 http://localhost:9953 ws://localhost:9080 http://localhost:9080 ws://localhost:9081 http://localhost:9081 ws://localhost:9082 http://localhost:9082 ws://localhost:9084 http://localhost:9084" | |
NO_OPT: true | |
NO_INSTALLER: true | |
TRAVIS_OS_NAME: linux | |
TRAVIS_HOME: ${{ github.workspace }} | |
TRAVIS_BUILD_DIR: ${{ github.workspace }} | |
TRAVIS_JOB_ID: ${{ github.run_id }} | |
TRAVIS_CPU_ARCH: amd64 | |
TRAVIS_KUBE_SERVER_VERSION: 17 | |
TRAVIS_KUBE_VERSION: 1.18.3 | |
TRAVIS_HELM_VERSION: 3.3.4 | |
TRAVIS_OC_VERISON: 4.3.3 | |
WEBPACK_CLIENT_URL: "http://localhost:9080/" | |
WINDOW_WIDTH: 1400 | |
WINDOW_HEIGHT: 1050 | |
RUNNING_KUI_TEST: true | |
KUI_USE_PROXY: true | |
MINIO_VERSION: minio_20210214040133.0.0 | |
MINIO_SHA256: d5d9489262b532158a6dfd3f093de685854d83e0caf02ccef2e3d83294cb8eda | |
jobs: | |
api-browser: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: test | |
MOCHA_RUN_TARGET: webpack | |
run: ./tools/travis/install.sh && npx concurrently -n API1,API2 'npm run test1 api1' 'npm run test2 api2' | |
api-browser-bottom-input: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: alternate | |
MOCHA_RUN_TARGET: webpack | |
run: ./tools/travis/install.sh && BOTTOM_INPUT_MODE=true npx concurrently -n BOTTOM 'npm run test bottom-input' | |
api-electron: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: test | |
MOCHA_RUN_TARGET: electron | |
run: ./tools/travis/install.sh && npm run test api-popup && npx concurrently -n API1,API2 'npm run test1 api1' 'npm run test2 api2' | |
bash-core-browser: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: webpack | |
NEEDS_BASH_PREP: true | |
NEEDS_GIT: true | |
run: ./tools/travis/install.sh && npx concurrently -n CORE 'npm run test1 core' && npx concurrently -n SUP1 'npm run test2 core-support' && npx concurrently -n EDIT 'npm run test3 editor' | |
bash-core-browser-2: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: webpack | |
NEEDS_BASH_PREP: true | |
NEEDS_GIT: true | |
run: ./tools/travis/install.sh && npx concurrently -n SUP2 'npm run test4 core-support2' && npx concurrently -n BASH 'npm run test5 bash-like' | |
bash-electron: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: electron | |
NEEDS_BASH_PREP: true | |
NEEDS_GIT: true | |
TEST_FROM_BUILD: ${{ github.workspace }}/dist/electron/Kui-linux-x64/Kui | |
KUI_NO_TRAY_MENU: true # i have no idea, but something in tray/main fails on linux, just in github actions | |
run: ./tools/travis/install.sh && npm run test1 bash-like-wait && npm run test1 bash-like | |
k8s-browser: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185 | |
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file | |
run: | | |
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts | |
# DONT'T FORGET TO REMOVE CODE ABOVE WHEN ISSUE IS ADRESSED! | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: webpack | |
NEEDS_K8S: true | |
NEEDS_OC: true | |
NEEDS_TOP: true | |
run: ./tools/travis/install.sh && npx concurrently -n K8S3 'npm run test1 k8s3' && npx concurrently -n K8S4 'npm run test1 k8s4' && npx concurrently -n K8S2 'npm run test1 k8s2' | |
k8s-chaos: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185 | |
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file | |
run: | | |
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts | |
# DONT'T FORGET TO REMOVE CODE ABOVE WHEN ISSUE IS ADRESSED! | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: webpack | |
NEEDS_K8S: true | |
NEEDS_OC: true | |
NEEDS_TOP: true | |
TRAVIS_CHAOS_TESTING: true | |
run: ./tools/travis/install.sh && npx concurrently -n K8S2 'npm run test1 k8s2' | |
k8s-electron: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185 | |
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file | |
run: | | |
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts | |
# DONT'T FORGET TO REMOVE CODE ABOVE WHEN ISSUE IS ADRESSED! | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: electron | |
NEEDS_K8S: true | |
NEEDS_OC: true | |
NEEDS_TOP: true | |
NEEDS_HELM: true | |
TEST_FROM_BUILD: "${{ github.workspace }}/dist/electron/Kui-linux-x64/Kui" | |
KUI_DIST_PATH: "${{ github.workspace }}/dist/electron/Kui-linux-x64/Kui" | |
KUI_NO_TRAY_MENU: true # i have no idea, but something in tray/main fails on linux, just in github actions | |
run: ./tools/travis/install.sh && npx concurrently -n K8S 'npm run test1 k8s k8s-popup' && npx concurrently -n K8S1 'npm run test1 k8s1' && npx concurrently -n LOGS 'npm run test1 logs' && npx concurrently -n HELM 'npm run test1 helm' | |
osx1: | |
runs-on: macos-11 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: electron | |
NEEDS_GIT: true | |
TRAVIS_OS_NAME: osx | |
TEST_FROM_BUILD: ${{ github.workspace }}/dist/electron/Kui-darwin-x64/Kui.app/Contents/MacOS/Kui | |
run: ./tools/travis/install.sh && npx concurrently -n COPY 'npm run test1 core-standalone' && npx concurrently -n SUP2 'npm run test4 core-support2' && npx concurrently -n EDIT 'npm run test3 editor' | |
osx2: | |
runs-on: macos-11 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: electron | |
NEEDS_GIT: true | |
TRAVIS_OS_NAME: osx | |
run: ./tools/travis/install.sh && npx concurrently -n CORE,SUP1 'npm run test1 core' 'npm run test2 core-support' | |
s3-electron: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: electron | |
NEEDS_MINIO: true | |
run: ./tools/travis/install.sh && npm run test1 s3 | |
# this is a duplicate of s3-electron with one difference: `MOCHA_RUN_TARGET: webpack` | |
s3-browser: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run Tests | |
env: | |
CLIENT: default | |
MOCHA_RUN_TARGET: webpack | |
NEEDS_MINIO: true | |
run: ./tools/travis/install.sh && npm run test1 s3 | |