Compare commits

..

10 Commits

Author SHA1 Message Date
OCram85 fb740de161 wip 2024-04-08 11:08:39 +02:00
OCram85 9846d840ff wip 2024-04-08 11:08:39 +02:00
OCram85 127a9dbc48 wip 2024-04-08 11:08:39 +02:00
OCram85 910f3d5a36 wip 2024-04-08 11:08:39 +02:00
OCram85 d1ea37bdbf wip 2024-04-08 11:08:39 +02:00
OCram85 4c5e370ead wip 2024-04-08 11:08:39 +02:00
renovate-bot 2130741460 chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v3 (#93)
ci/woodpecker/push/ci Pipeline was successful Details
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [woodpeckerci/plugin-docker-buildx](https://codeberg.org/woodpecker-plugins/docker-buildx) ([source](https://codeberg.org/woodpecker-plugins/docker-buildx.git)) | major | `2.2.1` -> `3.2.1` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/docker-buildx (woodpeckerci/plugin-docker-buildx)</summary>

### [`v3.2.1`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v3.2.1)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v3.2.0...v3.2.1)

##### Fixes

-   Prefer output even if no dryrun is specified ([#&#8203;151](https://github.com/woodpecker-plugins/docker-buildx/issues/151))

##### Misc

-   fix(deps): update module github.com/aws/aws-sdk-go to v1.51.6
-   chore(deps): update docker docker tag to v25.0.5
-   chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v3.2.0

### [`v3.2.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v3.2.0)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v3.1.0...v3.2.0)

##### Features

-   Allow `default_tag` to be empty ([#&#8203;145](https://github.com/woodpecker-plugins/docker-buildx/issues/145)) WARNING: not battle-tested (as I did not have a use case and testing repo). Please expect issues along the way.
-   Add `SOURCE_DATE_EPOCH` build_arg ([#&#8203;130](https://github.com/woodpecker-plugins/docker-buildx/issues/130))
-   Add `provenance` config setting ([#&#8203;139](https://github.com/woodpecker-plugins/docker-buildx/issues/139))
-   Add `secrets` config setting ([#&#8203;135](https://github.com/woodpecker-plugins/docker-buildx/issues/135))

##### Dependencies

-   chore(deps): update docker/buildx-bin docker tag to v0.13.1
-   chore(deps): update docker docker tag to v25.0.4

### [`v3.1.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v3.1.0)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v3.0.1...v3.1.0)

##### Features

-   Improve support for `cache_to` and `cache_from` & add `cache_images` ([#&#8203;129](https://github.com/woodpecker-plugins/docker-buildx/issues/129))

##### Dependencies

-   chore(deps): update docker docker tag to v25.0.2

### [`v3.0.1`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v3.0.1)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v3.0.0...v3.0.1)

-   fix(deps): update module github.com/aws/aws-sdk-go to v1.50.5
-   chore(deps): update docker docker tag to v25.0.1

### [`v3.0.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v3.0.0)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v2.3.0...v3.0.0)

##### Breaking

-   Update to docker engine v25 ([release notes](https://docs.docker.com/engine/release-notes/25.0/))

##### Features

-   Add option to set individual mirrors for all logins ([#&#8203;122](https://github.com/woodpecker-plugins/docker-buildx/issues/122))
-   Add option to enable buildkit debug output ([#&#8203;119](https://github.com/woodpecker-plugins/docker-buildx/issues/119))

##### Dependencies

-   fix(deps): update module github.com/aws/aws-sdk-go to v1.49.21 ([#&#8203;125](https://github.com/woodpecker-plugins/docker-buildx/issues/125))
-   chore(deps): update docker/buildx-bin docker tag to v0.12.1 ([#&#8203;124](https://github.com/woodpecker-plugins/docker-buildx/issues/124))

### [`v2.3.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v2.3.0)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v2.2.1...v2.3.0)

##### Features

-   feat: add support for publishing to AWS ECR ([#&#8203;110](https://github.com/woodpecker-plugins/docker-buildx/issues/110))

##### Dependencies

-   fix(deps): update module github.com/urfave/cli/v2 to v2.27.1

##### Misc

-   adds gitea meta template files for pull requests and issues ([#&#8203;103](https://github.com/woodpecker-plugins/docker-buildx/issues/103))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Reviewed-on: CodeServer/arkanum#93
Co-authored-by: renovate-bot <renovate@ocram85.com>
Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-04-07 11:29:58 +02:00
renovate-bot b79c637259 chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.22.1 (#91)
ci/woodpecker/push/ci Pipeline was successful Details
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [quay.io/linuxserver.io/code-server](https://github.com/linuxserver/docker-code-server/packages) ([source](https://github.com/linuxserver/docker-code-server)) | final | minor | `4.20.1` -> `4.22.1` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI1MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Reviewed-on: CodeServer/arkanum#91
Co-authored-by: renovate-bot <renovate@ocram85.com>
Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-04-05 08:23:26 +02:00
OCram85 bd93b021db fix starship prompt installation (#95)
ci/woodpecker/push/ci Pipeline was successful Details
### 📖 Summary

- fixes starship prompt installation after installer introduced version args. Using static latest version tag for now.
- disables Woodpecker Portainer trigger step. Not needed for updating image tags and auto redeploy in Portainer EE.

### 📑 Test Plan

 CI pipeline tests (Default)

### 💬 Details

_No response_

### 📚 Additional Notes

_No response_

Reviewed-on: CodeServer/arkanum#95
2024-04-05 08:15:11 +02:00
OCram85 d388c2f46b prep/v1.5.0 (#90)
ci/woodpecker/push/ci Pipeline was successful Details
ci/woodpecker/tag/ci Pipeline was successful Details
### 📖 Summary

- adds vscode task to update changelog
- updates changelog

### 📑 Test Plan

 CI pipeline tests (Default)

### 💬 Details

_No response_

### 📚 Additional Notes

_No response_

Reviewed-on: CodeServer/arkanum#90
Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Co-committed-by: OCram85 <marco.blessing@googlemail.com>
2024-02-09 11:56:24 +01:00
9 changed files with 111 additions and 15 deletions

View File

@ -5,6 +5,7 @@
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-german",
"bierner.emojisense",
"ryanluker.vscode-coverage-gutters"
"ryanluker.vscode-coverage-gutters",
"augustocdias.tasks-shell-input"
]
}

37
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,37 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Update GiteaChangelog",
"type": "shell",
"command": [
"mv 'CHANGELOG.md' 'CHANGELOG.back' &&",
"changelog -m '${input:Milestone}' --token '${input:GiteaToken}' -c .changelog.yml generate > CHANGELOG.md &&",
"echo '' >> CHANGELOG.md &&",
"cat CHANGELOG.back >> CHANGELOG.md &&",
"rm CHANGELOG.back"
],
"problemMatcher": []
}
],
"inputs": [
{
"id": "GiteaToken",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "echo $GITEA_TOKEN",
"description": "Your personal Gitea access token"
}
},
{
"id": "Milestone",
"type": "command",
"command": "shellCommand.execute",
"args": {
"description": "Select or enter a open milestone",
"command": "tea milestone ls -f title --output simple"
}
}
]
}

View File

@ -5,7 +5,7 @@ when:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &build_plugin 'woodpeckerci/plugin-docker-buildx:2.2.1'
- &build_plugin 'woodpeckerci/plugin-docker-buildx:3.2.1'
# deployment targets
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum,ghcr.io/ocram85/arkanum,codeberg.org/codeserver/arkanum'
# logins for deployment targets
@ -82,15 +82,16 @@ steps:
when:
event: [pull_request]
triggerPortainer:
image: ocram85/portainer-serviceupdate
settings:
VERBOSE: true
URI: "https://portainer.ocram85.com"
TOKEN:
from_secret: NEXT_TOKEN
when:
event: [pull_request]
# disabled for Portainer-EE: Can handle image tag updates without manual redeploy
#triggerPortainer:
# image: ocram85/portainer-serviceupdate
# settings:
# VERBOSE: true
# URI: "https://portainer.ocram85.com"
# TOKEN:
# from_secret: NEXT_TOKEN
# when:
# event: [pull_request]
gitea-release:
image: plugins/gitea-release

View File

@ -1,3 +1,13 @@
## [v1.5.0](https://gitea.ocram85.com/CodeServer/arkanum/releases/tag/v1.5.0) - 2024-02-09
* 🛠️ ENHANCEMENTS
* Always install latest extension version (#85)
* 🤖 DEPENDENCIES
* Update quay.io/linuxserver.io/code-server Docker tag to v4.20.1 (#88)
* Update quay.io/linuxserver.io/code-server Docker tag to v4.20.0 (#86)
* ⚙️ META
* Add more gitignore items (#89)
## [v1.0.2](https://gitea.ocram85.com/CodeServer/arkanum/releases/tag/v1.0.2) - 2023-12-18
* ✨ FEATURES

View File

@ -1,4 +1,4 @@
FROM quay.io/linuxserver.io/code-server:4.20.1
FROM quay.io/linuxserver.io/code-server:4.22.1
#LABEL build_version=""
LABEL maintainer="OCram85"
@ -20,7 +20,10 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ
#region starship
RUN \
echo "**** install starship prompt ****" && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \
curl -sS -o /tmp/install.sh https://starship.rs/install.sh && \
chmod +x /tmp/install.sh && \
/tmp/install.sh --verbose --force --version latest && \
rm -f /tmp/install.sh && \
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml

View File

@ -227,7 +227,7 @@ function instCodeExtension() {
function setCodeSettings() {
CODEFILE="$HOME/data/User/settings.json"
#region code-settings
# VSCode user settings file
say "Setting VScode base settings.($CODEFILE)" "VSCode"
cat <<EOF | tee "$CODEFILE"
@ -244,6 +244,7 @@ function setCodeSettings() {
"telemetry.telemetryLevel": "off"
}
EOF
#endregion code-settings
say "done." "VSCode"
}

View File

@ -19,6 +19,7 @@ function getGuide() {
{ text: 'Git', link: 'components/git' },
{ text: 'Arkanum CLI', link: 'components/arkanum-cli' },
{ text: 'FiraCode Font', link: 'components/firacode' },
{ text: 'VSCode', link: 'components/vscode' },
],
},
],

View File

@ -20,7 +20,6 @@ The included default setup uses the system wide installed [NerdFont](https://www
![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes')
## Configuration
::: code-group

View File

@ -0,0 +1,43 @@
# VSCode
## Default Settings
Arkanum tests for existing VSCode user config. If not preset, it sets the default config with these values:
| Key | Value | Description |
| :------------------------------: | :-------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| `window.menuBarVisibility` | **compact** | Uses compact main menu bar in hamburger style. |
| `workbench.colorTheme` | **One Dark Pro Darker** | Enables default color theme. |
| `workbench.iconTheme` | **vscode-icons** | Enables default icon theme for file tree. |
| `editor.fontFamily` | **'FiraCode', 'FiraCode Nerd Font', 'FiraCode NF', Consolas, 'Courier New', monospace** | Enables included FiraCode font for all possible variations in the file editor. |
| `terminal.integrated.fontFamily` | **'FiraCode Mono', 'FiraCode Nerd Font Mono', 'FiraCode NFM', Consolas, monospace** | Enables included FiraCode fonts in terminal views. Uses mono variation to enable showing icons. |
| `editor.fontLigatures` | **true** | Enables font ligatures supported in FiraCode: `->`, `---`, `!=` ... |
| `editor.formatOnSave` | **true** | Enables format on save features based on language config. |
| `extensions.autoUpdate` | **false** | Disables automatic update for installed extensions. Prevents running into VSCode compatibility problems. |
| `git.confirmSync` | **false** | Disables notification popup for git sync action. |
| `telemetry.telemetryLevel` | **off** | Disables sending telemetry data for VSCode and GitLense Extension. |
## Extensions
Arkanum includes the following VSCode extensions from the Open VSX Registry:
### GitLense
Adds advanced git features with the [GitLense](https://open-vsx.org/extension/eamodio/gitlens) extension.
### One Dark Pro
Adds [One Dark Pro](https://open-vsx.org/extension/zhuangtongfa/material-theme) theme as default color theme.
### vscode-icons
Adds [vscode-icons](https://open-vsx.org/extension/vscode-icons-team/vscode-icons) extension as default icon theme.
## Configuration
::: code-group
<<< @/../Dockerfile#cli{Dockerfile}
<<< @/../arkanum#code-settings{4-15 bash:line-numbers}
:::