Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible: update create-unofficial-builds playbook #2943

Merged
merged 1 commit into from
May 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions ansible/playbooks/create-unofficial-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
#
# sets up the host that runs unofficial-builds.nodejs.org
#
# To properly run this, create a file
# ansible/host_vars/infra-digitalocean-ubuntu1804-x64-2 with the line:
# github_deploy_webhook_secret: xyzabc
# where 'xyzabc' is the github deployment hook secret from the unofficial-builds
# repository

- hosts: infra-digitalocean-ubuntu1804-x64-2
roles:
Expand All @@ -18,6 +13,7 @@
- { role: nginx, sites: [ 'unofficial-builds.nodejs.org' ] }
- unofficial-builds
pre_tasks:
# `github_deploy_webhook_secret` should be set in the inventory in secrets.
- name: check if secrets are properly set
fail:
failed_when: not {{ secret }}
Expand Down