You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9180baf
Browse filesBrowse the repository at this point in the historyBrowse files
* add latest fixes from common to pattern.sh
* fix new patterns always defaulting to repo pattern name
* write yaml with two spaces instead of 4
* remove projects from default values
@@ -50,7 +50,7 @@ Navigate to your repository's root directory and run the initialization command:
50
50
51
51
```bash
52
52
# In the root of your pattern-repo
53
-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer init
53
+
podman run -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init
54
54
```
55
55
56
56
This single command will generate all the necessary files to turn your repository into a Validated Pattern.
@@ -68,7 +68,7 @@ This single command will generate all the necessary files to turn your repositor
68
68
2. **Initialize the pattern using Patternizer:**
69
69
70
70
```bash
71
-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer init
71
+
podman run -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init
72
72
```
73
73
74
74
3. **Review, commit, and push the generated files:**
@@ -90,18 +90,18 @@ This single command will generate all the necessary files to turn your repositor
90
90
91
91
### Container Usage (Recommended)
92
92
93
-
Using the prebuilt container is the easiest way to run Patternizer, as it requires no local installation. The `-v "$PWD:/repo:z"` flag mounts your current directory into the container's `/repo` workspace.
93
+
Using the prebuilt container is the easiest way to run Patternizer, as it requires no local installation. The `-v "$PWD:$PWD:z" -w "$PWD"` flag mounts your current directory into the container's `/repo` workspace.
94
94
95
95
#### **Initialize without secrets:**
96
96
97
97
```bash
98
-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer init
98
+
podman run -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init
99
99
```
100
100
101
101
#### **Initialize with secrets support:**
102
102
103
103
```bash
104
-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer init --with-secrets
104
+
podman run -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer init --with-secrets
105
105
```
106
106
107
107
#### **Upgrade an existing pattern repository:**
@@ -110,10 +110,10 @@ Use this to migrate or refresh an existing pattern repo to the latest common str
110
110
111
111
```bash
112
112
# Refresh common assets, keep your Makefile unless it lacks the include
113
-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer upgrade
113
+
podman run -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer upgrade
114
114
115
115
# Replace your Makefile with the default from Patternizer
116
-
podman run -v "$PWD:/repo:z" quay.io/validatedpatterns/patternizer upgrade --replace-makefile
116
+
podman run -v "$PWD:$PWD:z" -w "$PWD" quay.io/validatedpatterns/patternizer upgrade --replace-makefile
0 commit comments