HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //opt/agentcloud/airbyte/Makefile
##@ Makefile

##@ Define the default airbyte-ci version
AIRBYTE_CI_VERSION ?= latest

## Detect the operating system
OS := $(shell uname)

tools.airbyte-ci.install: tools.airbyte-ci.clean tools.airbyte-ci-binary.install tools.airbyte-ci.check

tools.airbyte-ci-binary.install: ## Install airbyte-ci binary
	@python airbyte-ci/connectors/pipelines/pipelines/external_scripts/airbyte_ci_install.py ${AIRBYTE_CI_VERSION}

tools.airbyte-ci-dev.install: ## Install the local development version of airbyte-ci
	@python airbyte-ci/connectors/pipelines/pipelines/external_scripts/airbyte_ci_dev_install.py

tools.airbyte-ci.check: ## Check if airbyte-ci is installed correctly
	@./airbyte-ci/connectors/pipelines/pipelines/external_scripts/airbyte_ci_check.sh

tools.airbyte-ci.clean: ## Clean airbyte-ci installations
	@./airbyte-ci/connectors/pipelines/pipelines/external_scripts/airbyte_ci_clean.sh

tools.git-hooks.clean: ## Clean git hooks
	@echo "Unset core.hooksPath"
	@git config --unset core.hooksPath || true
	@echo "Removing pre-commit hooks..."
	@pre-commit uninstall
	@echo "Removing pre-push hooks..."
	@rm -rf .git/hooks
	@echo "Git hooks removed."

tools.pre-commit.install.Linux:
	@echo "Installing pre-commit with pip..."
	@pip install --user pre-commit
	@echo "Pre-commit installation complete."

tools.pre-commit.install.Darwin:
	@echo "Installing pre-commit with brew..."
	@brew install pre-commit
	@echo "Pre-commit installation complete"

tools.pre-commit.setup: tools.airbyte-ci.install tools.pre-commit.install.$(OS) tools.git-hooks.clean ## Setup pre-commit hooks
	@echo "Installing pre-commit hooks..."
	@pre-commit install --hook-type pre-push
	@echo "Pre-push hooks installed."

tools.install: tools.airbyte-ci.install tools.pre-commit.setup

.PHONY: tools.install tools.pre-commit.setup tools.airbyte-ci.install tools.airbyte-ci-dev.install tools.airbyte-ci.check tools.airbyte-ci.clean