7
7
whl-build-cu102 :
8
8
runs-on : [self-hosted, cu102]
9
9
steps :
10
+ - name : Configure AWS Credentials
11
+ uses : aws-actions/configure-aws-credentials@v1
12
+ with :
13
+ aws-access-key-id : ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
14
+ aws-region : ${{ secrets.AWS_REGION }}
15
+ aws-secret-access-key : ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
16
+
10
17
- name : Display host information
11
18
run : |
12
19
uname -a
@@ -39,11 +46,21 @@ jobs:
39
46
with :
40
47
name : wheels-cu102
41
48
path : analyzer/dist/*.whl
42
-
49
+
50
+ - name : Upload to S3
51
+ run : |
52
+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu102
43
53
44
54
whl-build-cu111 :
45
55
runs-on : [self-hosted, cu111]
46
56
steps :
57
+ - name : Configure AWS Credentials
58
+ uses : aws-actions/configure-aws-credentials@v1
59
+ with :
60
+ aws-access-key-id : ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
61
+ aws-region : ${{ secrets.AWS_REGION }}
62
+ aws-secret-access-key : ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
63
+
47
64
- name : Display host information
48
65
run : |
49
66
uname -a
77
94
name : wheels-cu111
78
95
path : analyzer/dist/*.whl
79
96
97
+ - name : Upload to S3
98
+ run : |
99
+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu111
100
+
80
101
whl-build-cu113 :
81
102
runs-on : [self-hosted, cu113]
82
103
steps :
104
+ - name : Configure AWS Credentials
105
+ uses : aws-actions/configure-aws-credentials@v1
106
+ with :
107
+ aws-access-key-id : ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
108
+ aws-region : ${{ secrets.AWS_REGION }}
109
+ aws-secret-access-key : ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
110
+
83
111
- name : Display host information
84
112
run : |
85
113
uname -a
@@ -112,10 +140,21 @@ jobs:
112
140
with :
113
141
name : wheels-cu113
114
142
path : analyzer/dist/*.whl
143
+
144
+ - name : Upload to S3
145
+ run : |
146
+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu113
115
147
116
148
whl-build-cu116 :
117
149
runs-on : [self-hosted, cu116]
118
150
steps :
151
+ - name : Configure AWS Credentials
152
+ uses : aws-actions/configure-aws-credentials@v1
153
+ with :
154
+ aws-access-key-id : ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
155
+ aws-region : ${{ secrets.AWS_REGION }}
156
+ aws-secret-access-key : ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
157
+
119
158
- name : Display host information
120
159
run : |
121
160
uname -a
@@ -148,3 +187,54 @@ jobs:
148
187
with :
149
188
name : wheels-cu116
150
189
path : analyzer/dist/*.whl
190
+
191
+ - name : Upload to S3
192
+ run : |
193
+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu116
194
+
195
+ whl-build-cu117 :
196
+ runs-on : [self-hosted, cu117]
197
+ steps :
198
+ - name : Configure AWS Credentials
199
+ uses : aws-actions/configure-aws-credentials@v1
200
+ with :
201
+ aws-access-key-id : ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
202
+ aws-region : ${{ secrets.AWS_REGION }}
203
+ aws-secret-access-key : ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
204
+
205
+ - name : Display host information
206
+ run : |
207
+ uname -a
208
+ hostname
209
+ pwd
210
+ id
211
+ ls -la
212
+
213
+ - name : Fetch repository
214
+ uses : actions/checkout@v3
215
+
216
+ - name : Build Python3.7 wheel
217
+ run : |
218
+ /home/builduser/build_habitat.sh python3.7 py37
219
+
220
+ - name : Build Python3.8 wheel
221
+ run : |
222
+ /home/builduser/build_habitat.sh python3.8 py38
223
+
224
+ - name : Build Python3.9 wheel
225
+ run : |
226
+ /home/builduser/build_habitat.sh python3.9 py39
227
+
228
+ - name : Build Python3.10 wheel
229
+ run : |
230
+ /home/builduser/build_habitat.sh python3.10 py310
231
+
232
+ - name : Upload wheel artifact
233
+ uses : actions/upload-artifact@v3
234
+ with :
235
+ name : wheels-cu117
236
+ path : analyzer/dist/*.whl
237
+
238
+ - name : Upload to S3
239
+ run : |
240
+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu117
0 commit comments