Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 0 additions & 119 deletions .github/workflows/build-docs.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/commit-message-check.yml

This file was deleted.

84 changes: 84 additions & 0 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Integration test

env:
GO_VERSION: 1.23.4
NODEJS_VERSION: 20.18.2
PNPM_VERSION: 'latest'
ES_ADMIN_PASSWORD: 'F0r_test_ci'

on:
pull_request:

jobs:
integration_test:
runs-on: ubuntu-latest

steps:
# - name: Checkout current repository
# uses: actions/checkout@v4

# - name: Checkout framework repository
# uses: actions/checkout@v4
# with:
# repository: infinilabs/framework
# path: framework

# - name: Checkout framework-vendor
# uses: actions/checkout@v4
# with:
# ref: main
# repository: infinilabs/framework-vendor
# path: vendor

# - name: Set up nodejs toolchain
# uses: actions/setup-node@v4
# with:
# node-version: ${{ env.NODEJS_VERSION }}

# - name: Check nodejs toolchain
# run: |
# if ! command -v pnpm >/dev/null 2>&1; then
# npm install -g pnpm
# fi
# node -v && npm -v && pnpm -v

# - name: Set up go toolchain
# uses: actions/setup-go@v5
# with:
# go-version: ${{ env.GO_VERSION }}
# check-latest: false
# cache: true

# # I have no idea why ./bin/initialize.sh does not accept this var when
# # I set it via
# #
# # $ EASYSEARCH_INITIAL_ADMIN_PASSWORD=${{ env.ES_ADMIN_PASSWORD }} ./bin/initialize.sh
# #
# # So I have to set it here, in a separate step
# - name: Set env var EASYSEARCH_INITIAL_ADMIN_PASSWORD
# run: echo "EASYSEARCH_INITIAL_ADMIN_PASSWORD=${{ env.ES_ADMIN_PASSWORD }}" >> $GITHUB_ENV

# - name: Set up Easysearch
# run: |
# mkdir ~/es_install_dir
# curl -sSL http://get.infini.cloud | bash -s -- -p easysearch -d ~/es_install_dir
# cd ~/es_install_dir && ./bin/initialize.sh -s
# cd ~/es_install_dir && nohup ./bin/easysearch > easysearch.log 2>&1 &
# while ! nc -z 127.0.0.1 9200; do
# echo "Easysearch is not up. Will re-check in 5 seconds..."
# sleep 5
# done
# curl -k -u admin:${{env.ES_ADMIN_PASSWORD}} https://127.0.0.1:9200

- name: Install Loadgen
run: |
mkdir ~/loadgen_install_dir
curl -sSL http://get.infini.cloud | bash -s -- -p loadgen -d ~/loadgen_install_dir
# Move to binary to /usr/bin so that it is in $PATH
sudo mv ~/loadgen_install_dir/loadgen-linux-* /usr/bin/loadgen
# Make sure it is executable, just in case.
chmod +x /usr/bin/loadgen
# Run it to verify it is installed
loadgen
# Clear the log directory created by Loadgen
rm -r log
34 changes: 0 additions & 34 deletions .github/workflows/osv-scanner.yml

This file was deleted.

Loading