Skip to content

Commit

Permalink
chore(release): v0.1.0 (#17)
Browse files Browse the repository at this point in the history
### Added
- use actual drone && cuddle setup
- remove unused stuff
- update
- with clone and list
- with proper stdout and whatnot
- with repo clone
- add coffee repo view -w
- add readme
- fix api
- new folder
- with install
- unknown linux
- with volume again
- list
- without volume
- with depends on ci
- with volume
- with shared mount
- add drone
- with support for closed prs
- add install script
- with open browser
- with test branch
- with swagger client
- with beginning of command structure
- with coffee base
- add base rust cli

### Other
- *(deps)* update rust crate anyhow to 1.0.74
- *(deps)* update rust crate clap to 4.3.21
- *(deps)* update rust crate axum to 0.6.20
- *(deps)* update all dependencies
- Merge pull request 'chore(deps): update all dependencies' (#9) from renovate/all into main

- Merge pull request 'chore(deps): update rust crate clap to 4.3.8' (#8) from renovate/all into main

- Merge pull request 'chore(deps): update rust crate clap to 4.3.6' (#7) from renovate/all into main

- Merge pull request 'chore(deps): update rust crate clap to 4.3.5' (#6) from renovate/all into main

- Merge pull request 'fix(deps): update all dependencies' (#4) from renovate/all into main

- Merge pull request 'Configure Renovate' (#2) from renovate/configure into main

Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/2

- Merge branch 'main' into renovate/configure

- debug some more
- fix cargo path
- Add renovate.json

- Merge pull request 'feat/with-test-branch' (#3) from feat/with-test-branch into main

Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/3

- Merge branch 'main' into feat/with-test-branch

- Merge pull request 'feat: with test branch' (#1) from feat/with-test-branch into main

Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/1
Co-authored-by: cuddle-please <[email protected]>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/17
  • Loading branch information
kjuulh and cuddle-please committed Aug 21, 2024
1 parent 3c8b255 commit ef7962e
Show file tree
Hide file tree
Showing 4 changed files with 215 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cuddle/base
Submodule base added at 951051
137 changes: 137 additions & 0 deletions .cuddle/tmp/cuddle-rust-cli-plan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
kind: pipeline
name: cuddle-rust-cli-plan
type: docker

steps:
- name: load_secret
image: debian:buster-slim
volumes:
- name: ssh
path: /root/.ssh/
environment:
SSH_KEY:
from_secret: gitea_id_ed25519
commands:
- mkdir -p $HOME/.ssh/
- echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519
- chmod -R 600 ~/.ssh
- |
cat >$HOME/.ssh/config <<EOL
Host git.front.kjuulh.io
IdentityFile $HOME/.ssh/id_ed25519
IdentitiesOnly yes
UserKnownHostsFile=/dev/null
StrictHostKeyChecking no
EOL
- chmod 700 ~/.ssh/config

- name: build pr
image: kasperhermansen/{{bin_name}}:{{image_tag}}
volumes:
- name: ssh
path: /root/.ssh/
commands:
- eval `ssh-agent`
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-dev
- cuddle --version
- {{ bin_name }} pr
environment:
DAGGER_CLOUD_TOKEN:
from_secret: dagger_cloud_token
DRONE_HOST: "https://ci.i.kjuulh.io"
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.155:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- pull_request
exclude:
- main
- master
depends_on:
- "load_secret"

- name: build main
image: kasperhermansen/{{bin_name}}:{{image_tag}}
volumes:
- name: ssh
path: /root/.ssh/
commands:
- eval `ssh-agent`
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-prod
- cuddle --version
- {{ bin_name }} main
environment:
DAGGER_CLOUD_TOKEN:
from_secret: dagger_cloud_token
DRONE_HOST: "https://ci.i.kjuulh.io"
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.155:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- push
branch:
- main
- master
exclude:
- pull_request
depends_on:
- "load_secret"

volumes:
- name: ssh
temp: {}

74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2024-08-21

### Added
- use actual drone && cuddle setup
- remove unused stuff
- update
- with clone and list
- with proper stdout and whatnot
- with repo clone
- add coffee repo view -w
- add readme
- fix api
- new folder
- with install
- unknown linux
- with volume again
- list
- without volume
- with depends on ci
- with volume
- with shared mount
- add drone
- with support for closed prs
- add install script
- with open browser
- with test branch
- with swagger client
- with beginning of command structure
- with coffee base
- add base rust cli

### Other
- *(deps)* update rust crate anyhow to 1.0.74
- *(deps)* update rust crate clap to 4.3.21
- *(deps)* update rust crate axum to 0.6.20
- *(deps)* update all dependencies
- Merge pull request 'chore(deps): update all dependencies' (#9) from renovate/all into main

- Merge pull request 'chore(deps): update rust crate clap to 4.3.8' (#8) from renovate/all into main

- Merge pull request 'chore(deps): update rust crate clap to 4.3.6' (#7) from renovate/all into main

- Merge pull request 'chore(deps): update rust crate clap to 4.3.5' (#6) from renovate/all into main

- Merge pull request 'fix(deps): update all dependencies' (#4) from renovate/all into main

- Merge pull request 'Configure Renovate' (#2) from renovate/configure into main

Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/2

- Merge branch 'main' into renovate/configure

- debug some more
- fix cargo path
- Add renovate.json

- Merge pull request 'feat/with-test-branch' (#3) from feat/with-test-branch into main

Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/3

- Merge branch 'main' into feat/with-test-branch

- Merge pull request 'feat: with test branch' (#1) from feat/with-test-branch into main

Reviewed-on: https://git.front.kjuulh.io/kjuulh/coffee/pulls/1

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ clap = { version = "4.3.21", features = ["derive", "env"] }
dotenv = { version = "0.15.0" }
axum = { version = "0.6.20" }
inquire = { version = "0.6.2" }

[workspace.package]
version = "0.1.0"

0 comments on commit ef7962e

Please sign in to comment.