Compare commits

...

6 Commits

Author SHA1 Message Date
32c2aba81c Update semaphore to 2.9.112
Update opentofu to 1.7
2024-06-03 15:45:13 -04:00
5d43e3c081 Update semaphore to 2.9.64 2024-04-06 10:08:38 -04:00
c6e0ba5bed Update semaphore version to 2.9.58 2024-03-26 18:57:14 -04:00
474c027318 Add six dependency 2024-03-14 17:55:32 -04:00
fadb6b7251 Disable installing recommended packages in final image stage 2024-03-11 14:08:28 -04:00
df1b70a549 Add login command to push target 2024-03-11 14:08:14 -04:00
4 changed files with 17 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ RUN ln -s /usr/local/bin/spectre /usr/local/bin/mpw
RUN ln -s /usr/bin/tofu /usr/local/bin/terraform RUN ln -s /usr/bin/tofu /usr/local/bin/terraform
RUN apt-get update --yes RUN apt-get update --yes
RUN apt-get install --yes \ RUN apt-get install --yes --no-install-recommends \
openssh-client \ openssh-client \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \

View File

@@ -1,6 +1,6 @@
REPOSITORY = vcs.enp.one/skylab/semaphore-container REPOSITORY = vcs.enp.one/skylab/semaphore-container
OPENTOFU_VERSION = 1.6.2 OPENTOFU_VERSION = 1.7.2
SEMAPHORE_VERSION = 2.9.45 SEMAPHORE_VERSION = 2.9.112
SPECTRE_VERSION = main SPECTRE_VERSION = main
PYTHON_VERSION = 3.11 PYTHON_VERSION = 3.11
@@ -16,6 +16,7 @@ image: ## Build image
podman build . --tag $(REPOSITORY):v$(SEMAPHORE_VERSION) --build-arg "OPENTOFU_VERSION=$(OPENTOFU_VERSION)" --build-arg "SEMAPHORE_VERSION=$(SEMAPHORE_VERSION)" --build-arg "PYTHON_VERSION=$(PYTHON_VERSION)" --build-arg "SPECTRE_VERSION=$(SPECTRE_VERSION)" podman build . --tag $(REPOSITORY):v$(SEMAPHORE_VERSION) --build-arg "OPENTOFU_VERSION=$(OPENTOFU_VERSION)" --build-arg "SEMAPHORE_VERSION=$(SEMAPHORE_VERSION)" --build-arg "PYTHON_VERSION=$(PYTHON_VERSION)" --build-arg "SPECTRE_VERSION=$(SPECTRE_VERSION)"
push: image ## Build and publish image push: image ## Build and publish image
podman login $(shell echo $(REPOSITORY) | cut -d '/' -f 1)
podman push $(REPOSITORY):v$(SEMAPHORE_VERSION) podman push $(REPOSITORY):v$(SEMAPHORE_VERSION)
dev: ## Setup local dev environment dev: ## Setup local dev environment

13
poetry.lock generated
View File

@@ -1565,6 +1565,17 @@ files = [
{file = "shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de"}, {file = "shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de"},
] ]
[[package]]
name = "six"
version = "1.16.0"
description = "Python 2 and 3 compatibility utilities"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
files = [
{file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
]
[[package]] [[package]]
name = "tomlkit" name = "tomlkit"
version = "0.12.4" version = "0.12.4"
@@ -1715,4 +1726,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.11" python-versions = "^3.11"
content-hash = "dae11f8fc0d46b61d52ff2873a3cf0cc1f3ededfe89492dbb50df2ab72358e2e" content-hash = "0a271952e4a2d506a09f33a4009f52a668a5fcf57b9c12ff6aaddd258d1c1788"

View File

@@ -13,6 +13,7 @@ docker = "^7.0.0"
paramiko = "^3.4.0" paramiko = "^3.4.0"
poetry = "^1.8.1" poetry = "^1.8.1"
poetry-plugin-export = "^1.6.0" poetry-plugin-export = "^1.6.0"
six = "^1.16.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]