Skip to content

Commit c72181f

Browse files
authored
Merge branch 'main' into cj/git-fetch
2 parents 697f9c4 + 457b73f commit c72181f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3129
-1617
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
with:
5858
go-version: "~1.22"
5959

60-
- name: Generate docs
61-
run: make docs
60+
- name: Generate env vars docs
61+
run: make docs/env-variables.md
6262

6363
- name: Check for unstaged files
6464
run: git diff --exit-code

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@ develop:
2929
build: scripts/envbuilder-$(GOARCH)
3030
./scripts/build.sh
3131

32+
.PHONY: gen
33+
gen: docs/env-variables.md update-golden-files
34+
3235
.PHONY: update-golden-files
3336
update-golden-files: .gen-golden
3437

3538
.gen-golden: $(GOLDEN_FILES) $(GO_SRC_FILES) $(GO_TEST_FILES)
3639
go test ./options -update
3740
@touch "$@"
3841

39-
docs: options/options.go options/options_test.go
42+
docs/env-variables.md: options/options.go options/options_test.go
4043
go run ./scripts/docsgen/main.go
4144

4245
.PHONY: test
@@ -85,4 +88,4 @@ test-images-pull:
8588
docker push localhost:5000/envbuilder-test-ubuntu:latest
8689

8790
.registry-cache/docker/registry/v2/repositories/envbuilder-test-codercom-code-server:
88-
docker push localhost:5000/envbuilder-test-codercom-code-server:latest
91+
docker push localhost:5000/envbuilder-test-codercom-code-server:latest

0 commit comments

Comments
 (0)