Feature our cloud donors on opendev.org

Add logos for our cloud donors, similar to the
https://openinfra.dev/members/#infrastructure or
https://www.openstack.org/community/supporting-organizations/#infra-donors
lists.

Companies whose logos are listed on the OpenInfra members page have
given explicit permission to the foundation to display those logos
in order to promote their involvement in foundation-led activities,
which includes projects and communities represented by the
foundation (like the OpenDev Collaboratory). The agreements the
companies referenced in this change have entered into aren't limited
to specific web sites, so displaying them on opendev.org shouldn't
require that we seek additional permission in order to do so.

When adding these logos in a subdirectory (for ease of maintenance),
we need to update the copy step from the assets image to the gitea
image making it recursive, otherwise the directory will be omitted
form the final image build. It's also worth noting that COPY
directives in Dockerfiles behave in an odd and non-shell-like
manner, as they flatten the files when recursing source directories,
so you end up needing to force them into the intended target
directories.

Change-Id: I56279da7008cd4961c964b00f23a255e2865b602
This commit is contained in:
Jeremy Stanley 2023-01-03 16:19:59 +00:00
parent 47bfc5b5d1
commit 7074dfe0e3
7 changed files with 25 additions and 1 deletions

View File

@ -1,4 +1,5 @@
FROM scratch
COPY donors /donors/
COPY favicon.ico /
COPY favicon.png /
COPY favicon.svg /

BIN
assets/donors/openmetal.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
assets/donors/ovh.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
assets/donors/rackspace.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
assets/donors/vexxhost.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -97,7 +97,7 @@ COPY --from=build-env /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/
# Copy our custom templates and some additional image files
COPY custom/ /custom/
# Copy our opendev logo contents to the custom location
RUN --mount=type=bind,from=opendevorg/assets,target=/tmp/assets cp /tmp/assets/* /custom/public/img/
RUN --mount=type=bind,from=opendevorg/assets,target=/tmp/assets cp -r /tmp/assets/* /custom/public/img/
ENV GITEA_CUSTOM /custom

View File

@ -130,7 +130,30 @@ overwhelming if you just want to focus on development, especially when
ready-to-consume services are available. But it's worth it, especially if you
want to have a say in what services are provided, or just support the idea of
improving open source tools in that space.</p>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide left aligned centered column">
<h2 id="cloud-donors">Cloud Donors</h2>
<p>These are the companies generously donating the cloud infrastructure where we host our service control plane and operate <a href="https://docs.opendev.org/opendev/system-config/latest/contribute-cloud.html">pools of Zuul test resources</a>:</p>
</div>
<div class="four wide center aligned centered column">
<div><a href="https://openinfra.dev/a/members/profile/5/rackspace"><img alt="Rackspace" src="{{AssetUrlPrefix}}/img/donors/rackspace.jpg" width="120"></a></div>
</div>
<div class="four wide center aligned centered column">
<div><a href="https://openinfra.dev/a/members/profile/5/vexxhost-inc"><img alt="VEXXHOST, Inc." src="{{AssetUrlPrefix}}/img/donors/vexxhost.jpg" width="120"></a></div>
</div>
<div class="four wide center aligned centered column">
<div><a href="https://openinfra.dev/a/members/profile/5/ov-hcloud"><img alt="OVHcloud" src="{{AssetUrlPrefix}}/img/donors/ovh.jpg" width="120"></a></div>
</div>
<div class="four wide center aligned centered column">
<div><a href="https://openinfra.dev/a/members/profile/5/open-metal"><img alt="OpenMetal" src="{{AssetUrlPrefix}}/img/donors/openmetal.jpg" width="120"></a></div>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide left aligned centered column">
<h2 id="faq">FAQ</h2>
<h3 id="isnt-this-just-openstack-infrastructure-rebranded">Isnt this just OpenStack Infrastructure rebranded?</h3>