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

multi-arch-builders: add ppc64le builder info #597

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
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
27 changes: 27 additions & 0 deletions jenkins/config/fcos-ppc64le-builder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
credentials:
system:
domainCredentials:
- credentials:
- string:
scope: GLOBAL
id: fcos-ppc64le-builder-host-string
secret: ${fcos-ppc64le-builder/host}
description: FCOS ppc64le Builder Host
- string:
scope: GLOBAL
id: fcos-ppc64le-builder-user-string
secret: ${fcos-ppc64le-builder/user}
description: FCOS ppc64le Builder User
- string:
scope: GLOBAL
id: fcos-ppc64le-builder-uid-string
secret: ${fcos-ppc64le-builder/uid}
description: FCOS ppc64le Builder UID
- basicSSHUserPrivateKey:
scope: GLOBAL
id: fcos-ppc64le-builder-sshkey-key
username: builder
description: FCOS ppc64le Builder SSH Key
privateKeySource:
directEntry:
privateKey: "${readFile:${fcos-ppc64le-builder/sshkey}}"
7 changes: 7 additions & 0 deletions manifests/jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ objects:
- name: fcos-aarch64-builder
mountPath: /var/run/secrets/fcos-aarch64-builder
readOnly: true
- name: fcos-ppc64le-builder
mountPath: /var/run/secrets/fcos-ppc64le-builder
readOnly: true
- name: fcos-s390x-builder
mountPath: /var/run/secrets/fcos-s390x-builder
readOnly: true
Expand Down Expand Up @@ -197,6 +200,10 @@ objects:
secret:
secretName: fcos-aarch64-builder
optional: true
- name: fcos-ppc64le-builder
secret:
secretName: fcos-ppc64le-builder
optional: true
- name: fcos-s390x-builder
secret:
secretName: fcos-s390x-builder
Expand Down
18 changes: 18 additions & 0 deletions multi-arch-builders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,24 @@ OLDINSTANCEID=<foo> # use `aws ec2 describe-instances` to find
aws ec2 terminate-instances --instance-ids $OLDINSTANCEID
```

### ppc64le

This machine is a VM on a koji builder set up for us by Kevin Fenzi
(nirik). We'll work to automate this bringup and store the information
about how to provision this machine here in the future.

To connect to this machine first add
[custom ssh configuration](https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/sshaccess/#_ssh_configuration)
for connecting to machines via Fedora bastion hosts.

When done, tweak the list of `10.3.*` addresses in the list to include
`10.3.171.*`. Then you should be able to connect:

```
ssh [email protected]
```


### s390x

We use an s390x instance in IBM Cloud to do our builds and tests. First get an
Expand Down
24 changes: 24 additions & 0 deletions multi-arch-builders/fcos-ppc64le-builder.bu
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This butane config will do the following:
#
# - Merge in the builder-common.ign Ignition file
# - Allow the builder user to log in with the associated ssh key
# - Set a hostname
#
variant: fcos
version: 1.4.0
ignition:
config:
merge:
- local: builder-common.ign
passwd:
users:
- name: builder
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFsZ+IH1M1TWoBXz5uRe03gmk8waNrij0sDrPgTTb/rf builder@fcos-ppc64le-builder
storage:
files:
- path: /etc/hostname
mode: 0644
overwrite: true
contents:
inline: buildvm-ppc64le-fcos01.iad2.fedoraproject.org