diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c167b3649c..dd9209ffcd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,7 +4,7 @@ * @GreptimeTeam/db-approver -## [Module] Databse Engine +## [Module] Database Engine /src/index @zhongzc /src/mito2 @evenyag @v0y4g3r @waynexia /src/query @evenyag diff --git a/.github/scripts/create-version.sh b/.github/scripts/create-version.sh index 0e8218ba01..d187220f10 100755 --- a/.github/scripts/create-version.sh +++ b/.github/scripts/create-version.sh @@ -8,7 +8,7 @@ set -e # - If it's a nightly build, the version is 'nightly-YYYYMMDD-$(git rev-parse --short HEAD)', like 'nightly-20230712-e5b243c'. # create_version ${GIHUB_EVENT_NAME} ${NEXT_RELEASE_VERSION} ${NIGHTLY_RELEASE_PREFIX} function create_version() { - # Read from envrionment variables. + # Read from environment variables. if [ -z "$GITHUB_EVENT_NAME" ]; then echo "GITHUB_EVENT_NAME is empty" >&2 exit 1 diff --git a/.github/scripts/deploy-greptimedb.sh b/.github/scripts/deploy-greptimedb.sh index f5c3c1de68..c4d39a6f5c 100755 --- a/.github/scripts/deploy-greptimedb.sh +++ b/.github/scripts/deploy-greptimedb.sh @@ -10,7 +10,7 @@ GREPTIMEDB_IMAGE_TAG=${GREPTIMEDB_IMAGE_TAG:-latest} ETCD_CHART="oci://registry-1.docker.io/bitnamicharts/etcd" GREPTIME_CHART="https://greptimeteam.github.io/helm-charts/" -# Ceate a cluster with 1 control-plane node and 5 workers. +# Create a cluster with 1 control-plane node and 5 workers. function create_kind_cluster() { cat < latest-version.txt diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 1adca0d3ac..83c815ae0d 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -222,12 +222,12 @@ jobs: run: | sudo apt update && sudo apt install -y libfuzzer-14-dev cargo install cargo-fuzz cargo-gc-bin --force - - name: Download pre-built binariy + - name: Download pre-built binary uses: actions/download-artifact@v4 with: name: bin path: . - - name: Unzip bianry + - name: Unzip binary run: | tar -xvf ./bin.tar.gz rm ./bin.tar.gz @@ -275,7 +275,7 @@ jobs: - name: Install cargo-gc-bin shell: bash run: cargo install cargo-gc-bin --force - - name: Build greptime bianry + - name: Build greptime binary shell: bash # `cargo gc` will invoke `cargo build` with specified args run: cargo gc --profile ci -- --bin greptime --features "pg_kvbackend,mysql_kvbackend" @@ -328,9 +328,9 @@ jobs: name: Setup Minio uses: ./.github/actions/setup-minio - if: matrix.mode.kafka - name: Setup Kafka cluser + name: Setup Kafka cluster uses: ./.github/actions/setup-kafka-cluster - - name: Setup Etcd cluser + - name: Setup Etcd cluster uses: ./.github/actions/setup-etcd-cluster # Prepares for fuzz tests - uses: arduino/setup-protoc@v3 @@ -475,9 +475,9 @@ jobs: name: Setup Minio uses: ./.github/actions/setup-minio - if: matrix.mode.kafka - name: Setup Kafka cluser + name: Setup Kafka cluster uses: ./.github/actions/setup-kafka-cluster - - name: Setup Etcd cluser + - name: Setup Etcd cluster uses: ./.github/actions/setup-etcd-cluster # Prepares for fuzz tests - uses: arduino/setup-protoc@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3671bcd1d1..1b59f97764 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,7 +88,7 @@ env: # Controls whether to run tests, include unit-test, integration-test and sqlness. DISABLE_RUN_TESTS: ${{ inputs.skip_test || vars.DEFAULT_SKIP_TEST }} - # The scheduled version is '${{ env.NEXT_RELEASE_VERSION }}-nightly-YYYYMMDD', like v0.2.0-nigthly-20230313; + # The scheduled version is '${{ env.NEXT_RELEASE_VERSION }}-nightly-YYYYMMDD', like v0.2.0-nightly-20230313; NIGHTLY_RELEASE_PREFIX: nightly jobs: @@ -124,7 +124,7 @@ jobs: # The create-version will create a global variable named 'version' in the global workflows. # - If it's a tag push release, the version is the tag name(${{ github.ref_name }}); - # - If it's a scheduled release, the version is '${{ env.NEXT_RELEASE_VERSION }}-nightly-$buildTime', like v0.2.0-nigthly-20230313; + # - If it's a scheduled release, the version is '${{ env.NEXT_RELEASE_VERSION }}-nightly-$buildTime', like v0.2.0-nightly-20230313; # - If it's a manual release, the version is '${{ env.NEXT_RELEASE_VERSION }}--YYYYMMDDSS', like v0.2.0-e5b243c-2023071245; - name: Create version id: create-version @@ -388,7 +388,7 @@ jobs: ### Stop runners ### # It's very necessary to split the job of releasing runners into 'stop-linux-amd64-runner' and 'stop-linux-arm64-runner'. - # Because we can terminate the specified EC2 instance immediately after the job is finished without uncessary waiting. + # Because we can terminate the specified EC2 instance immediately after the job is finished without unnecessary waiting. stop-linux-amd64-runner: # It's always run as the last job in the workflow to make sure that the runner is released. name: Stop linux-amd64 runner # Only run this job when the runner is allocated. diff --git a/.gitignore b/.gitignore index c906e5b6b8..dbfab66be5 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,6 @@ tests-fuzz/corpus/ ## default data home greptimedb_data + +# github +!/.github \ No newline at end of file