1010 inputs :
1111 name :
1212 # Friendly description to be shown in the UI instead of 'name'
13- description : ' Person to greet '
13+ description : ' Manual start the CI workflow '
1414 # Default value if no value is explicitly provided
15- default : ' World '
15+ default : ' Yes '
1616 # Input has to be provided for the workflow to run
1717 required : true
1818
3131 steps :
3232 # Runs a single command using the runners shell
3333
34- - name : Send greeting
35- run : echo "Hello ${{ github.event.inputs.name }}"
34+ - name : Start the CI
35+ run : echo "Start the CI anyway ${{ github.event.inputs.name }}"
3636
3737 - name : Checkout daq-buildtools
3838 uses : actions/checkout@v2
4848
4949 - name : setup dev area and checkout code
5050 run : |
51- pwd
52- ls $GITHUB_WORKSPACE
5351 export DBT_ROOT=$GITHUB_WORKSPACE/daq-buildtools
5452 source ${DBT_ROOT}/scripts/dbt-setup-tools.sh
5553 add_many_paths PATH ${DBT_ROOT}/bin ${DBT_ROOT}/scripts
@@ -58,37 +56,24 @@ jobs:
5856 cp $GITHUB_WORKSPACE/daq-release/configs/dunedaq-develop/release_manifest.sh .
5957 $GITHUB_WORKSPACE/daq-release/scripts/checkout-package.sh -f ./release_manifest.sh -a -b develop -o sourcecode
6058
61- - name : setup build env
59+ - name : setup build env and build the dev release
6260 run : |
63- pwd
64- printenv
6561 export DBT_ROOT=$GITHUB_WORKSPACE/daq-buildtools
6662 source ${DBT_ROOT}/scripts/dbt-setup-tools.sh
6763 add_many_paths PATH ${DBT_ROOT}/bin ${DBT_ROOT}/scripts
6864 cd $GITHUB_WORKSPACE/dev
6965 export DBT_AREA_ROOT=$PWD
7066 export DBT_AREA_FILE="dbt-settings"
7167 source ${DBT_AREA_ROOT}/${DBT_AREA_FILE}
72- echo "setup ups area dbt complete"
7368 setup_ups_product_areas || true
74- echo "setup ups products area complete"
75- which ups || true
7669 setup -B python ${dune_python_version} || true
77- echo "setup python complete"
7870 source ${DBT_AREA_ROOT}/${DBT_VENV}/bin/activate
79- which python
80- echo "activated python venv"
8171 setup_ups_products dune_devtools || true
8272 setup_ups_products dune_systems || true
8373 setup_ups_products dune_externals || true
8474 export DBT_INSTALL_DIR=${DBT_AREA_ROOT}/install
8575 export DBT_SETUP_BUILD_ENVIRONMENT_SCRIPT_SOURCED=1
8676 dbt-build.sh --install
8777
88- - name : build the release
89- run : |
90- cd $GITHUB_WORKSPACE/dev
91- dbt-build.sh --install
92-
9378
9479
0 commit comments