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

* Move CI scripts to new location

* Update references

* Update CODEOWNERS file

* Update docker/polkadot-collator_builder.Containerfile

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
This commit is contained in:
Sergejs Kostjucenko
2022-03-25 01:25:06 +02:00
committed by GitHub
parent 6ea78e9cc9
commit dc10d1520d
35 changed files with 11 additions and 15 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 }}
@@ -61,7 +61,7 @@ jobs:
$CMD >> output.txt
sed -z -i 's/\n\n/\n/g' output.txt
cat output.txt | egrep -n -i ''
SUMMARY=$(./scripts/extrinsic-ordering-filter.sh output.txt)
SUMMARY=$(./scripts/ci/extrinsic-ordering-filter.sh output.txt)
echo -e $SUMMARY
echo -e $SUMMARY >> output.txt
@@ -99,7 +99,7 @@ jobs:
- name: Prepare tooling
run: |
cd cumulus/scripts/changelog
cd cumulus/scripts/ci/changelog
gem install bundler changelogerator:0.9.1
bundle install
changelogerator --help
@@ -137,7 +137,7 @@ jobs:
ls -al $CANVAS_KUSAMA_DIGEST
echo "The diff will be computed from $REF1 to $REF2"
cd cumulus/scripts/changelog
cd cumulus/scripts/ci/changelog
./bin/changelog $REF1 $REF2 release-notes.md
ls -al release-notes.md
ls -al context.json
@@ -158,7 +158,7 @@ jobs:
with:
tag_name: parachains-${{ github.ref }}
release_name: Parachains ${{ github.ref }}
body_path: ./cumulus/scripts/changelog/release-notes.md
body_path: ./cumulus/scripts/ci/changelog/release-notes.md
draft: true
publish-runtimes:
@@ -185,7 +185,7 @@ jobs:
- name: Get runtime version for ${{ matrix.runtime }}
id: get-runtime-ver
run: |
echo "require './scripts/github/runtime-version.rb'" > script.rb
echo "require './scripts/ci/github/runtime-version.rb'" > script.rb
echo "puts get_runtime(runtime: \"${{ matrix.runtime }}\", runtime_dir: \"$RUNTIME_DIR\")" >> script.rb
echo "Current folder: $PWD"