Skip to content
Merged
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
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/10_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Question
about: Ask a question about an Altinity Stable Build
title: ''
labels: question
assignees: ''

---

Make sure to check the [Altinity documentation](https://docs.altinity.com/) and the [Altinity Knowledge Base](https://kb.altinity.com/) first.

If your question is concise and probably has a short answer, asking it in the [the Altinity Slack channel](https://altinitydbworkspace.slack.com/join/shared_invite/zt-1togw9b4g-N0ZOXQyEyPCBh_7IEHUjdw#/shared-invite/email) is probably the fastest way to find the answer.

For more complicated questions, consider [asking them on StackOverflow with the tag "clickhouse"](https://stackoverflow.com/questions/tagged/clickhouse).

If you'd rather file a GitHub issue, remove all this text and ask your question here.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/10_question.yaml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/15_bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Bug report
about: Report something broken in an Altinity Stable Build
title: ''
labels: 'potential bug'
assignees: ''

---

✅ *I checked [the Altinity Stable Builds lifecycle table](https://docs.altinity.com/altinitystablebuilds/#altinity-stable-builds-life-cycle-table), and the Altinity Stable Build version I'm using is still supported.*

## Type of problem
Choose one of the following items, then delete the others:

**Bug report** - something's broken

**Incomplete implementation** - something's not quite right

**Performance issue** - something works, just not as quickly as it should

**Backwards compatibility issue** - something used to work, but now it doesn't

**Unexpected behavior** - something surprising happened, but it wasn't the good kind of surprise

**Installation issue** - something doesn't install the way it should

**Usability issue** - something works, but it could be a lot easier

**Documentation issue** - something in the docs is wrong, incomplete, or confusing

## Describe the situation
A clear, concise description of what's happening. Can you reproduce it in a ClickHouse Official build of the same version?

## How to reproduce the behavior

* Which Altinity Stable Build version to use
* Which interface to use, if it matters
* Non-default settings, if any
* `CREATE TABLE` statements for all tables involved
* Sample data for all these tables, use the [clickhouse-obfuscator](https://github.com/ClickHouse/ClickHouse/blob/31fd4f5eb41d5ec26724fc645c11fe4d62eae07f/programs/obfuscator/README.md) if necessary
* Queries to run that lead to an unexpected result

## Expected behavior
A clear, concise description of what you expected to happen.

## Logs, error messages, stacktraces, screenshots...
Add any details that might explain the issue.

## Additional context
Add any other context about the issue here.
10 changes: 5 additions & 5 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
self-hosted-runner:
labels:
- builder
- func-tester
- func-tester-aarch64
- altinity-builder
- altinity-func-tester
- altinity-func-tester-aarch64
- fuzzer-unit-tester
- style-checker
- style-checker-aarch64
- altinity-style-checker
- altinity-style-checker-aarch64
- release-maker
10 changes: 10 additions & 0 deletions .github/actions/common_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,13 @@ runs:
run: |
# to remove every leftovers
sudo rm -fr "$TEMP_PATH" && mkdir -p "$TEMP_PATH"
- name: Setup zram
shell: bash
run: |
sudo modprobe zram
MemTotal=$(grep -Po "(?<=MemTotal:)\s+\d+" /proc/meminfo) # KiB
Percent=200
ZRAM_SIZE=$(($MemTotal / 1024 / 1024 * $Percent / 100)) # Convert to GiB
.github/retry.sh 30 2 sudo zramctl --size ${ZRAM_SIZE}GiB --algorithm zstd /dev/zram0
sudo mkswap /dev/zram0 && sudo swapon -p 100 /dev/zram0
sudo sysctl vm.swappiness=200
31 changes: 31 additions & 0 deletions .github/actions/docker_setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker setup
description: Setup docker
inputs:
test_name:
description: name of the test, used in determining ipv6 configs.
default: None
type: string
runs:
using: "composite"
steps:
- name: Docker IPv6 configuration
shell: bash
env:
ipv6_subnet: ${{ contains(inputs.test_name, 'Integration') && '2001:db8:1::/64' || '2001:3984:3989::/64' }}
run: |
# make sure docker uses proper IPv6 config
sudo touch /etc/docker/daemon.json
sudo chown ubuntu:ubuntu /etc/docker/daemon.json
sudo cat <<EOT > /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "${{ env.ipv6_subnet }}"
}
EOT
sudo chown root:root /etc/docker/daemon.json
sudo systemctl restart docker
sudo systemctl status docker
- name: Docker info
shell: bash
run: |
docker info
Loading
Loading