#143 Enable automated image builds on Quay
Closed: Fixed 4 years ago by lholecek. Opened 4 years ago by lholecek.

We will need container images to be build for new OpenShift project.

Quay image repo was created a some time ago but it's still unused.

Quay supports automated image builds for git repositories but Pagure support is missing.

The trick to enable automated builds we used for Greenwave was to create Pagure repo mirroring to GitHub. Then Quay can be easily configured to watch commits in the GitHub repo. This requires set up the mirroring in Pagure project settings, under Hooks - Mirroring:

Git repo to mirror to: git@github.com:release-engineering/resultsdb.git

I think the GitHub mirror needs a public ssh key (Deploy keys configuration).


@jskladan Is that OK? Can you help set this up? (I'm not admin for this project.)

@lholecek Fine with me, @frantisekz will take care of this.

Thank you!

Metadata Update from @jskladan:
- Assignee reset

4 years ago

Metadata Update from @jskladan:
- Issue assigned to frantisekz

4 years ago

@lholecek I've enabled mirroring here, the public ssh key is:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDu/tAM1uxHnzHSnwLJ8GgTxkXL4FMF7Yqj0EtopujnzbDn8JHi9LYHgli/j4PfJPfhkJy1LENCPdI6j1wkzBrIEE/lPRIeuTU1aDb7rq0Q4uOuiw1JZ3QrE5IsGB6gNCPRYSknUCwKATpvWMNnZPWV34LM6d90h7hER0fzv30y6RCnnBogh63H9l6qcXFO2v0ryIGbFz9vWZTKVj7t56DIn8T66PPUkdvYT3hSzBgXTvwRU6KaKTubLZ35Epz5A6KMyq6JaOa2LGyzjNKL4gkg3tgUe6ucU4boXY9k4UovdLyyUrFniC3/+SZW72GFlnYQZbg84kkFQJho1xiwJmtyOGfma/vl2zyjPNUgS00nLs5uuHlJMTaAplQ8kFsZ0LNrUBt3BmaBWYMzq2Ejrd0bswKEIob/r04cE50/Q8uY7W/dXN34MQ1Uv4I6kBX9Nmme6ehO0YphliEqiqmn0WBAmpquES+OD7MoZ3d9+o5LcIAFc/wkiV9/w2Svuku+yLn6GTVl+Ec8jRno0AhVXnSx77wDM2j03pifGpnvUBkgmJMxbhVPuXb8wtONCiD1GSBB7T7WbjJJNZRA/juAmFExjd1mUz7XuZ6qhwv6vLq70zUdDdRLrfF++0+pGPSygeV72yPE2PfJ7GXMBZFwMeTRqA6wZEDixI8FVBr3CaBorw==

@lholecek , can you add it to https://github.com/release-engineering/resultsdb ? I'll then merge pingou's PR, so we can test it works.

Thanks, works nicely: https://quay.io/repository/factory2/resultsdb?tab=builds

BTW, I tried trigger rebuild for the last version (2.2.0) but it fails to build with the old Dockerfile.

Metadata Update from @lholecek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Log in to comment on this ticket.

Metadata