mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-09 11:54:55 -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:
|
||||
image: mstruebing/editorconfig-checker
|
||||
group: lint
|
||||
|
@ -1,4 +1,4 @@
|
||||
pipeline:
|
||||
steps:
|
||||
build:
|
||||
image: alpine
|
||||
# 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
|
||||
# may need to pass on to the compiler.
|
||||
pipeline:
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: codeberg.org/native-ci/android-ndk:latest
|
||||
# this step gets run on "master" and "dev" branches.
|
||||
|
@ -8,7 +8,8 @@
|
||||
# not in this example).
|
||||
#
|
||||
# Includes GCC and clang
|
||||
pipeline:
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: codeberg.org/native-ci/cpp-meson:latest
|
||||
# this step gets run on "master" and "dev" branches.
|
||||
|
@ -6,13 +6,14 @@
|
||||
# this config also shows usage of yaml aliases and
|
||||
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
||||
|
||||
branches: main
|
||||
when:
|
||||
branch: main
|
||||
|
||||
variables:
|
||||
- &file Dockerfile.hello
|
||||
- &repo codeberg.org/${CI_REPO_OWNER}/hello
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
dryrun:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
|
@ -3,7 +3,8 @@
|
||||
# Pushing an image to a container registry authenticated:
|
||||
# DOCKER_USERNAME - Woodpecker CI Secret which is the container registry username
|
||||
# DOCKER_PASSWORD - Woodpecker CI Secret which is container registry password
|
||||
pipeline:
|
||||
|
||||
steps:
|
||||
publish-docker-image:
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
|
@ -11,6 +11,11 @@
|
||||
# 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
|
||||
clone:
|
||||
git:
|
||||
@ -18,7 +23,7 @@ clone:
|
||||
settings:
|
||||
recursive: true
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
# Build hugo static files
|
||||
build:
|
||||
image: klakegg/hugo
|
||||
@ -49,6 +54,3 @@ pipeline:
|
||||
- git push
|
||||
when:
|
||||
event: push
|
||||
|
||||
branches:
|
||||
exclude: [ pages ]
|
@ -18,7 +18,8 @@
|
||||
# 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
|
||||
#
|
||||
pipeline:
|
||||
|
||||
steps:
|
||||
build:
|
||||
# Use the official jekyll build container
|
||||
image: jekyll/jekyll
|
||||
|
@ -25,7 +25,7 @@
|
||||
# a woodpecker file. Look at the KiBot documentation liked to above to add
|
||||
# your own tweaks
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
# kibot creates the files
|
||||
kibot:
|
||||
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
|
||||
# .domains in the target repo so codeberg pages works for custom domains
|
||||
#
|
||||
pipeline:
|
||||
|
||||
steps:
|
||||
build:
|
||||
# Use the official jekyll build container
|
||||
image: node
|
||||
|
@ -4,7 +4,7 @@
|
||||
# check there for license information
|
||||
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
standardize:
|
||||
image: python:3.9-buster
|
||||
when:
|
||||
|
@ -1,7 +1,8 @@
|
||||
# build and deploy mkdocs to codeberg 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.
|
||||
pipeline:
|
||||
|
||||
steps:
|
||||
build-docs:
|
||||
# build the docs in /docs with mkdocs and
|
||||
# add the .domains file for codeberg pages
|
||||
|
@ -1,7 +1,7 @@
|
||||
matrix:
|
||||
RUST: [stable, beta, nightly]
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
test:
|
||||
image: rust
|
||||
environment: [CARGO_TERM_COLOR=always]
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# Checks all .sml files in a given directory.
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
check:
|
||||
image: eldesh/smlnj
|
||||
environment:
|
||||
|
@ -1,4 +1,4 @@
|
||||
pipeline:
|
||||
steps:
|
||||
# Builds your Go application
|
||||
build:
|
||||
# Set your preferred Go version:
|
||||
@ -61,4 +61,4 @@ pipeline:
|
||||
when:
|
||||
# Push new version when version tag is created
|
||||
event: tag
|
||||
tag: v*
|
||||
ref: refs/tags/v*
|
||||
|
@ -1,4 +1,4 @@
|
||||
pipeline:
|
||||
steps:
|
||||
build:
|
||||
image: golang:1.17
|
||||
commands:
|
||||
|
@ -19,7 +19,7 @@
|
||||
# - CBTOKEN: an Access Tokens generated from your Codeberg profile;
|
||||
# - CBMAIL: an email address to author the commit containing the PDF file.
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
build:
|
||||
image: dxjoke/tectonic-docker
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user