Compare commits

...

6 Commits

Author SHA1 Message Date
Dawid Wysokiński 3f512ba34a
fix: yarn - increase network timeout in Dockerfile
ci/woodpecker/tag/docker Pipeline was successful Details
2023-08-19 09:03:16 +02:00
Dawid Wysokiński d6d74aac6e
fix: remove unnecessary \ from Dockerfile
ci/woodpecker/tag/docker Pipeline failed Details
2023-08-19 08:53:18 +02:00
Dawid Wysokiński 5e634300de
feat: migrate from drone to woodpecker
ci/woodpecker/tag/docker Pipeline failed Details
2023-08-19 08:47:37 +02:00
Dawid Wysokiński a5eaaaf021
add @kichiyaki/gatsby-plugin-plausible
continuous-integration/drone/tag Build is passing Details
2023-05-18 06:55:09 +02:00
Dawid Wysokiński 0765a86d40
chore: sign .drone.yml 2022-11-01 08:41:16 +01:00
Dawid Wysokiński 4ef44e2a12
chore: update projects
continuous-integration/drone/tag Build is passing Details
2022-11-01 08:35:02 +01:00
8 changed files with 65 additions and 83 deletions

View File

@ -1,59 +0,0 @@
---
kind: pipeline
type: docker
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: publish
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: gitea.dwysokinski.me
repo: gitea.dwysokinski.me/kichiyaki/dwysokinski.me
auto_tag: true
auto_tag_suffix: linux-amd64
dockerfile: Dockerfile
trigger:
event:
- tag
---
kind: pipeline
type: docker
name: manifest
steps:
- name: manifest
image: plugins/manifest
settings:
auto_tag: "true"
ignore_missing: "true"
spec: manifest.tmpl
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: manifest-latest
image: plugins/manifest
settings:
tags: latest
ignore_missing: "true"
spec: manifest.tmpl
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- tag
depends_on:
- linux-amd64

20
.woodpecker/docker.yml Normal file
View File

@ -0,0 +1,20 @@
when:
event: [tag]
ref: refs/tags/v*
steps:
publish:
image: woodpeckerci/plugin-docker-buildx
group: docker
settings:
platforms: linux/amd64,linux/arm64/v8
repo: gitea.dwysokinski.me/kichiyaki-packages/dwysokinski.me
registry: gitea.dwysokinski.me
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- PLAUSIBLE_CUSTOM_DOMAIN=plausible.dwysokinski.me
- PLAUSIBLE_SCRIPT_URI=/js/script.js

View File

@ -1,7 +1,11 @@
FROM node:14.19.2-alpine as builder
FROM node:18.17-alpine as builder
ENV NODE_ENV=production
ENV GATSBY_TELEMETRY_DISABLED=1
ARG PLAUSIBLE_CUSTOM_DOMAIN=""
ARG PLAUSIBLE_SCRIPT_URI=""
ENV PLAUSIBLE_CUSTOM_DOMAIN=$PLAUSIBLE_CUSTOM_DOMAIN \
PLAUSIBLE_SCRIPT_URI=$PLAUSIBLE_SCRIPT_URI \
GATSBY_TELEMETRY_DISABLED=1
RUN apk --no-cache add shadow \
gcc \
@ -17,13 +21,17 @@ RUN apk --no-cache add shadow \
zlib-dev \
file \
pkgconf
WORKDIR /usr/src/app
COPY package.json yarn.lock ./
RUN yarn
RUN yarn --network-timeout 300000
COPY . ./
ENV NODE_ENV=production
RUN yarn build
FROM nginx:1.21-alpine
FROM nginx:1.25-alpine
COPY --from=builder /usr/src/app/public /var/www
COPY default.conf /etc/nginx/templates/default.conf.template
EXPOSE 80

View File

@ -1,4 +1,4 @@
![Screenshot](/src/images/projects/dw.png?raw=true)
![Screenshot](src/images/projects/dw.png?raw=true)
## License

View File

@ -65,5 +65,13 @@ module.exports = {
},
},
},
{
resolve: `@kichiyaki/gatsby-plugin-plausible`,
options: {
domain: DOMAIN,
customDomain: process.env.PLAUSIBLE_CUSTOM_DOMAIN,
scriptUri: process.env.PLAUSIBLE_SCRIPT_URI
},
},
],
};

View File

@ -5,6 +5,7 @@
"version": "0.1.0",
"author": "Dawid Wysokiński <contact@dwysokinski.me>",
"dependencies": {
"@kichiyaki/gatsby-plugin-plausible": "^0.0.9",
"@kichiyaki/roboto": "^1.0.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",

View File

@ -3,25 +3,22 @@ const projects = [
title: 'TWHelp',
description: 'Various tools for the browser-based game Tribal Wars.',
technologies: [
'GraphQL',
'Golang',
'gqlgen',
'Gin',
'bwmarrin/discordgo',
'robfig/cron',
'Redis',
'PostgreSQL',
'TypeScript',
'Go',
'go-chi',
'DiscordGo',
'React',
'Gatsby',
'Material-UI',
'Create React App',
'Apollo',
'Parcel',
'Next.js',
'PostgreSQL',
'RabbitMQ',
'Docker',
'Kubernetes',
'Terraform',
'Ansible',
'OpenTelemetry',
'Traefik',
],
git: 'https://gitea.dwysokinski.me/twhelp',
live: 'https://tribalwarshelp.com/api/v1/swagger/index.html',
fluid: 'projects/twhelp.png',
},
{
@ -29,19 +26,19 @@ const projects = [
description:
'Mobile & web app for practising the theoretical part of the vocational exam.',
technologies: [
'Go',
'GraphQL',
'Golang',
'gqlgen',
'go-chi',
'PostgreSQL',
'TypeScript',
'React',
'React Native',
'Next.JS',
'Next.js',
'Create React App',
'Material-UI',
'Apollo',
'Traefik',
'Docker',
'Ansible',
],
fluid: 'projects/zdam.png',
live: 'https://zdamegzaminzawodowy.pl/',

View File

@ -1646,6 +1646,13 @@
"@babel/runtime" "^7.7.2"
regenerator-runtime "^0.13.3"
"@kichiyaki/gatsby-plugin-plausible@^0.0.9":
version "0.0.9"
resolved "https://registry.yarnpkg.com/@kichiyaki/gatsby-plugin-plausible/-/gatsby-plugin-plausible-0.0.9.tgz#b4c0fed04e6de60fd9a78d4349aac524baad8e38"
integrity sha512-EXua0P867k9+tb82gor+6TMq7tP4UKEcqb4HSTvN+QVPZdJhICO45KawOg84GzfpSOX6cXyD8QTnGOJfMb/ATg==
dependencies:
minimatch "3.0.4"
"@kichiyaki/roboto@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@kichiyaki/roboto/-/roboto-1.0.0.tgz#6f5dfb40e2423940588946c952490b123ca8088b"