Skip to content

Commit

Permalink
fix: install rsync in Swift containers
Browse files Browse the repository at this point in the history
  • Loading branch information
ralgar committed Apr 17, 2024
1 parent 4957cc9 commit accd301
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Build Swift

on:
push:
paths:
- '.github/actions/kolla-build/**'
- 'swift/**'

env:
COMPONENT: swift

jobs:
kolla-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Kolla Build
uses: ./.github/actions/kolla-build
with:
component: ${{ env.COMPONENT }}
ghcr_token: ${{ secrets.GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions swift/build.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[DEFAULT]
profile = default
base = rocky
base_tag = 9
tag = 2023.2-rocky-9

# Container Registry Config
registry = ghcr.io
namespace = <registry-namespace>
push = true

[profiles]
default = swift

[swift-base]
type = git
location = https://opendev.org/openstack/swift
reference = stable/2023.2
5 changes: 5 additions & 0 deletions swift/override.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends parent_template %}

{% block swift_base_footer %}
RUN dnf install -y rsync && dnf clean all
{% endblock %}

0 comments on commit accd301

Please sign in to comment.