Skip to content

Commit 4469a79

Browse files
authored
Merge branch 'main' into convert-porter-porter-to-actions-20230819-025002
2 parents 68ff933 + 835b351 commit 4469a79

File tree

455 files changed

+3880
-30210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

455 files changed

+3880
-30210
lines changed

.github/workflows/check-licenses.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check licenses
2+
on:
3+
push:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- name: Set up Go
17+
uses: actions/setup-go@v3
18+
with:
19+
go-version-file: go.mod
20+
cache: true
21+
- name: Install go-licenses
22+
run: go install github.com/google/go-licenses@v1.6.0
23+
- name: Check licenses
24+
run: |
25+
go-licenses check ./... \
26+
--ignore github.com/xi2/xz,golang.org/x/sys/unix # https://github.com/xi2/xz/blob/master/LICENSE

CONTRIBUTING.md

+13-9
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ how things will go.
3939
If this is your first contribution to Porter, we have a [tutorial] that walks you
4040
through how to setup your developer environment, make a change and test it.
4141

42-
[tutorial]: https://getporter.org/contribute/tutorial/
42+
[tutorial]: https://getporter.org/docs/contribute/tutorial/
4343

4444
## Code of Conduct
4545

@@ -87,15 +87,15 @@ When you create your first pull request, add your name to the bottom of our
8787
[board]: https://getporter.org/board
8888
[slack]: https://getporter.org/community#slack
8989
[roadmap]: https://getporter.org/src/README.md#roadmap
90-
[pep]: https://getporter.org/contribute/proposals/
90+
[pep]: https://getporter.org/docs/contribute/proposals/
9191

9292
## Which branch to use
9393

9494
Unless the issue specifically mentions a branch, please create your feature branch from the **main** branch.
9595

9696
For example:
9797

98-
```
98+
```bash
9999
# Make sure you have the most recent changes to main
100100
git checkout main
101101
git pull
@@ -177,7 +177,7 @@ have the right to contribute the code you are submitting to the project.
177177

178178
You sign-off by adding the following to your commit messages:
179179

180-
```
180+
```bash
181181
Author: Your Name <your.name@example.com>
182182
Date: Thu Feb 2 11:41:15 2018 -0800
183183

@@ -191,12 +191,16 @@ be rejected by the automated DCO check.
191191

192192
Git has a `-s` command line option to do this automatically:
193193

194-
git commit -s -m 'This is my commit message'
194+
```
195+
git commit -s -m 'This is my commit message'
196+
```
195197

196198
If you forgot to do this and have not yet pushed your changes to the remote
197199
repository, you can amend your commit with the sign-off by running
198200

199-
git commit --amend -s
201+
```
202+
git commit --amend -s
203+
```
200204

201205
## The life of a pull request
202206

@@ -416,7 +420,7 @@ site/docs.
416420

417421
or use only Hugo
418422

419-
1. Download and install [Hugo 0.115.4](https://github.com/gohugoio/hugo/releases/tag/v0.115.4) extended version.
423+
1. Download and install [Hugo 0.117.0](https://github.com/gohugoio/hugo/releases/tag/v0.117.0) extended version.
420424
2. `cd docs`
421425
3. `hugo server --watch`
422426

@@ -652,7 +656,7 @@ When you realize that you may need to make a breaking change, discuss it with a
652656
Here are some examples of breaking changes:
653657

654658
* The schema of porter.yaml changed.
655-
* The schema of Porter's [file formats](https://getporter.org/reference/file-formats) changed.
659+
* The schema of Porter's [file formats](https://getporter.org/references/file-formats) changed.
656660
* The schema of Porter's [config file](https://getporter.org/configuration/#config-file) changed.
657661
* Flags or behavior of a CLI command changed, such as removing a flag or adding a validation that can result in a hard error, preventing the command from running.
658662

@@ -680,5 +684,5 @@ Our [version strategy] explains how we version the project, when you should expe
680684
breaking changes in a release, and the process for the v1 release.
681685

682686
[cdn]: https://getporter.org/src/infra/cdn.md
683-
[version strategy]: https://getporter.org/project/version-strategy/
687+
[version strategy]: https://getporter.org/references/version-strategy/
684688
[Custom Windows CI Agent]: https://getporter.org/src/infra/custom-windows-ci-agent.md

CONTRIBUTORS.md

+85-77
Original file line numberDiff line numberDiff line change
@@ -9,80 +9,88 @@ pull request. If you are a contributor in other ways other than code, please
99
either submit a pull request adding your name, or mention it to another maintainer
1010
and we will add you. **All** contributors belong here. 💯
1111

12-
* [Carolyn Van Slyck](https://github.com/carolynvs) (Co-Creator of Porter)
13-
* [Jeremy Rickard](https://github.com/jeremyrickard) (Co-Creator of Porter)
14-
* [Vaughn Dice](https://github.com/vdice)
15-
* [Reddy Prasad](https://github.com/dev-drprasad)
16-
* [Thorsten Hans](https://github.com/ThorstenHans)
17-
* [Ronan Flynn-Curran](https://github.com/flynnduism)
18-
* [Allan Guwatudde](https://github.com/AGMETEOR)
19-
* [Josh Dolitsky](https://github.com/jdolitsky)
20-
* [Urvashi Reddy](https://github.com/youreddy)
21-
* [Jennifer Davis](https://github.com/iennae)
22-
* [Adam Reese](https://github.com/adamreese)
23-
* [Simon Davies](https://github.com/simongdavies)
24-
* [Phillip Ahereza](https://github.com/phillipahereza)
25-
* [Ivan Towlson](https://github.com/itowlson)
26-
* [Scott Coulton](https://github.com/scotty-c)
27-
* [Radu Matei](https://github.com/radu-matei)
28-
* [Raymond Kao](https://github.com/raykao)
29-
* [Ryan Moran](https://github.com/ryanmoran)
30-
* [Sean Harvey](https://github.com/halkyon)
31-
* [SpiLLeR](https://github.com/SpiLLeR)
32-
* [Weidong Feng](https://github.com/fenngwd)
33-
* [Y.Horie](https://github.com/u5surf)
34-
* [Zhaoyang Jiang](https://github.com/JiangZhaoYang)
35-
* [Gauri Madhok](https://github.com/gaurimadhok)
36-
* [Abhishek Gupta](https://github.com/abhirockzz)
37-
* [Anubhav Mishra](https://github.com/anubhavmishra)
38-
* [Aravind](https://github.com/scriptonist)
39-
* [Artem](https://github.com/SuddenGunter)
40-
* [Ben Wilkinson](https://github.com/brwilkinson)
41-
* [Brad](https://github.com/bradcypert)
42-
* [Clarence Bakirtzidis](https://github.com/clarenceb)
43-
* [Cory O'Daniel](https://github.com/coryodaniel)
44-
* [Hongchao Deng](https://github.com/hongchaodeng)
45-
* [John Reese](https://github.com/jpreese)
46-
* [Lanre Adelowo](https://github.com/adelowo)
47-
* [Matt Butcher](https://github.com/technosophos)
48-
* [Michael William Boldt](https://github.com/mboldt)
49-
* [Mohamed Chorfa](https://github.com/MChorfa)
50-
* [Don Stewart](https://github.com/donmstewart)
51-
* [Nicholas Carrigan](https://github.com/nhcarrigan)
52-
* [Stéphane Este-Gracias](https://github.com/sestegra)
53-
* [Jeetu Kumar](https://github.com/i-am-jeetu)
54-
* [Divyam Bhasin](https://github.com/divbhasin)
55-
* [Ritesh Yadav](https://github.com/DARK-art108)
56-
* [Jérémy Audiger](https://github.com/jaudiger)
57-
* [Om More](https://github.com/thisisommore)
58-
* [Avinash Upadhyaya](https://github.com/avinashupadhya99)
59-
* [Mike Barkas](https://github.com/mikebarkas)
60-
* [Joshua Bezaleel Abednego](https://github.com/joshuabezaleel)
61-
* [Avinash Upadhyaya](https://github.com/avinashupadhya99)
62-
* [Mahendra Bishnoi](https://github.com/mahendrabishnoi2)
63-
* [Yingrong Zhao](https://github.com/VinozzZ)
64-
* [Saksham Sharma](https://github.com/sakkshm26)
65-
* [Jeremy Goss](https://github.com/Jemgoss)
66-
* [Chioma Onyekpere](https://github.com/Simpcyclassy)
67-
* [Saksham Sharma](https://github.com/sakkshm26)
68-
* [Quentin Petraroia](https://github.com/qpetraroia)
69-
* [Tamir Kamara](https://github.com/tamirkamara)
70-
* [Chioma Onyekpere](https://github.com/Simpcyclassy)
71-
* [Hrittik Roy](https://github.com/hrittikhere)
72-
* [Tanmay Chaudhry](https://github.com/tchaudhry91)
73-
* [Priyanshu Singh](https://github.com/reveurguy)
74-
* [Kevin Barbour](https://github.com/kevinbarbour)
75-
* [Epsxy](https://github.com/epsxy)
76-
* [Jens Arnfast](https://github.com/jarnfast)
77-
* [Madhu M Pandurangi](https://github.com/MadhuMPandurangi)
78-
* [Karanjot Singh](https://github.com/0xquark)
79-
* [Omar Kohl](https://github.com/omarkohl)
80-
* [James Blair](https://github.com/jmhbnz)
81-
* [Chengwei Guo](https://github.com/cw-Guo)
82-
* [Sarah Christoff](https://github.com/schristoff)
83-
* [Aleksey Barabanov](https://github.com/alekseybb197)
84-
* [Sanskar Bhushan](https://github.com/sbdtu5498)
85-
* [Tomi Paananen](https://github.com/tompaana)
86-
* [Troy Connor](https://github.com/troy0820)
87-
* [Phill Gibson](https://github.com/phillipgibson)
88-
* [Ludvig Liljenberg](https://github.com/ludfjig)
12+
- [Carolyn Van Slyck](https://github.com/carolynvs) (Co-Creator of Porter)
13+
- [Jeremy Rickard](https://github.com/jeremyrickard) (Co-Creator of Porter)
14+
- [Vaughn Dice](https://github.com/vdice)
15+
- [Reddy Prasad](https://github.com/dev-drprasad)
16+
- [Thorsten Hans](https://github.com/ThorstenHans)
17+
- [Ronan Flynn-Curran](https://github.com/flynnduism)
18+
- [Allan Guwatudde](https://github.com/AGMETEOR)
19+
- [Josh Dolitsky](https://github.com/jdolitsky)
20+
- [Urvashi Reddy](https://github.com/youreddy)
21+
- [Jennifer Davis](https://github.com/iennae)
22+
- [Adam Reese](https://github.com/adamreese)
23+
- [Simon Davies](https://github.com/simongdavies)
24+
- [Phillip Ahereza](https://github.com/phillipahereza)
25+
- [Ivan Towlson](https://github.com/itowlson)
26+
- [Scott Coulton](https://github.com/scotty-c)
27+
- [Radu Matei](https://github.com/radu-matei)
28+
- [Raymond Kao](https://github.com/raykao)
29+
- [Ryan Moran](https://github.com/ryanmoran)
30+
- [Sean Harvey](https://github.com/halkyon)
31+
- [SpiLLeR](https://github.com/SpiLLeR)
32+
- [Weidong Feng](https://github.com/fenngwd)
33+
- [Y.Horie](https://github.com/u5surf)
34+
- [Zhaoyang Jiang](https://github.com/JiangZhaoYang)
35+
- [Gauri Madhok](https://github.com/gaurimadhok)
36+
- [Abhishek Gupta](https://github.com/abhirockzz)
37+
- [Anubhav Mishra](https://github.com/anubhavmishra)
38+
- [Aravind](https://github.com/scriptonist)
39+
- [Artem](https://github.com/SuddenGunter)
40+
- [Ben Wilkinson](https://github.com/brwilkinson)
41+
- [Brad](https://github.com/bradcypert)
42+
- [Clarence Bakirtzidis](https://github.com/clarenceb)
43+
- [Cory O'Daniel](https://github.com/coryodaniel)
44+
- [Hongchao Deng](https://github.com/hongchaodeng)
45+
- [John Reese](https://github.com/jpreese)
46+
- [Lanre Adelowo](https://github.com/adelowo)
47+
- [Matt Butcher](https://github.com/technosophos)
48+
- [Michael William Boldt](https://github.com/mboldt)
49+
- [Mohamed Chorfa](https://github.com/MChorfa)
50+
- [Don Stewart](https://github.com/donmstewart)
51+
- [Nicholas Carrigan](https://github.com/nhcarrigan)
52+
- [Stéphane Este-Gracias](https://github.com/sestegra)
53+
- [Jeetu Kumar](https://github.com/i-am-jeetu)
54+
- [Divyam Bhasin](https://github.com/divbhasin)
55+
- [Ritesh Yadav](https://github.com/DARK-art108)
56+
- [Jérémy Audiger](https://github.com/jaudiger)
57+
- [Om More](https://github.com/thisisommore)
58+
- [Avinash Upadhyaya](https://github.com/avinashupadhya99)
59+
- [Mike Barkas](https://github.com/mikebarkas)
60+
- [Joshua Bezaleel Abednego](https://github.com/joshuabezaleel)
61+
- [Avinash Upadhyaya](https://github.com/avinashupadhya99)
62+
- [Mahendra Bishnoi](https://github.com/mahendrabishnoi2)
63+
- [Yingrong Zhao](https://github.com/VinozzZ)
64+
- [Saksham Sharma](https://github.com/sakkshm26)
65+
- [Jeremy Goss](https://github.com/Jemgoss)
66+
- [Chioma Onyekpere](https://github.com/Simpcyclassy)
67+
- [Saksham Sharma](https://github.com/sakkshm26)
68+
- [Quentin Petraroia](https://github.com/qpetraroia)
69+
- [Tamir Kamara](https://github.com/tamirkamara)
70+
- [Chioma Onyekpere](https://github.com/Simpcyclassy)
71+
- [Hrittik Roy](https://github.com/hrittikhere)
72+
- [Tanmay Chaudhry](https://github.com/tchaudhry91)
73+
- [Priyanshu Singh](https://github.com/reveurguy)
74+
- [Kevin Barbour](https://github.com/kevinbarbour)
75+
- [Epsxy](https://github.com/epsxy)
76+
- [Jens Arnfast](https://github.com/jarnfast)
77+
- [Madhu M Pandurangi](https://github.com/MadhuMPandurangi)
78+
- [Karanjot Singh](https://github.com/0xquark)
79+
- [Omar Kohl](https://github.com/omarkohl)
80+
- [James Blair](https://github.com/jmhbnz)
81+
- [Chengwei Guo](https://github.com/cw-Guo)
82+
- [Sarah Christoff](https://github.com/schristoff)
83+
- [Aleksey Barabanov](https://github.com/alekseybb197)
84+
- [Sanskar Bhushan](https://github.com/sbdtu5498)
85+
- [Tomi Paananen](https://github.com/tompaana)
86+
- [Troy Connor](https://github.com/troy0820)
87+
- [Phill Gibson](https://github.com/phillipgibson)
88+
- [Ludvig Liljenberg](https://github.com/ludfjig)
89+
- [Maninderjit Bindra](https://github.com/manisbindra)
90+
- [Gonçalo Montalvão Marques](https://github.com/gonmmarques)
91+
- [Sumit Kumar Soni](https://github.com/zelfroster)
92+
- [Chaiyapruek Muangsiri](https://github.com/cmppoon)
93+
- [Xin Fu](https://github.com/imfing)
94+
- [KallyDev](https://github.com/kallydev)
95+
- [Salman Shah](https://github.com/sbshah97)
96+
- [Ray Terrill](https://github.com/rayterrill)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ Plugins let you store Porter's data and retrieve secrets from an external servic
6060
[Open an Issue]: https://github.com/getporter/porter/issues/new/choose
6161
[Forum]: https://getporter.org/forum/
6262
[Dev Meeting]: https://getporter.org/community/#dev-meeting
63-
[Porter Enhancement Proposals]: https://getporter.org/contribute/proposals/
63+
[Porter Enhancement Proposals]: https://getporter.org/docs/contribute/proposals/
6464

6565
# Looking for Contributors
6666

6767
Want to work on Porter with us? 💖 We are actively seeking out new contributors
6868
with the hopes of building up both casual contributors and enticing some of you
6969
into becoming reviewers and maintainers.
7070

71-
<p align="center">Start with our <a href="https://getporter.org/contribute/">New Contributors Guide</a>
71+
<p align="center">Start with our <a href="https://getporter.org/docs/contribute/">New Contributors Guide</a>
7272

7373
Porter wouldn't be possible without our [contributors][contributors], carrying
7474
the load and making it better every day! 🙇‍♀️

build/testdata/bundles/mysql/porter.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
schemaVersion: 1.0.0
1+
schemaVersion: 1.0.1
22
name: mysql
33
version: 0.1.4
44
registry: "localhost:5000"
@@ -57,7 +57,7 @@ uninstall:
5757
- exec:
5858
command: echo
5959
arguments:
60-
- uninstalled
60+
- uninstall mysql
6161

6262
outputs:
6363
- name: mysql-password

build/testdata/bundles/wordpress/porter.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
schemaVersion: 1.0.0
1+
schemaVersion: 1.0.1
22
name: wordpress
33
version: 0.1.4
44
registry: "localhost:5000"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
install() {
5+
mkdir -p /cnab/app/outputs
6+
echo "topsecret-blog" >> /cnab/app/outputs/wordpress-password
7+
}
8+
9+
ping() {
10+
echo ping
11+
}
12+
13+
# Call the requested function and pass the arguments as-is
14+
"$@"

0 commit comments

Comments
 (0)