Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Jan 31, 2024
1 parent f6df2a4 commit ecaaede
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 263 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/cargo-package.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/python.yml

This file was deleted.

98 changes: 0 additions & 98 deletions .github/workflows/rust.yml

This file was deleted.

16 changes: 13 additions & 3 deletions .github/workflows/taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,25 @@ name: taskcluster extra workers
on: [push]
jobs:
osx:
runs-on: macos-11
strategy:
fail-fast: false
matrix:
include:
- os: macos-11
workerType: osx
pyver: '3.9.14'
- os: macos-14
workerType: macos
pyver: '3.11.7'
runs-on: ${{ matrix.os }}
env:
secret: ${{ secrets.SECRET }}
TC_WORKER_TYPE: osx
TC_WORKER_TYPE: ${{ matrix.workerType }}
PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9.14'
python-version: ${{ matrix.pyver }}
- run: python3 -m pip install pip==20.3.4 wheel==0.37.0 --upgrade
- run: CI/start-worker.sh worker-$TC_WORKER_TYPE $TC_WORKER_TYPE
90 changes: 0 additions & 90 deletions .taskcluster.yml

This file was deleted.

4 changes: 3 additions & 1 deletion CI/start-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

where=$(dirname $0)
sh -x
clientId=$1
workerType=$2
exit 1

[ -z "$clientId" -o -z "$workerType" ] && echo Usage: $0 clientId workerType >&2 && exit 1
[ -z "$secret" ] && echo Missing key >&2 && exit 1

token=$(openssl aes-256-cbc -k "$secret" -in $where/$workerType.token.enc -d -md sha256)
token=$(openssl aes-256-cbc -k "$secret" -in $where/osx.token.enc -d -md sha256)

unset secret

Expand Down

0 comments on commit ecaaede

Please sign in to comment.