Skip to content

Commit

Permalink
Restructure and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ispasov committed Aug 20, 2019
1 parent 8c57a54 commit ad858ac
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3 deletions.
6 changes: 6 additions & 0 deletions GitLab/README.md
@@ -0,0 +1,6 @@
# Orka-GitLab Integration

The Orka-GitLab integration provides guides on how to use [Orka by MacStadium][orka] in a GitLab CI/CD pipeline.
You can find guide on how to use [GitLab Shell executor](shell-executor.md) and [GitLab Custom executor](custom-executor.md).

[orka]: https://www.macstadium.com/orka
4 changes: 2 additions & 2 deletions GitLab/custom-executor.md
Expand Up @@ -9,7 +9,7 @@ MacStadium provides Custom executor scripts that can be used to run CI/CD pipeli
## Requirements

- GitLab [Runner][runner]
- jq[jq] - command-line JSON processor used by the provided scripts
- [jq][jq] - command-line JSON processor used by the provided scripts

## Set up a GitLab Runner

Expand All @@ -19,7 +19,7 @@ To set up a GitLab Runner, you need to:
2. [Obtain a token][obtain-token]. The token will be used in **Step 3** to register the newly installed GitLab Runner.
3. [Register][register-runner] the Runner. This is the process that binds the Runner to GitLab.
**Note**: When asked to enter the executor type, select `custom`.
4. Copy the provided scripts to the Runner machine: [base.sh](base.sh), [prepare.sh](prepare.sh), [run.sh](run.sh), [cleanup.sh](cleanup.sh).
4. Copy the provided scripts to the Runner machine: [base.sh](scripts/base.sh), [prepare.sh](scripts/prepare.sh), [run.sh](scripts/run.sh), [cleanup.sh](scripts/cleanup.sh).
**Note**: All scripts should be in the same directory. For example you can add them to `/var/custom-runner`.
5. Verify the scripts can be executed by running `chmod +x path_to_script` in the command line.
6. Update the Runner config file:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 17 additions & 1 deletion README.md
@@ -1 +1,17 @@
# orka-integrations
# Orka by MacStadium Integrations

[![MIT licensed][badge-license]](LICENSE)

This repository contains integrations between [Orka by MacStadium][orka] and different CI/CD systems.

### Jenkins

MacStadium provides a Jenkins plugin that integrates with Orka. It can be found [here][jenkins-plugin].

### GitLab

The integration guide for GitLab can be found [here](GitLab/README.md).

[orka]: https://www.macstadium.com/orka
[jenkins-plugin]: https://plugins.jenkins.io/macstadium-orka
[badge-license]: https://img.shields.io/badge/License-MIT-green.svg

0 comments on commit ad858ac

Please sign in to comment.