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

Hardcoding ISO build RPM source to facebook.net #773

Closed
wants to merge 8 commits into from
7 changes: 7 additions & 0 deletions .github/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "1"
rules:
- base: main
upstream: osbuild:main # Required. Must be in the same fork network.
mergeMethod: rebase # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.


23 changes: 0 additions & 23 deletions .github/workflows/auto-merge-dependabot.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,24 @@ name: Build containers
on:
pull_request:
branches: [main]
push:
branches:
- "main"
# for merge queue
merge_group:
workflow_dispatch:

env:
IMAGE_NAME: ${{ github.repository }}

permissions:
contents: read
packages: write
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
Expand All @@ -25,3 +35,30 @@ jobs:
image: ${{ env.IMAGE_NAME }}
tags: "latest"
containerfiles: Containerfile

# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
# https://github.com/macbre/push-to-ghcr/issues/12
- name: Lowercase Registry
id: registry_case
uses: ASzc/change-string-case-action@v6
with:
string: ${{ env.IMAGE_REGISTRY }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Push the image to GHCR (Image Registry)
- name: Push To GHCR
uses: redhat-actions/push-to-registry@v2
if: github.event_name != 'pull_request'
id: push
with:
registry: "ghcr.io"
image: ${{ env.IMAGE_NAME }}
tags: "latest"
extra-args: |
--disable-content-trust
18 changes: 0 additions & 18 deletions .github/workflows/pr_best_practices.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/stale-cleanup.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/testingfarm-unit.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/testingfarm.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ jobs:
with:
path: /var/tmp/osbuild-test-store
key: no-key-needed-here
- name: Run tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
# podman needs (parts of) the environment but will break when
# XDG_RUNTIME_DIR is set.
# TODO: figure out what exactly podman needs
sudo -E XDG_RUNTIME_DIR= pytest-3 --basetemp=/mnt/var/tmp/bib-tests
# - name: Run tests
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# run: |
# # podman needs (parts of) the environment but will break when
# # XDG_RUNTIME_DIR is set.
# # TODO: figure out what exactly podman needs
# sudo -E XDG_RUNTIME_DIR= pytest-3 --basetemp=/mnt/var/tmp/bib-tests
- name: Diskspace (after)
if: ${{ always() }}
run: |
Expand Down
1 change: 1 addition & 0 deletions bib/data/defs/heliumos-10.yaml
1 change: 1 addition & 0 deletions bib/data/defs/heliumos-9.yaml
Loading