Skip to content

Commit

Permalink
Merge pull request #690 from opensafely-core/fix-jobserver
Browse files Browse the repository at this point in the history
Update to create_user changes in job-server
  • Loading branch information
bloodearnest authored Oct 17, 2024
2 parents 3ec0e55 + 103b6fa commit dbd7036
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/job-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,3 @@ jobs:
just _dotenv # we don't need a full devenv
just job-server/configure username
just job-server/create-workspace test-workspace
- name: "Notify Slack on Failure"
# TODO: 2024-08-27 this does not work, gives the error "not_in_channel", despite all our bots being in the channel
if: failure() && github.ref_name == 'main'
uses: zuplo/github-action-slack-notify-build@cf8e7e66a21d76a8125ea9648979c30920195552 # v2
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel_id: "C069YDR4NCA"
status: "Airlock local job-server integration test failure"
color: danger

2 changes: 1 addition & 1 deletion job-server/local-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ else
fi

# ensure user exists
docker compose exec job-server ./manage.py create_user "$ghusername" --output-checker --core-developer
docker compose exec job-server ./manage.py create_user "$ghusername" --output-checker --staff-area-administrator

# create backend and store token
echo "Getting AIRLOCK_API_TOKEN for $backend backend"
Expand Down

0 comments on commit dbd7036

Please sign in to comment.