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 }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+53-16Lines changed: 53 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,15 +45,28 @@ In case you are new to the containers topic, we **strongly recommended** that yo
45
45
46
46
## Download and Run
47
47
48
-
Once the pre-requisites above are all met, you can either use the pre-built Docker image for the `btp-setup-automator`, or build it yourself.
48
+
Once the pre-requisites above are all met, you can either use one of the pre-built Docker images for the `btp-setup-automator`, or build it yourself.
49
49
50
50
### Option 1: Start Docker Container via Pre-Built Image (recommended)
51
51
52
-
This is the fastest way to use the `btp-setup-automator`. Open a terminal window on your machine and run the following command to pull the Docker image from the GitHub repository and start a container based upon it:
52
+
This is the fastest way to use the `btp-setup-automator`. We offer two images for the `btp-setup-automator`:
53
53
54
-
```bash
55
-
docker container run --rm -it --name "btp-setup-automator""ghcr.io/sap-samples/btp-setup-automator:main"
56
-
```
54
+
- The **release** image: This is a stable version of the `btp-setup-automator` and corresponds to the latest release visible on the [release section](https://github.com/SAP-samples/btp-setup-automator/releases) of the repository. The corresponding code is taken from the [`main branch`](https://github.com/SAP-samples/btp-setup-automator/tree/main) of the repository.
55
+
- The **dev** image: This is an up-to-date version of the `btp-setup-automator`. It usually contains newer features and fixes but was not yet officially released. The corresponding code is taken from the [`dev branch`](https://github.com/SAP-samples/btp-setup-automator/tree/dev) of the repository.
56
+
57
+
Open a terminal window on your machine and run the following command to pull the Docker image from the GitHub repository and start a container based upon it.
58
+
59
+
- For the **release** image:
60
+
61
+
```bash
62
+
docker container run --rm -it --name "btp-setup-automator""ghcr.io/sap-samples/btp-setup-automator:latest"
63
+
```
64
+
65
+
- For the **dev** image:
66
+
67
+
```bash
68
+
docker container run --rm -it --name "btp-setup-automator""ghcr.io/sap-samples/btp-setup-automator-dev:dev"
69
+
```
57
70
58
71
Here's a brief explanation of the options used:
59
72
@@ -77,31 +90,53 @@ You can now run the main script `btpsa` with the following command and you'll be
77
90
78
91
The tool starts to execute and the only thing you need to type in is your password for your SAP BTP account.
79
92
80
-
> 📝 Tip - If you are already using VS Code, you should execute this command instead, so that the container runs "detached" (`-d`) from your command line session:
93
+
> 📝 Tip - If you are already using VS Code, you should execute this command instead, so that the container runs "detached" (`-d`) from your command line session. Here teh command when using the release image
81
94
>
82
95
> ```bash
83
-
> docker container run --rm -it -d --name "btp-setup-automator""ghcr.io/sap-samples/btp-setup-automator:main"
96
+
> docker container run --rm -it -d --name "btp-setup-automator" "ghcr.io/sap-samples/btp-setup-automator:latest"
84
97
> ```
85
98
86
99
You can also use the provided `run` files to pull the image from the registry and start the container via one command. To do so execute the following command (clone this repo to make the commands available to you):
87
100
88
101
- bash (macOS/Linux)
102
+
- **release** image:
103
+
104
+
```bash
105
+
./run RunReleaseFromRegistry
106
+
```
107
+
108
+
- **dev** image:
89
109
90
-
```bash
91
-
./run RunFromRegistry
92
-
```
110
+
```bash
111
+
./run RunDevFromRegistry
112
+
```
93
113
94
114
- Command Prompt (Windows):
95
115
96
-
```cmd
97
-
.\run.bat RunFromRegistry
98
-
```
116
+
- **release** image:
117
+
118
+
```cmd
119
+
.\run.bat RunReleaseFromRegistry
120
+
```
121
+
122
+
- **dev** image:
123
+
124
+
```cmd
125
+
.\run.bat RunDevFromRegistry
126
+
```
99
127
100
128
- PowerShell Core (Cross Platform):
129
+
- **release** image:
130
+
131
+
```powershell
132
+
.\run.ps1 -RunReleaseFromRegistry $True
133
+
```
101
134
102
-
```powershell
103
-
.\run.ps1 -RunFromRegistry $True
104
-
```
135
+
- **dev** image:
136
+
137
+
```powershell
138
+
.\run.ps1 -RunDevFromRegistry $True
139
+
```
105
140
106
141
### Option 2: Start Docker Container With Self-Built Image
107
142
@@ -208,6 +243,8 @@ Checkout [the issues section in this repo](https://github.com/SAP-samples/btp-se
208
243
209
244
Checkout the [CONTRIBUTING.md file](CONTRIBUTING.md) for more details on how to contribute to this open source project.
210
245
246
+
> 📝 Tip - If you provide a pull request make sure that the basis of your work as well as the target for your pull request is the `dev` branch of this repository.
247
+
211
248
## Code of conduct
212
249
213
250
Checkout the [CODE_OF_CONDUCT.md file](CODE_OF_CONDUCT.md) for more details on the code of conduct for this open source project.
0 commit comments