-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
114 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# SPDX-FileCopyrightText: 2020 Fermi Research Alliance, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
[gwms-build] | ||
name=GlideinWMS Build Server for Enterprise Linux 9 - x86_64 | ||
baseurl=http://build-workspace.glideinwms.org/repo/main/ | ||
enabled=1 | ||
gpgcheck=0 | ||
priority=75 | ||
|
||
[gwms-build-alt] | ||
name=GlideinWMS Build Server for Enterprise Linux 9 - x86_64 | ||
baseurl=http://build-workspace.glideinwms.org/repo/alt/ | ||
enabled=0 | ||
gpgcheck=0 | ||
priority=75 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Configuration for the YUM repository | ||
|
||
# SPDX-FileCopyrightText: 2020 Fermi Research Alliance, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
Alias /repo /opt/repo | ||
<Directory /opt/repo> | ||
# Apache 2.4 | ||
Require all granted | ||
Options Indexes FollowSymLinks MultiViews | ||
#Options -Indexes | ||
AllowOverride | ||
</Directory> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# SPDX-FileCopyrightText: 2020 Fermi Research Alliance, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
GWMS_DIR=/opt/gwms | ||
|
||
bash /opt/scripts/create-host-certificate.sh -d "$GWMS_DIR"/secrets | ||
systemctl start httpd |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SPDX-FileCopyrightText: 2020 Fermi Research Alliance, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This compose file deploys the build and YUM server. | ||
# The build-workspace needs to be privileged, otherwise you will not be able to run mock | ||
# TODO: use an env variable to parameterize privileged (not needed for OSG koji builds) | ||
|
||
services: | ||
|
||
ce-workspace: | ||
container_name: build-workspace.glideinwms.org | ||
build: | ||
context: . | ||
cache_from: | ||
- ${IMAGE_NAMESPACE-glideinwms}/build-workspace:${IMAGE_LABEL-latest} | ||
dockerfile: build-workspace/Dockerfile | ||
image: ${IMAGE_NAMESPACE-glideinwms}/build-workspace:${IMAGE_LABEL-latest} | ||
privileged: true | ||
networks: | ||
- gwms | ||
hostname: build-workspace.glideinwms.org | ||
tty: true | ||
stdin_open: true | ||
stop_grace_period: 2s | ||
|
||
networks: | ||
gwms: | ||
driver: bridge |