Skip to content

Commit c0559e8

Browse files
committed
fix: CI tweaks
1 parent 46b8934 commit c0559e8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: .gitlab-ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ test_and_lint:
1515
- if: '$CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /^(.+\/)?v[0-9]+\.[0-9]+\.[0-9]+$/'
1616

1717
build_and_push:
18+
needs: []
1819
script:
1920
- |-
2021
if [ "${BUILD_IN_SUBPATH:-true}" == "true" ]; then

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ lint: ## Verifies `golangci-lint` passes
6565
lint-ci: ## Verifies `golangci-lint` passes and outputs in CI-friendly format
6666
@echo "==> $@"
6767
@golangci-lint version
68-
@golangci-lint run ./... --timeout=10m --out-format code-climate > golangci-lint.json
68+
@golangci-lint run ./... --timeout=10m --out-format code-climate
6969

7070
.PHONY: build
7171
build: ## Builds the executable and places it in the build dir

Diff for: internal/instances/instances.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const (
20-
InstanceNotFoundInterval = 2 * time.Minute
20+
InstanceNotFoundInterval = 1 * time.Minute
2121
ProviderPrefix = "crusoe://"
2222
)
2323

0 commit comments

Comments
 (0)