77 whl-build-cu102 :
88 runs-on : [self-hosted, cu102]
99 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+
1017 - name : Display host information
1118 run : |
1219 uname -a
@@ -39,11 +46,21 @@ jobs:
3946 with :
4047 name : wheels-cu102
4148 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
4353
4454 whl-build-cu111 :
4555 runs-on : [self-hosted, cu111]
4656 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+
4764 - name : Display host information
4865 run : |
4966 uname -a
7794 name : wheels-cu111
7895 path : analyzer/dist/*.whl
7996
97+ - name : Upload to S3
98+ run : |
99+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu111
100+
80101 whl-build-cu113 :
81102 runs-on : [self-hosted, cu113]
82103 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+
83111 - name : Display host information
84112 run : |
85113 uname -a
@@ -112,10 +140,21 @@ jobs:
112140 with :
113141 name : wheels-cu113
114142 path : analyzer/dist/*.whl
143+
144+ - name : Upload to S3
145+ run : |
146+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu113
115147
116148 whl-build-cu116 :
117149 runs-on : [self-hosted, cu116]
118150 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+
119158 - name : Display host information
120159 run : |
121160 uname -a
@@ -148,3 +187,54 @@ jobs:
148187 with :
149188 name : wheels-cu116
150189 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