-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (73 loc) · 1.99 KB
/
setup-flow.yml
File metadata and controls
73 lines (73 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: setup-flow
on:
push:
paths:
- "src/scripts/**/*.py"
workflow_dispatch:
defaults:
run:
working-directory: /app
jobs:
prep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: display the directory structure
run: find .
setup:
runs-on: ubuntu-latest
needs: [prep]
steps:
- uses: actions/checkout@v1
- name: list everything
run: |
pwd
find .
- name: githup action to run setup
run: |
pwd
/bin/bash -c ./run-fast.sh
- name: notification
env:
slackurl: https://hooks.slack.com/services/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
run: |
ls -l /bin/messlack
# curl -X POST -H 'Content-type: application/json' --data '{"text":"setup completed"}' $slackurl
populateTables:
runs-on: ubuntu-latest
needs: [prep]
steps:
- uses: actions/checkout@v1
- name: list everything
run: |
pwd
find .
- name: githup action to run setup
run: |
pwd
/bin/bash -c ../src/scripts/shell/populateTables
- name: message
run: |
echo "messtext=`/bin/date -R` datateamtest - populateTables completed" >> $GITHUB_ENV
- name: notification
run: |
echo curl -X POST -H Content-type: application/json --data {"text":"$messtext"} $SLACK_URL
processTables:
runs-on: ubuntu-latest
needs: [prep]
steps:
- uses: actions/checkout@v1
- name: list everything
run: |
pwd
find .
- name: githup action to run setup
run: |
pwd
/bin/bash -c ../src/scripts/shell/processTables
- name: message
run: |
echo "messtext=`/bin/date -R` datateamtest - processTables completed" >> $GITHUB_ENV
- name: notification
run: |
echo curl -X POST -H Content-type: application/json --data {"text":"$messtext"} $SLACK_URL