Compare commits
3 Commits
9b5bb1c65a
...
c35627b7fa
Author | SHA1 | Date | |
---|---|---|---|
c35627b7fa | |||
c17986182b | |||
cf60c5bcdd |
30
.drone.yml
30
.drone.yml
@ -2,27 +2,8 @@ type: docker
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: "shuttle-drone-templates"
|
name: "shuttle-drone-templates"
|
||||||
steps:
|
steps:
|
||||||
- name: "wait for dind"
|
|
||||||
image: docker:dind
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
environment:
|
|
||||||
DOCKER_BUILDKIT: 1
|
|
||||||
DOCKER_PASSWORD:
|
|
||||||
from_secret: docker_password
|
|
||||||
DOCKER_USERNAME:
|
|
||||||
from_secret: docker_username
|
|
||||||
commands:
|
|
||||||
- ls /var/run
|
|
||||||
- set -eu
|
|
||||||
- sleep 10
|
|
||||||
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username="$${DOCKER_USERNAME}"
|
|
||||||
- name: "build"
|
- name: "build"
|
||||||
image: docker.io/kasperhermansen/shuttle-drone:1690570181415
|
image: docker.io/kasperhermansen/shuttle-drone:1690570181415
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
@ -37,6 +18,7 @@ steps:
|
|||||||
from_secret: GIT_USERNAME
|
from_secret: GIT_USERNAME
|
||||||
GIT_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: GIT_PASSWORD
|
from_secret: GIT_PASSWORD
|
||||||
|
DOCKER_HOST: "tcp://192.168.1.155:2376"
|
||||||
commands:
|
commands:
|
||||||
- set -eu
|
- set -eu
|
||||||
- apt update && apt install -y libssl-dev pkg-config openssl # musl-tools
|
- apt update && apt install -y libssl-dev pkg-config openssl # musl-tools
|
||||||
@ -56,13 +38,3 @@ steps:
|
|||||||
- sha1sum ci/target/debug/ci
|
- sha1sum ci/target/debug/ci
|
||||||
- ldd ci/target/debug/ci
|
- ldd ci/target/debug/ci
|
||||||
- "./ci/target/debug/ci"
|
- "./ci/target/debug/ci"
|
||||||
services:
|
|
||||||
- name: docker
|
|
||||||
image: docker:dind
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
temp: {}
|
|
||||||
|
687
ci/Cargo.lock
generated
687
ci/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "0.4.26"
|
chrono = "0.4.26"
|
||||||
color-eyre = "0.6.2"
|
color-eyre = "0.6.2"
|
||||||
dagger-sdk = "0.2.22"
|
dagger-sdk = "0.18.0"
|
||||||
eyre = "0.6.8"
|
eyre = "0.6.8"
|
||||||
tokio = { version = "1.31.0", features = ["full"] }
|
tokio = { version = "1.31.0", features = ["full"] }
|
||||||
tokio-scoped = "0.2.0"
|
tokio-scoped = "0.2.0"
|
||||||
|
@ -35,7 +35,7 @@ async fn main() -> eyre::Result<()> {
|
|||||||
|
|
||||||
let github_zola_download = format!("https://github.com/barnumbirr/zola-debian/releases/download/v{zola_version}/zola_{zola_version}_{debian_platform}_{debian_edition}.deb");
|
let github_zola_download = format!("https://github.com/barnumbirr/zola-debian/releases/download/v{zola_version}/zola_{zola_version}_{debian_platform}_{debian_edition}.deb");
|
||||||
let pull_articles_docker_image = "docker.io/kasperhermansen/pull-articles:1690413158";
|
let pull_articles_docker_image = "docker.io/kasperhermansen/pull-articles:1690413158";
|
||||||
let update_deployments_docker_image = "docker.io/kasperhermansen/update-deployment:1690401410";
|
let update_deployments_docker_image = "docker.io/kasperhermansen/update-deployment:1701123940";
|
||||||
|
|
||||||
let pull_articles = client
|
let pull_articles = client
|
||||||
.container()
|
.container()
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/js/all.min.js"
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/js/all.min.js"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
22
yarn.lock
22
yarn.lock
@ -23,18 +23,10 @@
|
|||||||
chalk "^2.0.0"
|
chalk "^2.0.0"
|
||||||
js-tokens "^4.0.0"
|
js-tokens "^4.0.0"
|
||||||
|
|
||||||
"@catppuccin/palette@0.1.5":
|
|
||||||
version "0.1.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/@catppuccin/palette/-/palette-0.1.5.tgz#79350555c86707913942bf4feaac9fe9bc0c1d7c"
|
|
||||||
integrity sha512-IQLsZwXDMpLc5CFGjIMa/gFnnFL/QLB280F11B51JweZHerZ/FgPXdIR4eQqn1CgrqI3wGfgnj1LVPx12DV/Uw==
|
|
||||||
|
|
||||||
"@catppuccin/tailwindcss@^0.1.1":
|
"@catppuccin/tailwindcss@^0.1.1":
|
||||||
version "0.1.1"
|
version "0.1.6"
|
||||||
resolved "https://registry.yarnpkg.com/@catppuccin/tailwindcss/-/tailwindcss-0.1.1.tgz#16cfeec67591fe2b0428d6aaca718c72cdb67e53"
|
resolved "https://registry.yarnpkg.com/@catppuccin/tailwindcss/-/tailwindcss-0.1.6.tgz#d97c491e1523ead83009e32d0a34c364c2a0ca5b"
|
||||||
integrity sha512-WWOzx8uOf3QPZ1HdVSkpgaqzMzrfYpOgAketQAQ7493eFhlYC4bJ1ViT5ukhwfhzuu3xnmke+Op2qjhHnyjt8g==
|
integrity sha512-V+Y0AwZ5SSyvOVAcDl7Ng30xy+m82OKnEJ+9+kcZZ7lRyXuZrAb2GScdq9XR3v+ggt8qiZ/G4TvaC9cJ88AAXA==
|
||||||
dependencies:
|
|
||||||
"@catppuccin/palette" "0.1.5"
|
|
||||||
tailwindcss "^3.0.24"
|
|
||||||
|
|
||||||
"@nodelib/fs.scandir@2.1.5":
|
"@nodelib/fs.scandir@2.1.5":
|
||||||
version "2.1.5"
|
version "2.1.5"
|
||||||
@ -67,9 +59,9 @@
|
|||||||
tailwindcss "^2.0.1"
|
tailwindcss "^2.0.1"
|
||||||
|
|
||||||
"@tailwindcss/typography@^0.5.9":
|
"@tailwindcss/typography@^0.5.9":
|
||||||
version "0.5.9"
|
version "0.5.16"
|
||||||
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.9.tgz#027e4b0674929daaf7c921c900beee80dbad93e8"
|
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.16.tgz#a926c8f44d5c439b2915e231cad80058850047c6"
|
||||||
integrity sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==
|
integrity sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==
|
||||||
dependencies:
|
dependencies:
|
||||||
lodash.castarray "^4.4.0"
|
lodash.castarray "^4.4.0"
|
||||||
lodash.isplainobject "^4.0.6"
|
lodash.isplainobject "^4.0.6"
|
||||||
@ -1017,7 +1009,7 @@ tailwindcss@^2.0.1:
|
|||||||
resolve "^1.20.0"
|
resolve "^1.20.0"
|
||||||
tmp "^0.2.1"
|
tmp "^0.2.1"
|
||||||
|
|
||||||
tailwindcss@^3.0.24, tailwindcss@^3.3.1:
|
tailwindcss@^3.3.1:
|
||||||
version "3.3.1"
|
version "3.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.1.tgz#b6662fab6a9b704779e48d083a9fef5a81d2b81e"
|
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.1.tgz#b6662fab6a9b704779e48d083a9fef5a81d2b81e"
|
||||||
integrity sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==
|
integrity sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user