fix command formatting

This commit is contained in:
crystal 2023-07-02 11:21:05 -06:00
parent 76ebdef59c
commit d8be48f782
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

View file

@ -47,9 +47,9 @@ pipeline:
image: *ci_verify_image image: *ci_verify_image
pull: true pull: true
commands: commands:
- git config --add safe.directory '*' - git config --add safe.directory '*'
- git fetch --tags --force - git fetch --tags --force
- git submodule foreach 'git fetch --tags --force' - git submodule foreach 'git fetch --tags --force'
ci-verify: ci-verify:
image: *ci_verify_image image: *ci_verify_image
@ -57,7 +57,7 @@ pipeline:
environment: environment:
BUILD_SUBMODULE: *build_submodule BUILD_SUBMODULE: *build_submodule
commands: commands:
- ./.ci-make.sh ci-verify "$BUILD_SUBMODULE" - ./.ci-make.sh ci-verify "$BUILD_SUBMODULE"
deps-frontend: deps-frontend:
image: *nodejs_image image: *nodejs_image
@ -65,7 +65,7 @@ pipeline:
environment: environment:
BUILD_SUBMODULE: *build_submodule BUILD_SUBMODULE: *build_submodule
commands: commands:
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" deps-frontend - ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" deps-frontend
deps-backend: deps-backend:
image: *golang_image image: *golang_image
@ -76,16 +76,16 @@ pipeline:
secrets: secrets:
- goproxy_default - goproxy_default
commands: commands:
- *goproxy_setup - *goproxy_setup
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" deps-backend - ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" deps-backend
tag-pre-condition: tag-pre-condition:
image: *ci_verify_image image: *ci_verify_image
environment: environment:
BUILD_SUBMODULE: *build_submodule BUILD_SUBMODULE: *build_submodule
commands: commands:
- cd "$BUILD_SUBMODULE" - cd "$BUILD_SUBMODULE"
- git update-ref refs/heads/tag_test $(git rev-parse --verify HEAD) - git update-ref refs/heads/tag_test $(git rev-parse --verify HEAD)
security-check: security-check:
image: *golang_image image: *golang_image
@ -96,8 +96,8 @@ pipeline:
secrets: secrets:
- goproxy_default - goproxy_default
commands: commands:
- *goproxy_setup - *goproxy_setup
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" security-check - ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" security-check
build-frontend: build-frontend:
image: *nodejs_image image: *nodejs_image
@ -105,7 +105,7 @@ pipeline:
environment: environment:
BUILD_SUBMODULE: *build_submodule BUILD_SUBMODULE: *build_submodule
commands: commands:
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" frontend - ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" frontend
checks-backend: checks-backend:
image: *forgejo_test_image image: *forgejo_test_image
@ -116,14 +116,14 @@ pipeline:
secrets: secrets:
- goproxy_default - goproxy_default
commands: commands:
- *goproxy_setup - *goproxy_setup
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" checks-backend - ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" checks-backend
download-bin-amd64: download-bin-amd64:
image: *bin_dl_image image: *bin_dl_image
group: build-main group: build-main
commands: commands:
- ./.ci-make.sh download-binary forgejo-bin-dl - ./.ci-make.sh download-binary forgejo-bin-dl
when: when:
event: [ tag ] event: [ tag ]
@ -138,8 +138,8 @@ pipeline:
secrets: secrets:
- goproxy_default - goproxy_default
commands: commands:
- *goproxy_setup - *goproxy_setup
- ./.ci-make.sh submodule-build "$BUILD_SUBMODULE" forgejo-bin - ./.ci-make.sh submodule-build "$BUILD_SUBMODULE" forgejo-bin
build-forgejo-sqlite-amd64: build-forgejo-sqlite-amd64:
image: *golang_image image: *golang_image
@ -151,88 +151,88 @@ pipeline:
secrets: secrets:
- goproxy_default - goproxy_default
commands: commands:
- *goproxy_setup - *goproxy_setup
- ./.ci-make.sh submodule-build "$BUILD_SUBMODULE" forgejo-sqlite-bin - ./.ci-make.sh submodule-build "$BUILD_SUBMODULE" forgejo-sqlite-bin
package-bullseye: package-bullseye:
image: *deb_build_image image: *deb_build_image
commands: commands:
- ./.ci-make.sh package-prep - ./.ci-make.sh package-prep
- ./.ci-make.sh package-build - ./.ci-make.sh package-build
- ./.ci-make.sh package-clean - ./.ci-make.sh package-clean
gen-sha256: gen-sha256:
image: *ci_verify_image image: *ci_verify_image
commands: commands:
- ./.ci-make.sh pkg-gen-sha256 - ./.ci-make.sh pkg-gen-sha256
- ./.ci-make.sh preview-sha256 - ./.ci-make.sh preview-sha256
test-inst-bullseye: test-inst-bullseye:
image: *deb_test_image_bullseye image: *deb_test_image_bullseye
group: pkg-test-1 group: pkg-test-1
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
test-inst-bullseye-user: test-inst-bullseye-user:
image: *deb_test_image_bullseye image: *deb_test_image_bullseye
group: pkg-test-1 group: pkg-test-1
commands: commands:
- ./.ci-make.sh test-userinst-prep - ./.ci-make.sh test-userinst-prep
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
test-inst-bullseye-sqlite: test-inst-bullseye-sqlite:
image: *deb_test_image_bullseye image: *deb_test_image_bullseye
group: pkg-test-1 group: pkg-test-1
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-bookworm-sqlite: test-inst-bookworm-sqlite:
image: *deb_test_image_bookworm image: *deb_test_image_bookworm
group: pkg-test-1 group: pkg-test-1
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-buster-sqlite: test-inst-buster-sqlite:
image: *deb_test_image_buster image: *deb_test_image_buster
group: pkg-test-2 group: pkg-test-2
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-sid-sqlite: test-inst-sid-sqlite:
image: *deb_test_image_sid image: *deb_test_image_sid
group: pkg-test-2 group: pkg-test-2
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-jammy-sqlite: test-inst-jammy-sqlite:
image: *deb_test_image_jammy image: *deb_test_image_jammy
group: pkg-test-2 group: pkg-test-2
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-focal-sqlite: test-inst-focal-sqlite:
image: *deb_test_image_focal image: *deb_test_image_focal
group: pkg-test-2 group: pkg-test-2
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-kinetic-sqlite: test-inst-kinetic-sqlite:
image: *deb_test_image_kinetic image: *deb_test_image_kinetic
group: pkg-test-3 group: pkg-test-3
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-lunar-sqlite: test-inst-lunar-sqlite:
image: *deb_test_image_lunar image: *deb_test_image_lunar
group: pkg-test-3 group: pkg-test-3
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
test-inst-bullseye-bin: test-inst-bullseye-bin:
image: *deb_test_image_bullseye image: *deb_test_image_bullseye
group: pkg-test-3 group: pkg-test-3
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -240,7 +240,7 @@ pipeline:
image: *deb_test_image_bookworm image: *deb_test_image_bookworm
group: pkg-test-3 group: pkg-test-3
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -248,7 +248,7 @@ pipeline:
image: *deb_test_image_buster image: *deb_test_image_buster
group: pkg-test-4 group: pkg-test-4
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -256,7 +256,7 @@ pipeline:
image: *deb_test_image_sid image: *deb_test_image_sid
group: pkg-test-4 group: pkg-test-4
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -264,7 +264,7 @@ pipeline:
image: *deb_test_image_jammy image: *deb_test_image_jammy
group: pkg-test-4 group: pkg-test-4
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -272,7 +272,7 @@ pipeline:
image: *deb_test_image_focal image: *deb_test_image_focal
group: pkg-test-4 group: pkg-test-4
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -280,7 +280,7 @@ pipeline:
image: *deb_test_image_kinetic image: *deb_test_image_kinetic
group: pkg-test-5 group: pkg-test-5
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -288,7 +288,7 @@ pipeline:
image: *deb_test_image_lunar image: *deb_test_image_lunar
group: pkg-test-5 group: pkg-test-5
commands: commands:
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb - ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
when: when:
event: [ tag ] event: [ tag ]
@ -332,7 +332,7 @@ pipeline:
DEBIAN_COMPONENT: forgejo DEBIAN_COMPONENT: forgejo
secrets: [ cfo_api_key ] secrets: [ cfo_api_key ]
commands: commands:
- export FORGEJO_KEY=$CFO_API_KEY - export FORGEJO_KEY=$CFO_API_KEY
- ./.ci-forgejo-apt.sh *.deb - ./.ci-forgejo-apt.sh *.deb
when: when:
event: [ tag ] event: [ tag ]