Move scripts used in CI to the new location (#5198)

* Move CI scripts and update references

* Update paths in .gitlab-ci.yml

* Removed outdated entries from CODEOWNERS
This commit is contained in:
Sergejs Kostjucenko
2022-04-26 08:39:31 +03:00
committed by GitHub
parent 9a840bb12a
commit 631a5db536
61 changed files with 46 additions and 48 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Check labels
run: bash ${{ github.workspace }}/scripts/github/check_labels.sh
run: bash ${{ github.workspace }}/scripts/ci/github/check_labels.sh
env:
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -62,7 +62,7 @@ jobs:
$CMD >> output.txt
sed -z -i 's/\n\n/\n/g' output.txt
cat output.txt | egrep -n -i ''
SUMMARY=$(./scripts/github/extrinsic-ordering-filter.sh output.txt)
SUMMARY=$(./scripts/ci/github/extrinsic-ordering-filter.sh output.txt)
echo -e $SUMMARY
echo -e $SUMMARY >> output.txt
+3 -3
View File
@@ -42,7 +42,7 @@ jobs:
- name: Run fuzzer
working-directory: xcm/xcm-simulator/fuzzer/
run: bash $GITHUB_WORKSPACE/scripts/github/run_fuzzer.sh xcm-fuzzer
run: bash $GITHUB_WORKSPACE/scripts/ci/github/run_fuzzer.sh xcm-fuzzer
erasure-coding-round-trip:
runs-on: ubuntu-latest
@@ -88,7 +88,7 @@ jobs:
- name: Run fuzzer
working-directory: erasure-coding/fuzzer
run: bash $GITHUB_WORKSPACE/scripts/github/run_fuzzer.sh round_trip
run: bash $GITHUB_WORKSPACE/scripts/ci/github/run_fuzzer.sh round_trip
erasure-coding-reconstruct:
runs-on: ubuntu-latest
@@ -134,4 +134,4 @@ jobs:
- name: Run fuzzer
working-directory: erasure-coding/fuzzer
run: bash $GITHUB_WORKSPACE/scripts/github/run_fuzzer.sh reconstruct
run: bash $GITHUB_WORKSPACE/scripts/ci/github/run_fuzzer.sh reconstruct
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
file: scripts/dockerfiles/polkadot_injected_release.Dockerfile
file: scripts/ci/dockerfiles/polkadot_injected_release.Dockerfile
tags: |
parity/polkadot:latest
parity/polkadot:${{ github.event.inputs.version }}
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
file: scripts/dockerfiles/polkadot_injected_release.Dockerfile
file: scripts/ci/dockerfiles/polkadot_injected_release.Dockerfile
tags: |
parity/polkadot:latest
parity/polkadot:${{ github.event.release.tag_name }}
+5 -5
View File
@@ -86,7 +86,7 @@ jobs:
- name: Prepare tooling
run: |
cd polkadot/scripts/changelog
cd polkadot/scripts/ci/changelog
gem install bundler changelogerator:0.9.1
bundle install
changelogerator --help
@@ -115,7 +115,7 @@ jobs:
ls -al $KUSAMA_DIGEST
ls -al $POLKADOT_DIGEST
cd polkadot/scripts/changelog
cd polkadot/scripts/ci/changelog
./bin/changelog ${GITHUB_REF}
ls -al release-notes.md
@@ -126,7 +126,7 @@ jobs:
with:
name: release-notes-context
path: |
polkadot/scripts/changelog/context.json
polkadot/scripts/ci/changelog/context.json
**/*_srtool_output.json
- name: Create draft release
@@ -137,7 +137,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Polkadot ${{ github.ref }}
body_path: ./polkadot/scripts/changelog/release-notes.md
body_path: ./polkadot/scripts/ci/changelog/release-notes.md
draft: true
publish-runtimes:
@@ -160,7 +160,7 @@ jobs:
- name: Get runtime version
id: get-runtime-ver
run: |
echo "require './scripts/github/lib.rb'" > script.rb
echo "require './scripts/ci/github/lib.rb'" > script.rb
echo "puts get_runtime(runtime: \"${{ matrix.runtime }}\", runtime_dir: \"$RUNTIME_DIR\")" >> script.rb
echo "Current folder: $PWD"