mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-10 12:24:54 -04:00
Update Syntax to match newest guidelines (#30)
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/30
This commit is contained in:
parent
69265ab6d5
commit
5444d19d75
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
editor-config:
|
editor-config:
|
||||||
image: mstruebing/editorconfig-checker
|
image: mstruebing/editorconfig-checker
|
||||||
group: lint
|
group: lint
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: alpine
|
image: alpine
|
||||||
# this step gets ran on "master" and "dev" branch.
|
# this step gets ran on "master" and "dev" branch.
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
#
|
#
|
||||||
# The cross compilation files for meson includes a `sys_root` property that you
|
# The cross compilation files for meson includes a `sys_root` property that you
|
||||||
# may need to pass on to the compiler.
|
# may need to pass on to the compiler.
|
||||||
pipeline:
|
|
||||||
|
steps:
|
||||||
build:
|
build:
|
||||||
image: codeberg.org/native-ci/android-ndk:latest
|
image: codeberg.org/native-ci/android-ndk:latest
|
||||||
# this step gets run on "master" and "dev" branches.
|
# this step gets run on "master" and "dev" branches.
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
# not in this example).
|
# not in this example).
|
||||||
#
|
#
|
||||||
# Includes GCC and clang
|
# Includes GCC and clang
|
||||||
pipeline:
|
|
||||||
|
steps:
|
||||||
build:
|
build:
|
||||||
image: codeberg.org/native-ci/cpp-meson:latest
|
image: codeberg.org/native-ci/cpp-meson:latest
|
||||||
# this step gets run on "master" and "dev" branches.
|
# this step gets run on "master" and "dev" branches.
|
||||||
|
@ -6,13 +6,14 @@
|
|||||||
# this config also shows usage of yaml aliases and
|
# this config also shows usage of yaml aliases and
|
||||||
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
||||||
|
|
||||||
branches: main
|
when:
|
||||||
|
branch: main
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &file Dockerfile.hello
|
- &file Dockerfile.hello
|
||||||
- &repo codeberg.org/${CI_REPO_OWNER}/hello
|
- &repo codeberg.org/${CI_REPO_OWNER}/hello
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
dryrun:
|
dryrun:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
# Pushing an image to a container registry authenticated:
|
# Pushing an image to a container registry authenticated:
|
||||||
# DOCKER_USERNAME - Woodpecker CI Secret which is the container registry username
|
# DOCKER_USERNAME - Woodpecker CI Secret which is the container registry username
|
||||||
# DOCKER_PASSWORD - Woodpecker CI Secret which is container registry password
|
# DOCKER_PASSWORD - Woodpecker CI Secret which is container registry password
|
||||||
pipeline:
|
|
||||||
|
steps:
|
||||||
publish-docker-image:
|
publish-docker-image:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
|
@ -11,6 +11,11 @@
|
|||||||
# The HUGO_OUTPUT variable must be set to the build output folder configured in Hugo
|
# The HUGO_OUTPUT variable must be set to the build output folder configured in Hugo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Exclude page pipeline to be run on "pages" branch
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
exclude: pages
|
||||||
|
|
||||||
# Recursive cloning is used to fully clone the themes given as Git submodules
|
# Recursive cloning is used to fully clone the themes given as Git submodules
|
||||||
clone:
|
clone:
|
||||||
git:
|
git:
|
||||||
@ -18,7 +23,7 @@ clone:
|
|||||||
settings:
|
settings:
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
# Build hugo static files
|
# Build hugo static files
|
||||||
build:
|
build:
|
||||||
image: klakegg/hugo
|
image: klakegg/hugo
|
||||||
@ -49,6 +54,3 @@ pipeline:
|
|||||||
- git push
|
- git push
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
branches:
|
|
||||||
exclude: [ pages ]
|
|
@ -18,7 +18,8 @@
|
|||||||
# We also assume a domains file in the source repo that gets copied to
|
# We also assume a domains file in the source repo that gets copied to
|
||||||
# .domains in the target repo so codeberg pages works for custom domains
|
# .domains in the target repo so codeberg pages works for custom domains
|
||||||
#
|
#
|
||||||
pipeline:
|
|
||||||
|
steps:
|
||||||
build:
|
build:
|
||||||
# Use the official jekyll build container
|
# Use the official jekyll build container
|
||||||
image: jekyll/jekyll
|
image: jekyll/jekyll
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# a woodpecker file. Look at the KiBot documentation liked to above to add
|
# a woodpecker file. Look at the KiBot documentation liked to above to add
|
||||||
# your own tweaks
|
# your own tweaks
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
# kibot creates the files
|
# kibot creates the files
|
||||||
kibot:
|
kibot:
|
||||||
image: ghcr.io/inti-cmnb/kicad7_auto_full:latest
|
image: ghcr.io/inti-cmnb/kicad7_auto_full:latest
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
# We also assume a domains file in the source repo that gets copied to
|
# We also assume a domains file in the source repo that gets copied to
|
||||||
# .domains in the target repo so codeberg pages works for custom domains
|
# .domains in the target repo so codeberg pages works for custom domains
|
||||||
#
|
#
|
||||||
pipeline:
|
|
||||||
|
steps:
|
||||||
build:
|
build:
|
||||||
# Use the official jekyll build container
|
# Use the official jekyll build container
|
||||||
image: node
|
image: node
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# check there for license information
|
# check there for license information
|
||||||
|
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
standardize:
|
standardize:
|
||||||
image: python:3.9-buster
|
image: python:3.9-buster
|
||||||
when:
|
when:
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
# build and deploy mkdocs to codeberg pages
|
# build and deploy mkdocs to codeberg pages
|
||||||
# This assumes your code lives in one repo, and you have a <owner>/pages
|
# This assumes your code lives in one repo, and you have a <owner>/pages
|
||||||
# repo which will be used to host the built pages.
|
# repo which will be used to host the built pages.
|
||||||
pipeline:
|
|
||||||
|
steps:
|
||||||
build-docs:
|
build-docs:
|
||||||
# build the docs in /docs with mkdocs and
|
# build the docs in /docs with mkdocs and
|
||||||
# add the .domains file for codeberg pages
|
# add the .domains file for codeberg pages
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
matrix:
|
matrix:
|
||||||
RUST: [stable, beta, nightly]
|
RUST: [stable, beta, nightly]
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
test:
|
test:
|
||||||
image: rust
|
image: rust
|
||||||
environment: [CARGO_TERM_COLOR=always]
|
environment: [CARGO_TERM_COLOR=always]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Checks all .sml files in a given directory.
|
# Checks all .sml files in a given directory.
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
check:
|
check:
|
||||||
image: eldesh/smlnj
|
image: eldesh/smlnj
|
||||||
environment:
|
environment:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
# Builds your Go application
|
# Builds your Go application
|
||||||
build:
|
build:
|
||||||
# Set your preferred Go version:
|
# Set your preferred Go version:
|
||||||
@ -61,4 +61,4 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
# Push new version when version tag is created
|
# Push new version when version tag is created
|
||||||
event: tag
|
event: tag
|
||||||
tag: v*
|
ref: refs/tags/v*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# - CBTOKEN: an Access Tokens generated from your Codeberg profile;
|
# - CBTOKEN: an Access Tokens generated from your Codeberg profile;
|
||||||
# - CBMAIL: an email address to author the commit containing the PDF file.
|
# - CBMAIL: an email address to author the commit containing the PDF file.
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: dxjoke/tectonic-docker
|
image: dxjoke/tectonic-docker
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user