Skip to content

Commit

Permalink
docs: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Jan 29, 2022
1 parent 392c3b7 commit b8dfa5a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 49 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ Shared pipelines designed like in Jenkins X.

Everytime, when a new repository is created a structure from `packs/{{ technology name }}` should be copied into a fresh repository.

1. Copy files and directories from this repository - `packs/{{ technology name }}` to your repository root directory
2. Run `bash ci-sync.sh`
3. Edit variables in `.github/helpers/ci-vars.env`
4. Run `python .github/helpers/apply-vars.py`
5. `git add .`
6. `git commit -m "feat: Add CI"`
7. `git push`

## pipelines

Shared pipelines are synchronized by running a pipeline "synchronize.yaml" manually from GitHub Actions panel.
Expand Down
5 changes: 5 additions & 0 deletions pipelines/.shared/.github/helpers/apply-vars.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python3

#
# NOTICE: This file is synchronized on-demand by synchronize.yaml job from a shared library directory
#

import os.path
import sys
import glob
Expand Down
49 changes: 0 additions & 49 deletions pipelines/python-release-on-tag/.github/helpers/apply-vars.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#
# NOTICE: This file is synchronized on-demand by synchronize.yaml job from a shared library directory
#
# CUSTOMIZATION: Please edit .github/helpers/ci-vars.env to modify values that are injected
#

name: release
on:
Expand Down
2 changes: 2 additions & 0 deletions pipelines/python-release-on-tag/.github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#
# NOTICE: This file is synchronized on-demand by synchronize.yaml job from a shared library directory
#
# CUSTOMIZATION: Please edit .github/helpers/ci-vars.env to modify values that are injected
#

name: Test
on:
Expand Down

0 comments on commit b8dfa5a

Please sign in to comment.