Skip to content

Commit fe51f5b

Browse files
committed
install uv
1 parent 9d2f0f3 commit fe51f5b

5 files changed

Lines changed: 30 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10

.github/workflows/build.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,11 @@ jobs:
2323
run: |
2424
set -eux
2525
26-
# Install uv
27-
wget -qO- https://astral.sh/uv/install.sh | sh
28-
source $HOME/.local/bin/env
29-
uv tool install tox --with tox-uv
30-
31-
# Install DevTools
32-
rm -fr .venv && uv venv
33-
source .venv/bin/activate
34-
uv pip install genesis-devtools
26+
source ~/.profile
3527
genesis build $(pwd)
3628
3729
# Temporary upload step is done in the build script
38-
VERSION="$(genesis get-version .)"
30+
VERSION="$(genesis --silent get-version .)"
3931
4032
# Prepare `raw` and `raw.gz` images
4133
cd output

CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CODEOWNERS file for genesis_core repository
2+
# Each line is a pattern followed by one or more owners
3+
4+
# Default owners for the entire repository
5+
* @gmelikov @phantomii @akremenetsky @slashburygin

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
SHELL := bash
2+
ifeq ($(SSH_KEY),)
3+
SSH_KEY = ~/.ssh/id_rsa.pub
4+
endif
5+
6+
all: help
7+
8+
help:
9+
@echo "build - build element"
10+
11+
build:
12+
genesis build -i $(SSH_KEY) -f .

genesis/images/genesis_base/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ sudo apt update
3838
sudo apt install -y build-essential python3.12-dev python3.12-venv \
3939
cloud-guest-utils irqbalance qemu-guest-agent libev-dev rsync parted j2cli
4040

41+
export UV_INSTALLER_GHE_BASE_URL=https://github.com
42+
curl -LsSf https://github.com/astral-sh/uv/releases/download/0.11.7/uv-installer.sh | sh
43+
source "$HOME"/.local/bin/env
44+
4145
# Install the Core Agent
4246
# Prepare a fresh virtrual environment
4347
rm -fr "$AGENT_PATH/.venv"

0 commit comments

Comments
 (0)