Merge pull request 'fix: strip v prefix from version in make install path' (#3) from benvin/fix-make-install-version into main
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: pre-commit
|
||||||
|
image: git.unkin.net/unkin/almalinux9-gobuilder:20260606
|
||||||
|
commands:
|
||||||
|
- uvx pre-commit run --all-files
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
BINARY := terraform-provider-artifactapi
|
BINARY := terraform-provider-artifactapi
|
||||||
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "0.0.0-dev")
|
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "0.0.0-dev")
|
||||||
OS_ARCH := linux_amd64
|
OS_ARCH := linux_amd64
|
||||||
INSTALL_DIR := ~/.terraform.d/plugins/git.unkin.net/unkin/artifactapi/$(VERSION)/$(OS_ARCH)
|
INSTALL_VERSION := $(shell echo $(VERSION) | sed 's/^v//')
|
||||||
|
INSTALL_DIR := ~/.terraform.d/plugins/git.unkin.net/unkin/artifactapi/$(INSTALL_VERSION)/$(OS_ARCH)
|
||||||
|
|
||||||
GO_VERSION_REQUIRED := 1.23
|
GO_VERSION_REQUIRED := 1.23
|
||||||
GO_VERSION_ACTUAL := $(shell go version | sed 's/go version go\([0-9]*\.[0-9]*\).*/\1/')
|
GO_VERSION_ACTUAL := $(shell go version | sed 's/go version go\([0-9]*\.[0-9]*\).*/\1/')
|
||||||
|
|||||||
Reference in New Issue
Block a user