Skip to content

Conversation

@matekelemen
Copy link
Contributor

@matekelemen matekelemen commented Apr 12, 2025

Fix two problems with our Rocky CI.

  1. the docker image we push to (kratosmultiphysics/kratos-image-ci-rocky8) is not the same image we fetch (kratosmultiphysics/kratos-image-ci-rockylinux-8)
    run: docker build . --file scripts/docker_files/docker_file_ci_rockylinux8/DockerFile --tag kratosmultiphysics/kratos-image-ci-rocky8

    image: kratosmultiphysics/kratos-image-ci-rockylinux-8:latest
  2. switching the toolchain is handled by a bash script (/opt/rh/gcc-toolset-11/enable) that is currently sourced from /etc/bashrc. The problem is that /etc/bashrc never actually gets executed when running a shell in a docker image, so the new toolchain is never used.
    RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc

This PR is a follow-up on #13224.

@matekelemen matekelemen self-assigned this Apr 12, 2025
@matekelemen matekelemen requested a review from a team as a code owner April 12, 2025 10:33
@matekelemen matekelemen added Bugfix Continuous Integration related to Travis, Appveyor, ... labels Apr 12, 2025
@matekelemen matekelemen merged commit 96f15a9 into master Apr 12, 2025
21 checks passed
@matekelemen matekelemen deleted the ci/rocky branch April 12, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix Continuous Integration related to Travis, Appveyor, ...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants