Skip to content

Commit

Permalink
remove domains and change readme
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphermes committed Dec 10, 2024
1 parent afaa51e commit 708743d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Continuous Integration

on: [push]

jobs:
analyse:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'

- name: Validate composer.json
run: composer validate

- name: Install dependencies
run: composer install

- name: Run tests
run: composer test

- name: Check coding standards
run: composer cs-check

- name: Check static analysis (PHPStan)
run: composer stan

- name: Check messdetector
run: composer md-check
6 changes: 0 additions & 6 deletions .gitlab-ci.yml

This file was deleted.

20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
# Sitemap:

## Integration

### Add composer registry
```
composer config repositories.gitlab.nxs360.com/461 '{"type": "composer", "url": "https://gitlab.nxs360.com/api/v4/group/461/-/packages/composer/packages.json"}'
```

### Add Gitlab domain
```
composer config gitlab-domains gitlab.nxs360.com
```

### Authentication
Go to Gitlab and create a personal access token. Then create an **auth.json** file:
```
composer config gitlab-token.gitlab.nxs360.com <personal_access_token>
```

Make sure to add **auth.json** to your **.gitignore**.

## Installation

1. Install dependency
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
],
"process-timeout": 900,
"chromium-revision": 814168,
"gitlab-domains": [
"gitlab.nxs360.com"
],
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
Expand Down

0 comments on commit 708743d

Please sign in to comment.