Skip to content

Commit

Permalink
feat: add ubuntu 23.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rudenkornk committed Oct 21, 2023
1 parent c5405ef commit 5d62b10
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
! (grep -oP "changed=\d+" __build__/log | grep -oPq "changed=[1-9]")
strategy:
matrix:
ubuntu_tag: ["22.04", "23.04"]
ubuntu_tag: ["22.04", "23.04", "23.10"]

check_locahost:
runs-on: ubuntu-22.04
Expand Down
4 changes: 4 additions & 0 deletions inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ all:
ansible_connection: podman
ansible_python_interpreter: auto_silent
trusted: true
dotfiles_23.10:
ansible_connection: podman
ansible_python_interpreter: auto_silent
trusted: true
12 changes: 11 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ $(BUILD_DIR)/venv: $(BUILD_DIR)/python
python3 -m venv $(BUILD_DIR)/venv

PYTHON_INSTALLED != (command -v python3 &> /dev/null && command -v pip3 &> /dev/null) || echo "$(BUILD_DIR)/not_ready"
$(BUILD_DIR)/python: $(BUILD_DIR)/sudo $(PYTHON_INSTALLED)
$(BUILD_DIR)/python: $(BUILD_DIR)/sudo $(BUILD_DIR)/tzdata $(PYTHON_INSTALLED)
if [[ -n "$(PYTHON_INSTALLED)" ]]; then \
sudo apt-get update && \
DEBIAN_FRONTEND=noninteractive sudo apt-get install --yes --no-install-recommends \
Expand All @@ -138,6 +138,16 @@ $(BUILD_DIR)/python: $(BUILD_DIR)/sudo $(PYTHON_INSTALLED)
fi
mkdir --parents $(BUILD_DIR) && touch $@

TZDATA_INSTALLED != (command -v tzconfig &> /dev/null && command -v pip3 &> /dev/null) || echo "$(BUILD_DIR)/not_ready"
$(BUILD_DIR)/tzdata: $(BUILD_DIR)/sudo $(TZDATA_INSTALLED)
if [[ -n "$(TZDATA_INSTALLED)" ]]; then \
sudo apt-get update && \
DEBIAN_FRONTEND=noninteractive TZ=Europe/Moscow sudo apt-get install --yes --no-install-recommends \
tzdata \
; \
fi
mkdir --parents $(BUILD_DIR) && touch $@

SUDO_INSTALLED != command -v sudo &> /dev/null || echo "$(BUILD_DIR)/not_ready"
$(BUILD_DIR)/sudo: $(SUDO_INSTALLED)
if [[ -n "$(SUDO_INSTALLED)" ]]; then \
Expand Down

0 comments on commit 5d62b10

Please sign in to comment.