Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Anki Pack Common CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kartenaale
Build
Anki Pack Common CI
Commits
98e5a4b2
Commit
98e5a4b2
authored
10 months ago
by
Philipp Stadler
Browse files
Options
Downloads
Patches
Plain Diff
fixx: patch mudslide for non-interactive use
parent
0860532d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-3
2 additions, 3 deletions
.gitlab-ci.yml
pack-build/Dockerfile
+8
-0
8 additions, 0 deletions
pack-build/Dockerfile
with
10 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
3
View file @
98e5a4b2
image
:
durcheinander/pack-build:1.0.
0
image
:
durcheinander/pack-build:1.0.
1
stages
:
-
build
...
...
@@ -154,6 +154,5 @@ send-release-notes-to-group:
-
mudslide_cache
script
:
-
mkdir -p mudslide_cache
# || true is necessary because it fails on non-tty, logging in still works though
-
mudslide login ||
true
-
mudslide login
-
mudslide send $WHATSAPP_RELEASE_NOTIFY_RECIPIENT "$(cat RELEASE_NOTES.md)"
This diff is collapsed.
Click to expand it.
pack-build/Dockerfile
+
8
−
0
View file @
98e5a4b2
...
...
@@ -14,3 +14,11 @@ curl
RUN
npm
install
--global
\
yarn
\
mudslide
# remove the code that waits for a key after login:
# 137 process.stdin.setRawMode(true);
# 138 return new Promise(resolve => process.stdin.once('data', () => {
# 139 process.stdin.setRawMode(false);
# 140 resolve(undefined);
# 141 }));
RUN
sed
-i
'137,141d'
/usr/local/lib/node_modules/mudslide/dist/whatsapp.js
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment