externpro / buildpro

build images for projects that use externpro
MIT License
2 stars 1 forks source link

move buildpro to externpro org #62

Closed smanders closed 7 months ago

smanders commented 7 months ago

was https://github.com/smanders/buildpro now https://github.com/externpro/buildpro

smanders commented 7 months ago

packages https://github.com/smanders?tab=packages need to move to externpro org

docker pull rockylinux:8.5
docker tag rockylinux:8.5 ghcr.io/externpro/rockylinux:8.5
docker push ghcr.io/externpro/rockylinux:8.5
docker pull centos:7
docker tag centos:7 ghcr.io/externpro/centos:7
docker push ghcr.io/externpro/centos:7

had to make externpro packages https://github.com/orgs/externpro/packages public (private by default)

smanders commented 7 months ago

building centos7-run failed

19.10 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
19.17 Importing GPG key 0x5072E1F5:
19.17  Userid     : "MySQL Release Engineering <mysql-build@oss.oracle.com>"
19.17  Fingerprint: a4a9 4068 76fc bd3c 4567 70c8 8c71 8d3b 5072 e1f5
19.17  Package    : mysql80-community-release-el7-3.noarch (@/mysql80-community-release-el7-3.noarch)
19.17  From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
19.29 
19.29 
19.29 Public key for mysql-community-libs-8.0.36-1.el7.x86_64.rpm is not installed
19.29 
19.29 
19.29  Failing package is: mysql-community-libs-8.0.36-1.el7.x86_64
19.29  GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
19.29 
------
centos7-run.dockerfile:51
--------------------
  50 |     #  https://dev.mysql.com/doc/refman/8.0/en/linux-installation-yum-repo.html
  51 | >>> RUN yum -y update \
  52 | >>>   && yum clean all \
  53 | >>>   # https://codingbee.net/uncategorized/yum-error-public-key-for-rpm-is-not-installed
  54 | >>>   && wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 \
  55 | >>>   && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql \
  56 | >>>   && yum -y install --setopt=tsflags=nodocs \
  57 | >>>      https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm \
  58 | >>>   && yum -y install --enablerepo=mysql80-community --setopt=tsflags=nodocs \
  59 | >>>      mysql-community-client \
  60 | >>>      mysql-connector-odbc \
  61 | >>>   && yum clean all
  62 |     # create directories needed by unit tests, autotest
--------------------
ERROR: failed to solve: process "/bin/bash -c yum -y update   && yum clean all   && wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql https://repo.mysql.com/RPM-GPG-KEY-mysql-2022   && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql   && yum -y install --setopt=tsflags=nodocs      https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm   && yum -y install --enablerepo=mysql80-community --setopt=tsflags=nodocs      mysql-community-client      mysql-connector-odbc   && yum clean all" did not complete successfully: exit code: 1

this looks like a very similar issue that was addressed before https://github.com/externpro/buildpro/issues/25 here is the commit that fixed the issue then https://github.com/externpro/buildpro/commit/1d4ec27610815868dc703f64eb44dbcd96b27b29

https://repo.mysql.com looks like there is now a RPM-GPG-KEY-mysql-2023

RPM-GPG-KEY-mysql-2022            17-Jan-2022 10:22     3k
RPM-GPG-KEY-mysql-2023            24-Oct-2023 15:02     3k

maybe this is kind-of a yearly thing that will have to be updated?

smanders commented 7 months ago

externpro packages https://github.com/orgs/externpro/packages rocky85 images made public

centos7-run image made public

smanders commented 7 months ago

mysql-server

docker pull mysql/mysql-server:8.0.21
docker pull ghcr.io/smanders/mysql-server:8.0.21
docker tag mysql/mysql-server:8.0.21 ghcr.io/externpro/mysql-server:8.0.21
docker push ghcr.io/externpro/mysql-server:8.0.21

made public

smanders commented 7 months ago

completed with commits referenced above