Cloud-oriented Life

Cloud Native Technology Improves Lives

Troubleshooting Common Issues with GitLab Runner Shell Executor on CentOS

As a senior software engineer, I often encounter various challenges while working with GitLab Runner on CentOS. This blog post aims to address some common issues and provide solutions that can help streamline your CI/CD pipeline. Whether you’re upgrading Git, managing permissions for Docker, or dealing with runtime errors, this guide will offer practical steps to resolve these issues efficiently.

Read more »

The following modules failed to execute: ansible.legacy.setup

Ansible is a powerful tool for automation, but sometimes running it on older systems can present challenges. Recently, while working with servers running Ubuntu 18.04, I encountered issues with the ansible.legacy.setup module failing to execute. This was primarily due to the outdated Python versions on these servers, which are not supported by the latest versions of Ansible.

Ubuntu 18.04, being an older distribution, does not appear in the Ubuntu Python 3 packages page. The core of the problem lies in the compatibility between the Python versions on these older servers and the Ansible versions being deployed.

Read more »

Using OSV-Scanner to find existing vulnerabilities affecting your Rails application dependencies

Recently, Google released the open source vulnerability scanner OSV-Scanner. OSV-Scanner is an officially supported front-end tool for the open source OSV database, written in Go, designed to scan open source applications to assess the security of any merged dependencies.

You can use OSV-Scanner to find vulnerabilities in Rails application dependencies, including Gemfile.lock, package-lock.json, yarn.lock, etc., the latest commit records in .git directories, and Debian-based mirrors.

Read more »

Background

Ruby pg gem depends on the operating system’s compilation tools and libraries. If the operating system compilation tool and library change (such as operating system upgrade, etc.), it may cause an error that pg gem cannot access the database normally.

Recently upgraded to macOS Monterey 12.6, due to the update of the Xcode license agreement, the Rails project using pg gem cannot run normally:

Read more »

Crossplane

Crossplane is an open source Kubernetes add-on that enables platform teams to assemble infrastructure from multiple vendors, and expose higher level self-service APIs for application teams to consume, without having to write any code.

Features

  • Provision and manage cloud infrastructure and services using kubectl

  • Created to power a more open cloud

  • There is a flavor of infrastructure for everyone on Crossplane

  • Publish simplified infrastructure abstractions for your applications

  • The Universal Cloud API

  • Run Crossplane anywhere

Read more »

KubeVela

KubeVela is a modern application delivery platform that makes deploying and operating applications across today’s hybrid, multi-cloud environments easier, faster and more reliable.

KubeVela is infrastructure agnostic, programmable, yet most importantly, application-centric.

Features

  • Application Centric

  • Programmable Workflow

  • Infrastructure Agnostic

Read more »

JumpServer

JumpServer is a Privileged Access Management (PAM) Complying with 4A Protocol of Operation and Security Auditing. JumpServer provides features include authentication, authorization, accounting and auditing.

This article is about how to use Helm to install JumpServer on Kubernetes (K8S).

Read more »
0%