# 20210826 jakub-fcos-aarch64
- Involvement in prod FCOS pipelines
- access to https://jenkins-fedora-coreos.apps.ocp.ci.centos.org/job/fedora-coreos/job/fedora-coreos-fedora-coreos-pipeline/ (Fedora sso auth? -> yes)
- open a ticket like https://pagure.io/centos-infra/issue/176 and link me to it
- understanding of pipeline design with respect to multi-arch
- x86_64 runs first then forks aarch64 pipeline
- https://github.com/coreos/fedora-coreos-pipeline/blob/d81006afb9901853555a2f018e5ba0a17f49b4cf/Jenkinsfile#L377-L385
- https://github.com/coreos/fedora-coreos-pipeline/blob/d81006afb9901853555a2f018e5ba0a17f49b4cf/jobs/multi-arch-pipeline.Jenkinsfile
- uses gangplank to use ssh+podman to kick off builds on target architecture
- uses a remote aarch64 box
- definition: https://github.com/coreos/fedora-coreos-pipeline/tree/main/multi-arch-builders
- adding server to pipeline: https://github.com/coreos/fedora-coreos-pipeline/blob/d81006afb9901853555a2f018e5ba0a17f49b4cf/HACKING.md#optional-creating-a-secret-for-multi-arch-builders
- running gangplank manually looks something like:
- |
export REMOTEHOST=10.42.0.155
export REMOTEUSER=core
export REMOTEUID=1000
export export CONTAINER_SSHKEY=/path/to/ssh/key/foo.pem
export CONTAINER_HOST="ssh://${REMOTEUSER}@${REMOTEHOST}/run/user/${REMOTEUID}/podman/podman.sock"
gangplank pod --podman -i 'localhost/coreos-assembler:latest' -A base --arch=aarch64
- for more complicated stuff you can use a jobspec file
- https://github.com/coreos/coreos-assembler/blob/main/docs/gangplank/usage.md#jobspec
- look at the spec.spec files in https://github.com/coreos/fedora-coreos-pipeline/blob/d81006afb9901853555a2f018e5ba0a17f49b4cf/jobs/multi-arch-pipeline.Jenkinsfile
- https://quay.io/repository/jcajka/coreos-assembler built daily, manifest listed
- DWM: nice!