downgrade to python 3.8
This commit is contained in:
Родитель
1ebd9344a8
Коммит
8862e36245
|
@ -56,7 +56,7 @@ jobs:
|
||||||
working-directory: ./solution/Dbt
|
working-directory: ./solution/Dbt
|
||||||
run: |
|
run: |
|
||||||
chmod +x dbt_init.sh
|
chmod +x dbt_init.sh
|
||||||
python3 -m venv .dbtenv
|
python3.8 -m venv .dbtenv
|
||||||
source .dbtenv/bin/activate
|
source .dbtenv/bin/activate
|
||||||
|
|
||||||
pip install dbt-core --quiet
|
pip install dbt-core --quiet
|
||||||
|
|
|
@ -29,6 +29,27 @@ sudo apt-get install figlet lolcat boxes
|
||||||
sudo apt install python3-pip -y
|
sudo apt install python3-pip -y
|
||||||
sudo apt install python3.10-venv -y
|
sudo apt install python3.10-venv -y
|
||||||
|
|
||||||
|
#MSQL ODBC 18
|
||||||
|
if ! [[ "18.04 20.04 22.04" == *"$(lsb_release -rs)"* ]];
|
||||||
|
then
|
||||||
|
echo "Ubuntu $(lsb_release -rs) is not currently supported.";
|
||||||
|
exit;
|
||||||
|
fi
|
||||||
|
|
||||||
|
sudo su
|
||||||
|
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||||||
|
|
||||||
|
curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list > /etc/apt/sources.list.d/mssql-release.list
|
||||||
|
|
||||||
|
exit
|
||||||
|
sudo apt-get update
|
||||||
|
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
|
||||||
|
# optional: for bcp and sqlcmd
|
||||||
|
sudo ACCEPT_EULA=Y apt-get install -y mssql-tools18
|
||||||
|
echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bashrc
|
||||||
|
source ~/.bashrc
|
||||||
|
# optional: for unixODBC development headers
|
||||||
|
sudo apt-get install -y unixodbc-dev
|
||||||
|
|
||||||
#Github Runner Software
|
#Github Runner Software
|
||||||
mkdir actions-runner && cd actions-runner# Download the latest runner package && \
|
mkdir actions-runner && cd actions-runner# Download the latest runner package && \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче