Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hosting-a-repository: Add some comments and put bundle in artifact path #542

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/hosting-a-repository.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ The instructions will use Gitlab.com.
# Stable Flathub repo
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
script:
# Set up an user as the docker image used here comes with none
- |
cat <<EOF > /etc/passwd
root:x:0:0:root:/root:/bin/bash
Expand All @@ -155,6 +156,7 @@ The instructions will use Gitlab.com.
# Sets up the stable Flathub repository for dependencies
- flatpak remote-add --user --if-not-exists flathub ${RUNTIME_REPO}
# Sets up GPG signing
# Initialise GPG
- gpg --list-keys --with-keygrip
- echo "allow-preset-passphrase" >> ~/.gnupg/gpg-agent.conf
- gpg-connect-agent reloadagent /bye
Expand All @@ -167,6 +169,7 @@ The instructions will use Gitlab.com.
- flatpak build-update-repo --gpg-sign=${GPG_KEY_ID} --generate-static-deltas --prune repo/
artifacts:
paths:
- $BUNDLE
- repo
expire_in: 1 week
rules:
Expand Down Expand Up @@ -347,6 +350,7 @@ This uses Gitlab.com's `hosted aarch64 runners <https://docs.gitlab.com/ee/ci/ru
variables:
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
before_script:
# Set up an user as the docker image used here comes with none
- |
cat <<EOF > /etc/passwd
root:x:0:0:root:/root:/bin/bash
Expand Down
Loading