Skip to content

Commit 68cc2a8

Browse files
committed
Disable autofixes by pre-commit CI and satisfy prettier
Signed-off-by: Nikola Forró <nforro@redhat.com>
1 parent 14a1491 commit 68cc2a8

File tree

3 files changed

+18
-20
lines changed

3 files changed

+18
-20
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ repos:
2020
args:
2121
- https://github.com/packit/packit.dev.git
2222
stages: [manual, pre-push]
23+
24+
ci:
25+
autofix_prs: false

posts/aws-and-image-builder/index.md

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ automated solution. Below you can find a summary of all the needed manual steps;
4949
I am quite sure after reading them, you will want to automate them with Packit!
5050

5151
- Build an RPM package with your pull request changes through **COPR**, go to https://copr.fedorainfracloud.org
52-
5352
1. Install `copr-cli`.
5453
2. Create your account and service token.
5554
3. Add your token to `~/.config/copr.
@@ -58,25 +57,23 @@ I am quite sure after reading them, you will want to automate them with Packit!
5857
6. **WAIT for the build to finish**.
5958

6059
- Create a new cloud image through the **Image Builder console**, go to https://console.redhat.com/insights/image-builder
61-
62-
7. Login with your _Red Hat developer_ account.
63-
8. Click on the `Create Image` button, choose _AWS image_ type and follow the wizard.
64-
9. **WAIT for the build to finish**.
65-
10. Open the `Launch` link for the builded image.
60+
1. Login with your _Red Hat developer_ account.
61+
2. Click on the `Create Image` button, choose _AWS image_ type and follow the wizard.
62+
3. **WAIT for the build to finish**.
63+
4. Open the `Launch` link for the builded image.
6664

6765
- Launch and access the AWS image through the **AWS management console**, go to https://aws.amazon.com/console/
68-
69-
11. The previous link will open an AWS console tab with the
70-
_Launch an Instance_ wizard preset to use the builded image.
71-
You need to login into the _AWS management console_ using an _AWS Account ID_
72-
allowed to access the _AMI Image_ you just created.
73-
12. Select a **Key pair**, or create one if you don't have it already,
74-
to be able to ssh the image later.
75-
13. Click on `Launch Instance`
76-
14. Connect to instance using an ssh client
77-
15. Add the previously created COPR repo to the list of available dnf repositories.
78-
16. Install the package you have created at step number 4.
79-
17. Now you are ready to test your code in a real cloud image.
66+
1. The previous link will open an AWS console tab with the
67+
_Launch an Instance_ wizard preset to use the builded image.
68+
You need to login into the _AWS management console_ using an _AWS Account ID_
69+
allowed to access the _AMI Image_ you just created.
70+
2. Select a **Key pair**, or create one if you don't have it already,
71+
to be able to ssh the image later.
72+
3. Click on `Launch Instance`
73+
4. Connect to instance using an ssh client
74+
5. Add the previously created COPR repo to the list of available dnf repositories.
75+
6. Install the package you have created at step number 4.
76+
7. Now you are ready to test your code in a real cloud image.
8077

8178
For every new pull request you want to test directly in a cloud image you have to repeat
8279
steps 4-16 or automate them through Packit!

src/pages/flock-2025-workshop.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,13 @@ in general in the `rawhide` branch, but for experimentation during the workshop
3636
Then, the simplest ways of creating the config:
3737

3838
- Use `packit dist-git init` (requires `packit` installed locally, e.g., `dnf install packit`)
39-
4039
1. In your cloned dist-git repository, switch to the target branch.
4140
2. Run the command:
4241
```bash
4342
packit dist-git init
4443
```
4544

4645
- Use our template
47-
4846
1. Manually create a `.packit.yaml` file in your target branch.
4947
2. Copy the content from the [Downstream configuration template](https://packit.dev/docs/configuration/downstream_configuration_template#template) and adjust it to your needs.
5048

0 commit comments

Comments
 (0)