{"id":19154386,"url":"https://github.com/baloise/automagic","last_synced_at":"2025-06-12T15:07:21.698Z","repository":{"id":44885364,"uuid":"415955108","full_name":"baloise/automagic","owner":"baloise","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-18T14:24:57.000Z","size":368,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-02-22T21:27:14.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baloise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-11T14:11:07.000Z","updated_at":"2021-12-17T14:42:26.000Z","dependencies_parsed_at":"2022-09-08T08:01:18.887Z","dependency_job_id":null,"html_url":"https://github.com/baloise/automagic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baloise/automagic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baloise%2Fautomagic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baloise%2Fautomagic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baloise%2Fautomagic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baloise%2Fautomagic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baloise","download_url":"https://codeload.github.com/baloise/automagic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baloise%2Fautomagic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490544,"owners_count":22865766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T08:26:39.402Z","updated_at":"2025-06-12T15:07:21.679Z","avatar_url":"https://github.com/baloise.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# automagic\n\nautomagic was a platform to for declarative life cycle and configuration management of virtual machines at Baloise. It allows you to create, change and delete infrastructure, middleware and applications using a declarative GitOps approach. automagic uses git for source code management and Jenkins for CI/CD pipeline automation.\n\n# Use\n \nTo use in your pipeline add the following to the top of your Jenkinsfile\n\n```\nlibrary identifier: 'automagic@release', retriever: modernSCM(\n  [$class: 'GitSCMSource', remote: 'https://github.com/baloise/automagic.git']\n)\n```\n\nthen use as any inbuilt command, for example\n\n```\nam_greet 'World'\n```\n\nWe highly recommend to configure this as [global library](https://www.jenkins.io/doc/book/pipeline/shared-libraries/#global-shared-libraries) as in the dev setup, so you the code is trusted and you can shorten the import to\n\n```\nlibrary 'automagic@release'\n```\n\n# Contribute\n\nIt is very easy to write pipeline steps - have a look at the existing code, i.e. [am_greet.groovy](./vars/am_greet.groovy). \n\nFor a deep dive please read the [official documentation](https://jenkins.io/doc/book/pipeline/shared-libraries/).  \n\n\n# dev setup\n\nYou can use [jenkins-maven-plugin](https://github.com/baloise/jenkins-maven-plugin) ... \n\n```\nmvn -Djenkins.home=/this/folder/might/grow/big/JENKINS_HOME jenkins:run\n```\n\nEnter \"exit\" on the console to end jenkins process.\n\nOn the first run all necessary plugins are installed - this may take some minutes. \n\nHead over to [http://localhost:8080/](http://localhost:8080/) and use the template jobs to get you up and running 🚀.\n\n\n# architecture\n\nautomagic is mainly a wrapper for the [oneIT marketplace api server](https://github.com/baloise/oim-api).\n\n## behind a proxy\nSet `http_proxy` / `no_proxy` properties / environment variables, see [JENKINS-HOME-TEMPLATE/init.groovy.d/01_proxy.groovy](./JENKINS-HOME-TEMPLATE/init.groovy.d/01_proxy.groovy)\n\n\nIf you need a forwarding proxy, have a look at [https://github.com/baloise/proxy](https://github.com/baloise/proxy#installation) \n\n\n\n[![Line Coverage](https://baloise.github.io/automagic/site/main/linecoverage.svg)](https://baloise.github.io/automagic/site/main/jacoco)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaloise%2Fautomagic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaloise%2Fautomagic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaloise%2Fautomagic/lists"}