Skip to content

Commit

Permalink
fix(ci): move files from ci directory to .github (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored Aug 27, 2024
1 parent 4ceb514 commit 373f1ef
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 216 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/centreon-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: ./.github/actions/runner-docker
with:
registry_url: ${{ vars.DOCKER_INTERNAL_REGISTRY_URL }}
script_name: /src/ci/scripts/collect-unit-tests
script_name: /src/.github/scripts/collect-unit-tests
image_name: centreon-collect-${{ matrix.image }}
image_version: ${{ needs.get-version.outputs.img_version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:
- develop
- dev-[2-9][0-9].[0-9][0-9].x
paths:
- 'ci/docker/**'
- '.github/docker/**'
pull_request:
paths:
- 'ci/docker/**'
- '.github/docker/**'

jobs:
get-version:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- uses: docker/build-push-action@15560696de535e4014efeff63c48f16952e52dd1 # v6.2.0
with:
file: ci/docker/Dockerfile.${{ matrix.project }}-${{ matrix.distrib }}
file: .github/docker/Dockerfile.${{ matrix.project }}-${{ matrix.distrib }}
context: .
build-args: "REGISTRY_URL=${{ vars.DOCKER_PROXY_REGISTRY_URL }}"
pull: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: package rpm ${{ matrix.image }}
run: |
docker run -i --entrypoint ./ci/scripts/collect-rpm-package.sh \
docker run -i --entrypoint ./.github/scripts/collect-rpm-package.sh \
-v "$PWD:/src" \
-e DISTRIB="${{ matrix.distrib }}" \
-e VERSION="${{ inputs.major_version }}.${{ inputs.minor_version }}" \
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
uses: ./centreon-collect/.github/actions/runner-docker
with:
registry_url: ${{ vars.DOCKER_INTERNAL_REGISTRY_URL }}
script_name: centreon-collect/ci/scripts/collect-deb-package
script_name: centreon-collect/.github/scripts/collect-deb-package
image_name: centreon-collect-${{ matrix.image }}
image_version: ${{ inputs.img_version }}
env_variable: -e DISTRIB="${{ matrix.distrib }}" -e VERSION="${{ inputs.major_version }}.${{ inputs.minor_version }}" -e RELEASE="${{ inputs.release }}"
Expand Down
29 changes: 0 additions & 29 deletions ci/release/collect-release.sh

This file was deleted.

66 changes: 0 additions & 66 deletions ci/scripts/collect-rpm-delivery.sh

This file was deleted.

49 changes: 0 additions & 49 deletions ci/scripts/collect-sources-delivery.sh

This file was deleted.

66 changes: 0 additions & 66 deletions ci/scripts/collect-test-robot.sh

This file was deleted.

0 comments on commit 373f1ef

Please sign in to comment.