refactor: clean obsolete CI files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter 2023-07-18 18:14:12 +00:00
parent 3302eb18ee
commit dd0efaab00
3 changed files with 0 additions and 106 deletions

View file

@ -1,46 +0,0 @@
---
resource_types:
- name: helm
type: docker-image
source:
repository: ghcr.io/typositoire/concourse-helm3-resource
resources:
- name: blog.git
type: git
icon: github
source:
uri: https://code.icb4dc0.de/prskr/blog.git
- name: caddy-image
type: docker-image
source:
repository: code.icb4dc0.de/prskr/ci-images/caddy
- name: blog-chart
type: helm
source:
cluster_url: ((k8s-credentials.url))
cluster_ca: ((k8s-credentials.ca-crt))
token: ((k8s-credentials.token))
release: blog
namespace: blog
jobs:
- name: build
plan:
- get: blog.git
trigger: true
- get: caddy-image
trigger: true
- task: build-container-image
file: blog.git/.concourse/tasks/image.yml
input_mapping: {repo: blog.git}
- put: blog-chart
params:
chart: blog.git/deploy/helm
override_values:
- key: image.tag
path: blog.git/.git/refs/heads/main
type: string

View file

@ -1,28 +0,0 @@
---
platform: linux
image_resource:
name: kaniko-debug
type: registry-image
source:
repository: gcr.io/kaniko-project/executor
tag: debug
inputs:
- name: repo
path: .
params:
GITEA_USER: ((gitea-credentials.user))
GITEA_TOKEN: ((gitea-credentials.token))
run:
path: sh
args:
- -ce
- |
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $GITEA_USER $GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json
/kaniko/executor \
--destination code.icb4dc0.de/prskr/blog:latest \
--destination code.icb4dc0.de/prskr/blog:$(cat .git/ref) \
--context .

View file

@ -1,32 +0,0 @@
name: github pages
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public