Skip to content

Commit

Permalink
Update to create_user changes in job-server
Browse files Browse the repository at this point in the history
Also, remove the defunct slack notification on failure, which didn't
work, and has been superseeded by the workflows dashboard
  • Loading branch information
bloodearnest committed Oct 17, 2024
1 parent 3ec0e55 commit 103b6fa
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 103b6fa

Please sign in to comment.