This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import tarfile | |
import urllib.request | |
import sys | |
# ------------------------------- | |
# ✍️ Manually edit this! | |
# ------------------------------- | |
DISTRO_COMMIT = "058fac1c14663772495b5f27b8772e7612ecc6bc" | |
VSCODIUM_RELEASE_VERSION = "1.102.35058" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gitea (with Actions) OCI compose. This is intended to setup Gitea with its Gitea Actions in OCI containers. | |
# | |
# Tested on Podman / Windows (WSL2). | |
# | |
# 1. Read https://desktop.podman.org.cn/docs/migrating-from-docker/using-the-docker_host-environment-variable and set | |
# DOCKER_HOST environment variable. | |
# 2. Copy this docker-compose.yml into `podman machine`. (because you cannot mount docker socket on Windows) | |
# 3. Run `podman compose -f gitea-actions-compose.yml up -d gitea-server` to start Gitea server. Get the registration | |
# token in Web control panel. | |
# 4. Set environment variable `export REGISTRATION_TOKEN='...'` according to step 3. |