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

fetch upstream #2

Open
wants to merge 234 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
fd6ef55
Merge pull request #206 from Abhinav2812/no-reschedule
bombardier-gif May 17, 2021
08ec375
Merge branch 'main' into main
Nakul93 May 18, 2021
8f229cd
Delete .DS_Store
Nakul93 May 18, 2021
7e9af59
better strategy while booking
May 20, 2021
94bf6d8
Merge branch 'main' into greedy_booking
BlackRider97 May 21, 2021
fe30970
Improving the app
May 21, 2021
c203e72
Fixed the bug for dose 1
Nakul93 May 21, 2021
9cdda2d
Dose 2 Due date
Nakul93 May 21, 2021
e45eb8c
Merge branch 'main' into main
Nakul93 May 21, 2021
946c0bb
Add AI Assisted AutoCaptcha Feature
May 21, 2021
449b273
Add AI Assisted AutoCaptcha Feature
May 21, 2021
a762de3
efault yes for captcha
May 21, 2021
9338201
efault yes for captcha
May 21, 2021
3e26106
Made requested changes
May 21, 2021
a670bfb
Update apk file
May 21, 2021
3dade48
moved model to a text file
May 22, 2021
2146002
fixed file directory issue
May 22, 2021
34c5da0
Merge pull request #253 from shailesh/advanced_captcha
bombardier-gif May 22, 2021
1979bb9
Merge branch 'main' into main
Nakul93 May 22, 2021
7e9bccd
Merge branch 'main' into greedy_booking
BlackRider97 May 22, 2021
4924d34
Merge pull request #248 from chris-10/main
BumpyKnuckls May 22, 2021
c03b967
Merge pull request #216 from BlackRider97/greedy_booking
bombardier-gif May 22, 2021
0a44e07
Update utils.py
bombardier-gif May 22, 2021
60abba0
Merge branch 'bombardier-gif:main' into main
Nakul93 May 22, 2021
567ecfe
Updated the min frequency in the UI
bombardier-gif May 22, 2021
ecf2fd2
Merge branch 'main' into main
Nakul93 May 22, 2021
6904868
Bugfix when no viable options
ashishgupta1020 May 22, 2021
24a566c
Merge pull request #268 from ashishgupta1020/patch-1
bombardier-gif May 22, 2021
42b617f
Update captcha tests
May 22, 2021
32b3b63
Merge branch 'bombardier-gif:main' into main
chris-10 May 22, 2021
490a5b6
Merge branch 'bombardier-gif:main' into main
Nakul93 May 22, 2021
9fd263d
Added Option to select yes-please or no in automated booking
Nakul93 May 22, 2021
d245251
Do not generate token in case of API rate-limiting
May 22, 2021
3a2e02d
Do not generate token in case of API rate-limiting
May 22, 2021
fa5956b
Merge pull request #271 from chris-10/main
BumpyKnuckls May 22, 2021
6cf07ef
Merge pull request #273 from BlackRider97/greedy_booking
bombardier-gif May 22, 2021
c09a7d7
Merge pull request #217 from Nakul93/main
bombardier-gif May 22, 2021
2d9b57d
Added Option to select y/n in automated booking(updated)
Nakul93 May 22, 2021
70078aa
Bugfix OTP re-validate
ashishgupta1020 May 22, 2021
4540928
Merge pull request #278 from ashishgupta1020/patch-2
bombardier-gif May 22, 2021
944b8cc
Fixed issue for different vacc statuses
Nakul93 May 22, 2021
a8dfe5e
Merge pull request #272 from Nakul93/feature/captcha
bombardier-gif May 23, 2021
940a41f
Add 3rd seach option which is optimized for API calls
May 23, 2021
ede2fb2
Update main.yml
bombardier-gif May 23, 2021
02a8776
Add 3rd seach option which is optimized for API calls
May 23, 2021
5177c43
rebuilt via GitHub Actions
github-actions[bot] May 23, 2021
5509761
no beep
May 23, 2021
c89e370
no beep
May 23, 2021
f189206
Merge pull request #293 from BlackRider97/better_pin
bombardier-gif May 23, 2021
7abd438
rebuilt via GitHub Actions
github-actions[bot] May 23, 2021
1ef8a72
Bug fix for start date
Nakul93 May 23, 2021
61568f7
Bug-fix for search#3
May 24, 2021
fb82b6f
Merge pull request #297 from Nakul93/feature/captcha
bombardier-gif May 24, 2021
b46992d
rebuilt via GitHub Actions
github-actions[bot] May 24, 2021
e659646
Merge branch 'main' into better_pin
BlackRider97 May 24, 2021
7793681
Update utils.py
BlackRider97 May 24, 2021
05d9878
save work
May 24, 2021
9a80690
Merge branch 'better_pin' of https://github.com/BlackRider97/covid-va…
May 24, 2021
d239889
Merge pull request #298 from BlackRider97/better_pin
bombardier-gif May 24, 2021
c280e24
rebuilt via GitHub Actions
github-actions[bot] May 24, 2021
6187d4c
[300] Fixes location search issue for option 1
SnoCold May 24, 2021
628fd47
Added release drafter and release upload artifacts action
6mxo89sqh May 24, 2021
da28dc8
fixes #308
6mxo89sqh May 24, 2021
56aaad2
fixes #308, #304, #300
6mxo89sqh May 24, 2021
e157858
Merge pull request #312 from 6mxo89sqh/fix-index
bombardier-gif May 24, 2021
da2e598
Merge pull request #309 from SnoCold/pin_code_location_dtls_FIX
bombardier-gif May 24, 2021
ae566b9
Revert "[300] Fixes location search issue for option 1"
6mxo89sqh May 24, 2021
372973a
Bug fix
6mxo89sqh May 24, 2021
1c9cf0a
Merge pull request #314 from 6mxo89sqh/patch-1
bombardier-gif May 24, 2021
a1f0e9d
Merge pull request #313 from 6mxo89sqh/revert-309-pin_code_location_d…
bombardier-gif May 24, 2021
60094f7
1. Ability to pass mobile from cli.
6mxo89sqh May 24, 2021
0a63349
Fixed privacy issues + Bugfix
May 24, 2021
253b842
Before mergingh
ithihasmadala May 24, 2021
a8c60e7
Merge branch 'main' of https://github.com/ithihasmadala/covid-vaccine…
ithihasmadala May 24, 2021
254a832
Updated APK file to latest version
May 24, 2021
41a5ece
Before merging
ithihasmadala May 24, 2021
b19b624
Minor bug fixes
ithihasmadala May 24, 2021
fe05d72
Optimizing Readme
ithihasmadala May 24, 2021
7d64946
Optimizing Readme
ithihasmadala May 24, 2021
87b0654
Optimizing Readme
ithihasmadala May 24, 2021
3ae9c26
Merge pull request #319 from chris-10/main
bombardier-gif May 24, 2021
c8dff05
Optimizing Readme
ithihasmadala May 24, 2021
fb25520
Optimizing Readme
ithihasmadala May 24, 2021
e9e889a
Optimizing Readme
ithihasmadala May 24, 2021
0f6c68f
Optimizing Readme
ithihasmadala May 24, 2021
281b798
Optimizing Readme
ithihasmadala May 24, 2021
9aebfed
Optimizing Readme
ithihasmadala May 24, 2021
24e8c1e
Optimizing Readme
ithihasmadala May 24, 2021
9cfc35d
Merge branch 'bombardier-gif:main' into main
ithihasmadala May 24, 2021
7f3b873
Optimizing Readme
ithihasmadala May 24, 2021
a0566ef
Merge branch 'main' of https://github.com/ithihasmadala/covid-vaccine…
ithihasmadala May 24, 2021
8c26775
Optimizing Readme
ithihasmadala May 24, 2021
c5f6a3d
Updated Troubleshoot section
ithihasmadala May 24, 2021
671a9b2
Updated Troubleshoot section
ithihasmadala May 24, 2021
dfa7a97
Added Quickstart guide and minor changes
ithihasmadala May 24, 2021
3492ef3
Minor changes
ithihasmadala May 24, 2021
3e8568a
Minor changes
ithihasmadala May 24, 2021
446721c
Merge pull request #322 from ithihasmadala/main
bombardier-gif May 24, 2021
60f1ac8
Fixed OTP Validation Issue
ithihasmadala May 24, 2021
0610abe
Merge branch 'bombardier-gif:main' into main
ithihasmadala May 24, 2021
bc9ac2a
Fixed OTP Validation Issue
ithihasmadala May 24, 2021
b5eb53d
Merge branch 'main' of https://github.com/ithihasmadala/covid-vaccine…
ithihasmadala May 24, 2021
e94c92c
Fixed OTP Validation Issue
ithihasmadala May 24, 2021
147d7fe
Fixed OTP Validation Issue
ithihasmadala May 24, 2021
d38c4ef
Merge pull request #327 from ithihasmadala/main
bombardier-gif May 25, 2021
aa1ca42
Update release-drafter.yml
bombardier-gif May 25, 2021
7200418
Added token
bombardier-gif May 25, 2021
e7293c7
Update release-drafter.yml
bombardier-gif May 25, 2021
981e608
Update release-drafter.yml
bombardier-gif May 25, 2021
f3c5a7f
Update readme to point to latest releases
6mxo89sqh May 25, 2021
24a445c
Merge pull request #332 from 6mxo89sqh/patch-2
bombardier-gif May 25, 2021
53bcc05
Merge branch 'bombardier-gif:main' into enhancements
6mxo89sqh May 25, 2021
46917e3
Solved Proceed with above info Issue
dhhruv May 26, 2021
f4e709b
Merge pull request #355 from dhhruv/patch-1
bombardier-gif May 26, 2021
13c82d9
added method to extract otp from regex patterns
shantanu-deriv May 26, 2021
14084a2
Merge branch 'main' into enhancements
6mxo89sqh May 26, 2021
b02d7cf
7. Allow to refresh immediately on Ctrl+C
6mxo89sqh May 27, 2021
1b8bf08
Handle rate limiting. fixes #381 and #382
6mxo89sqh May 28, 2021
7e2bb0d
Merge branch 'ratelimit-handling' into enhancements
6mxo89sqh May 28, 2021
2ea681b
Force expire token in 10 minutes as cowin is giving 429 after 10 minu…
6mxo89sqh May 28, 2021
88004dd
Merge branch 'ratelimit-handling' into enhancements
6mxo89sqh May 28, 2021
21d5e2a
Merge pull request #384 from 6mxo89sqh/ratelimit-handling
bombardier-gif May 28, 2021
e790092
Fixed a bug while merging
6mxo89sqh May 28, 2021
6be9840
Accepting KVDB bucket key from the user
May 30, 2021
8a16e24
Update README.md
rooniks May 30, 2021
a946ff7
Merge pull request #1 from rooniks/personal_kvdb_bucket
rooniks May 30, 2021
d54f2f3
Having a fallback for kvdb bucket
rooniks May 30, 2021
966707f
Merge pull request #2 from rooniks/personal_kvdb_bucket
rooniks May 30, 2021
7a042ad
Added private bucket and secret key
ithihasmadala May 31, 2021
731d796
Android app - Better actionable error messages
May 31, 2021
c2aa8bd
Update README.md
ithihasmadala Jun 1, 2021
5c410c2
Add Dockerfile
Jun 1, 2021
7210d32
Improved error messages to prevent null
Jun 1, 2021
2504989
Update README with docker instructions
Jun 1, 2021
a0015a4
Merge pull request #424 from chris-10/main
BumpyKnuckls Jun 2, 2021
a267d4c
Fix docker instructions link in README
abhibansal530 Jun 2, 2021
faab88e
Merge branch 'bombardier-gif:main' into main
ithihasmadala Jun 2, 2021
4a23fc9
Renew IP when ratelimited. Added docker file to assist deployments.
6mxo89sqh Jun 1, 2021
5964d19
Merge branch 'bombardier-gif:main' into rate-limit-ip-restrictions
6mxo89sqh Jun 2, 2021
f68b728
Merge branch 'bombardier-gif:main' into enhancements
6mxo89sqh Jun 2, 2021
173b1ba
Fix token
6mxo89sqh Jun 2, 2021
d2b8676
cli options mobile, config and no-tty added, configurable kvdb and be…
6mxo89sqh Jun 2, 2021
3cbf2a4
Merge pull request #318 from 6mxo89sqh/enhancements
bombardier-gif Jun 2, 2021
3f00af8
Merge pull request #430 from abhibansal530/main
bombardier-gif Jun 2, 2021
e28d8d7
Merge branch 'bombardier-gif:main' into main
6mxo89sqh Jun 2, 2021
adfbb52
Merge branch 'main' into rate-limit-ip-restrictions
6mxo89sqh Jun 2, 2021
89ecc6e
Merge branch 'main' into rate-limit-ip-restrictions
6mxo89sqh Jun 2, 2021
cf7432b
Renew IP when ratelimited. Modified docker related things.
6mxo89sqh Jun 2, 2021
490abc3
Making private buckets mandatory
rooniks Jun 2, 2021
2fd88f8
Merge branch 'main' into personal_kvdb_bucket
rooniks Jun 2, 2021
9af2de7
Update README.md
rooniks Jun 2, 2021
f0984b2
Merge pull request #408 from rooniks/personal_kvdb_bucket
bombardier-gif Jun 2, 2021
81794a3
Minor bug fix for docker and added print statements.
6mxo89sqh Jun 2, 2021
7f85dee
Merge branch 'bombardier-gif:main' into rate-limit-ip-restrictions
6mxo89sqh Jun 2, 2021
66b6aff
Fixed bug introduced by #408 that gives error on use of --token
6mxo89sqh Jun 2, 2021
30b9860
Merge branch 'bombardier-gif:main' into main
rooniks Jun 2, 2021
cb241e3
Avoiding KVDB buckets in case of manual OTP flow
rooniks Jun 2, 2021
4a571fc
Also removing the redundant initialization of KVDB bucket variable in…
rooniks Jun 2, 2021
25bc4af
Merge pull request #442 from rooniks/manual-otp-kvdb-avoid
bombardier-gif Jun 2, 2021
e31bf1e
Merge conflig resolved
6mxo89sqh Jun 3, 2021
059c83c
Updated docs
6mxo89sqh Jun 3, 2021
567d2b1
fixes #448
6mxo89sqh Jun 3, 2021
c07b9ac
filtering by vaccine type #451
warlock2k Jun 3, 2021
1ecf0e6
Added more docs.
6mxo89sqh Jun 3, 2021
3ea7e9c
creating a single function to filter resp by age and vaccine
warlock2k Jun 3, 2021
ccce97b
Added portable python from @vishalv26/covid-vaccine-booking
subho007 May 29, 2021
0b5f617
Update Windows instruction with screenshot
subho007 Jun 3, 2021
9a18656
Added more docs.
6mxo89sqh Jun 4, 2021
64e7ccd
Merge pull request #453 from warlock2k12/filter_by_vaccine
bombardier-gif Jun 4, 2021
0fc0aa8
Added more docs.
6mxo89sqh Jun 4, 2021
5faf54f
Revert "filtering by vaccine type #451"
6mxo89sqh Jun 4, 2021
5e364b7
Merge pull request #454 from bombardier-gif/revert-453-filter_by_vaccine
Nakul93 Jun 4, 2021
3d5d02f
Automatically disable reassignment feature if calendar is being used.
6mxo89sqh Jun 4, 2021
44de0e7
Merge pull request #452 from 6mxo89sqh/rate-count-fix
bombardier-gif Jun 4, 2021
832cc6e
Merge pull request #440 from 6mxo89sqh/rate-limit-ip-restrictions
bombardier-gif Jun 4, 2021
a8db4b5
Merge pull request #403 from subho007/main
bombardier-gif Jun 4, 2021
38c804f
Docker push bug fix
6mxo89sqh Jun 4, 2021
24633ee
Merge pull request #459 from 6mxo89sqh/github-action_bug_fix
bombardier-gif Jun 4, 2021
24fec2e
removed logic to forcefully expire token.
6mxo89sqh Jun 4, 2021
7faa3dc
Modified dose no func| bug fix for #277#239
Nakul93 Jun 4, 2021
be8b0ac
Merge pull request #462 from 6mxo89sqh/token-fix
bombardier-gif Jun 4, 2021
1958094
Merge pull request #463 from Nakul93/doseNum
bombardier-gif Jun 4, 2021
1d89e30
CloudFormation Template to make it easy for users to start the stack.
6mxo89sqh Jun 4, 2021
0390ba5
Merge pull request #464 from 6mxo89sqh/aws-cf
bombardier-gif Jun 4, 2021
a98b560
Update README.md
ithihasmadala Jun 5, 2021
e5fc32f
Update utils.py
ithihasmadala Jun 5, 2021
145048e
Merge pull request #1 from bombardier-gif/main
ithihasmadala Jun 5, 2021
c3bc27b
Update README.md
ithihasmadala Jun 5, 2021
410135a
Merge branch 'main' into shan/289_regex_otp
shan-96 Jun 5, 2021
de1c767
newline
shan-96 Jun 5, 2021
d9454a7
Update utils.py
Jun 5, 2021
a012ed7
Merge pull request #474 from gitmnj/patch-1
Nakul93 Jun 5, 2021
fc043ba
Appointment Slip Download + Code Re-structured
Jun 6, 2021
173d56e
Added feature to search for today and tomorrow.
6mxo89sqh Jun 6, 2021
236a5c7
chore: removed unused import and refactor variable
shantanu-deriv Jun 6, 2021
8c8d87a
Added Mobile in Appointment Slip Document
Jun 6, 2021
2c9458d
Update covid-vaccine-slot-booking.py
salian Jun 6, 2021
6d9ac75
Merge pull request #1 from salian/kvdb-bucket-cli-argument
salian Jun 6, 2021
9cf0ca0
Merge pull request #370 from shan-96/shan/289_regex_otp
6mxo89sqh Jun 6, 2021
6c85e1b
Merge branch 'main' into dev/AppointmentSlip
dhhruv Jun 6, 2021
90d69a3
Merge pull request #478 from 6mxo89sqh/today-tomorrow
bombardier-gif Jun 6, 2021
b1f076d
Update src/covid-vaccine-slot-booking.py
salian Jun 6, 2021
f3d5b4d
Update src/covid-vaccine-slot-booking.py
salian Jun 6, 2021
db4b034
Merge branch 'bombardier-gif:main' into main
ithihasmadala Jun 6, 2021
4f21f1f
Merge pull request #479 from salian/main
6mxo89sqh Jun 6, 2021
8d3061f
README.md restructuring
6mxo89sqh Jun 6, 2021
97d6b3f
Merge branch 'bombardier-gif:main' into main
ithihasmadala Jun 7, 2021
60130d3
Corrected links in README.md
6mxo89sqh Jun 7, 2021
1bdf67b
Merge pull request #484 from 6mxo89sqh/docs-update
bombardier-gif Jun 7, 2021
069a947
Merge branch 'main' into dev/AppointmentSlip
dhhruv Jun 7, 2021
aeac1ec
Updated README.md for Appointment Slip.
dhhruv Jun 8, 2021
6c78ce8
Merge pull request #477 from dhhruv/dev/AppointmentSlip
Nakul93 Jun 8, 2021
ca2729a
Update README.md
ithihasmadala Jun 9, 2021
5e3b54c
Update captcha.py
ithihasmadala Jun 9, 2021
4be8534
Merge pull request #2 from bombardier-gif/main
ithihasmadala Jun 9, 2021
b5c76a9
Randomized refresh frequency
ithihasmadala Jun 9, 2021
46cf461
Update README.md
bombardier-gif Jun 9, 2021
4931d99
Delete FUNDING.yml
bombardier-gif Jun 9, 2021
28ba96a
Allows rescheduling and fixed winsound for some windows PC
keshav0801 Jun 11, 2021
f105152
Error handling for multiple beneficiaries
keshav0801 Jun 11, 2021
8372f19
bug fixed
keshav0801 Jun 11, 2021
00f1946
Merge branch 'bombardier-gif:main' into main
ithihasmadala Jun 12, 2021
6552fb9
Add files via upload
ithihasmadala Jun 12, 2021
ebe373b
Merge pull request #518 from ithihasmadala/main
bombardier-gif Jun 15, 2021
9d81dd7
Merge branch 'main' into main
keshav0801 Jun 16, 2021
6ffad54
Merge pull request #511 from keshav0801/main
bombardier-gif Jun 17, 2021
2d8f3ff
update in requirement.txt
PATTOOo Jul 4, 2021
d8e306a
Merge pull request #535 from PATTOOo/patch-1
bombardier-gif Jul 6, 2021
f025fa5
small typo in readme #536
PATTOOo Jul 8, 2021
02a72ca
Merge pull request #537 from PATTOOo/patch-2
bombardier-gif Jul 13, 2021
0d5b634
Temporary Solution for "18 and above" bug
dhhruv Jul 21, 2021
af37207
wait for user input using python specific implementation
Aug 3, 2021
e517179
Merge pull request #540 from abhinavm24/os-agnostic-pause
bombardier-gif Aug 5, 2021
791f378
Merge pull request #539 from dhhruv/main
bombardier-gif Aug 5, 2021
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
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'chore'
- 'docs'
- 'documentation'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
exclude-labels:
- 'skip-changelog'
sort-direction: 'ascending'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes

$CHANGES
65 changes: 35 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ name: CI Windows EXE Build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events
push:
paths:
- '**.py'

pull_request:
paths:
- '**.py'
tags:
- v*


# Allows you to run this workflow manually from the Actions tab
Expand All @@ -29,8 +24,6 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: fregante/setup-git-user@v1



# Set branch name
- name: Set branch name
Expand All @@ -49,30 +42,42 @@ jobs:
run: |
rm covid-vaccine-slot-booking.exe -ErrorAction Ignore
cd src
pyinstaller covid-vaccine-slot-booking.py

# Copy library files
- name: copy fonts folder
uses: MadaraUchiha/[email protected]
pyinstaller --onefile covid-vaccine-slot-booking.py
cd ..
move src\dist\covid-vaccine-slot-booking.exe .

# Push EXE file to release
- name: Upload windows executable to release
uses: svenstaro/upload-release-action@v2
with:
source: libs\fonts
target: dist\covid-vaccine-slot-booking\reportlab\
- name: make the zip file of dist folder
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: covid-vaccine-slot-booking.exe
tag: ${{ github.ref }}

# Make zip file
uses: papeloto/action-zip@v1
# Push APK to release.
- name: Upload android package to release
uses: svenstaro/upload-release-action@v2
with:
files: dist/
dest: windows-exe.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: CoWinOtpRetreiver.apk
tag: ${{ github.ref }}

# Remove not required files
- name: Package Script to EXE
run: |
rm -r /build -ErrorAction Ignore
docker-build:
runs-on: ubuntu-latest
name: Build and push to docker
steps:
- uses: actions/checkout@v2

# Commit and push EXE file to branch
- name: Push EXE to branch
- name: Run Docker
env:
TAG_NAME: ${{ github.ref }}
GIT_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GIT_USERNAME: ${{ github.repository }}
run: |
git add covid-vaccine-slot-booking.exe
git commit -m "rebuilt via GitHub Actions"
git push --force
version=$(echo ${TAG_NAME/refs\/tags\/v/})
echo $GIT_PASSWORD | docker login -u $GIT_USERNAME --password-stdin https://docker.pkg.github.com
docker build --no-cache -t cowin:latest -f Dockerfile .
docker tag cowin:latest docker.pkg.github.com/bombardier-gif/covid-vaccine-booking/cowin:$version
docker tag cowin:latest docker.pkg.github.com/bombardier-gif/covid-vaccine-booking/cowin:latest
docker push docker.pkg.github.com/bombardier-gif/covid-vaccine-booking/cowin:$version
docker push docker.pkg.github.com/bombardier-gif/covid-vaccine-booking/cowin:latest
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- main

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.TOKEN2 }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,9 @@ dmypy.json

# Pyre type checker
.pyre/

*.json
captcha.gif
captcha.png
captcha.svg
vendor/
Binary file modified CoWinOtpRetreiver.apk
Binary file not shown.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM python:3.9-slim

ENV APP_HOME /app
ENV BEEP "no"
ENV AWS_DEFAULT_REGION "ap-south-1"

RUN apt-get update && \
apt-get install -y beep && \
apt-get clean --quiet && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR $APP_HOME
COPY ./requirements.txt ./requirements.txt

RUN pip install -r requirements.txt

COPY ./src/ /app/

ENTRYPOINT ["/app/covid-vaccine-slot-booking.py"]
Loading