Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .circleci/config.yml with fedora arm64 build #30

Merged
merged 11 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# https://circleci.com/blog/how-to-build-a-docker-image-on-circleci-2-0/
# https://circleci.com/docs/configuration-reference/#resourceclass
# https://circleci.com/developer/images?imageType=machine
---
version: 2.1
jobs:
build:
machine:
image: ubuntu-2204:2024.05.1
resource_class: arm.medium
steps:
- checkout
# - setup_remote_docker:
# docker_layer_caching: true
- run:
name: Run tests
command: |
uname -a; free -m; docker --version

- run:
name: "Runner storage cleanup"
command: |
./.github/cleanup-runner.sh

- run:
name: "Build fedora-systemd image..."
command: |
docker build -t fedora_systemd:latest .

- run:
name: "Run Ansible in Docker..."
command: |
scripts/run_ansible_in_docker.sh
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@

[![CI](https://github.com/mikeeq/ansible-ops-workstation/actions/workflows/ci.yml/badge.svg)](https://github.com/mikeeq/ansible-ops-workstation/actions/workflows/ci.yml)

[![CircleCI](https://circleci.com/gh/mikeeq/ansible-ops-workstation.svg?style=svg)](https://circleci.com/gh/mikeeq/ansible-ops-workstation)

<!-- TABLE OF CONTENTS -->
<details open="open">
<summary><h2 style="display: inline-block">Table of Contents</h2></summary>
Expand Down
Loading