Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
448 commits
Select commit Hold shift + click to select a range
b30e563
Add some support for AWS Secrets Manager (#654)
kennedyjosh Aug 19, 2020
be597d9
Add support for sending raw emails via SES (#657)
carlisom Sep 11, 2020
0b6a592
add platform to instance
cmedley Sep 17, 2020
f8db3dc
add support for ses config sets and tags
wellknownmelodies Sep 21, 2020
c652762
Use actual config param in describe_load_balancers_all()
Sep 24, 2020
ea741ea
Merge pull request #661 from erlcloud/fix_elb_cfg
Sep 24, 2020
72a3161
erlcloud_application_autoscaler: return error tuple when #aws_request…
Oct 2, 2020
0223f47
Decode auto scaling application errors and return them in the format …
Oct 8, 2020
03a1e2e
Merge pull request #658 from cmedley/add-platform-to-instance
nalundgaard Oct 10, 2020
a33ad12
Merge pull request #662 from va17/handle_errors_autoscaling
nalundgaard Oct 12, 2020
821d296
Merge pull request #660 from wellknownmelodies/master
nalundgaard Oct 12, 2020
9fc6d72
erlcloud_application_autoscaler: fix error decoder by verifying if th…
Oct 14, 2020
6f9f786
Merge pull request #663 from va17/do_not_try_to_decode_non_json
nalundgaard Oct 15, 2020
f07f9c4
Add tags into DescribeImages response
Oct 16, 2020
6ea1049
Merge pull request #664 from erlcloud/image_tags
Oct 16, 2020
ac86a7c
Add ECS task launch type
Nov 13, 2020
6dacbec
Implement CreatePlatformApplication request for SNS
neoascetic Nov 13, 2020
4d1037d
Merge pull request #666 from neoascetic/sns/create-platform-application
nalundgaard Nov 13, 2020
7190d7a
erlcloud_sm: fix use of jsx
nalundgaard Nov 13, 2020
dd9f8fb
Merge pull request #665 from erlcloud/ecs
nalundgaard Nov 13, 2020
3ce4e6d
Merge pull request #667 from erlcloud/fix_erlcloud_sm_return_maps
Nov 14, 2020
a59aa2d
Update erlcloud_aws.erl
Nov 17, 2020
b183b01
Update erlcloud_aws.erl
Nov 17, 2020
1faba17
Update erlcloud_aws.erl
Nov 17, 2020
97bde9f
Merge pull request #668 from erlcloud/epvc_endpoints_from_cfn
Nov 17, 2020
c727ee4
Enrich ecs:DescribeTasks responses.
Dec 1, 2020
f0dc1e8
Fix record spec
Dec 2, 2020
86675fb
Address comments
Dec 2, 2020
fa3d02d
Fix task version spec
Dec 2, 2020
ab316cb
Merge pull request #669 from erlcloud/ecs
nalundgaard Dec 3, 2020
450ed46
Add RoleLastUsed field to erlcloud_iam:get_role response
aaronlelevier Dec 5, 2020
75fb878
fixup indentation
aaronlelevier Dec 6, 2020
db41e5b
Fix ECS to_binary conersion
Dec 7, 2020
8332b68
Merge pull request #673 from erlcloud/ecs
nalundgaard Dec 7, 2020
f65a9e0
change data_type 'Role' to 'RoleList'
aaronlelevier Dec 8, 2020
effc230
change get_role to use data_type 'Role'
aaronlelevier Dec 8, 2020
0736703
move data_type 'RoleLastUsed' after 'RoleDetail'
aaronlelevier Dec 8, 2020
ffc48c2
erlcloud_iam: fix get_account_authorization_details
nalundgaard Dec 8, 2020
ed0d82f
Implement GitHub Actions
paulo-ferraz-oliveira Dec 8, 2020
148d40c
Adde constraint when requesting from ddb
DD-prog93 Dec 9, 2020
1383e90
Updated requests to be compliant with new request
DD-prog93 Dec 9, 2020
80f55c2
Updated no_request variable for readibility purposes
DD-prog93 Dec 9, 2020
73b448a
Added list as type of json_return
DD-prog93 Dec 9, 2020
0bbd21c
Updated describe_time_to_live
DD-prog93 Dec 9, 2020
7b5c167
Updated request function
DD-prog93 Dec 9, 2020
8db27c6
Merge pull request #676 from paulo-ferraz-oliveira/feature/gha
nalundgaard Dec 10, 2020
50448cf
Actually run on different Erlang versions
paulo-ferraz-oliveira Dec 10, 2020
18d9a52
Delete unwarranted CI element
paulo-ferraz-oliveira Dec 10, 2020
b978dde
Try to make it work for rebar 2
paulo-ferraz-oliveira Dec 10, 2020
9696eae
Bye, Travis CI
paulo-ferraz-oliveira Dec 10, 2020
f78cbbf
Merge pull request #674 from erlcloud/fix_iam_get_account_authorizati…
nalundgaard Dec 10, 2020
4f3f26f
Merge pull request #678 from paulo-ferraz-oliveira/feature/gha
nalundgaard Dec 10, 2020
2695fec
Added request/4
DD-prog93 Dec 10, 2020
9054772
Removed call to request/4
DD-prog93 Dec 10, 2020
4cfa323
set operations to call request/4
DD-prog93 Dec 10, 2020
db58382
Fix indentation
DD-prog93 Dec 10, 2020
8711104
Add ddb_request record
DD-prog93 Dec 12, 2020
e5ed781
Added ddb_request record as return type
DD-prog93 Dec 12, 2020
f60a6bb
Updated record position and name and added headers() type specification
DD-prog93 Dec 15, 2020
23960fc
Updated record name to and removed mistakenly added whitespace from ddb2
DD-prog93 Dec 15, 2020
afa3fb0
Merge pull request #677 from DarkGV/return_prepared_request
nalundgaard Dec 17, 2020
4359fa9
Add Ecs:ListTagsForResources support (#679)
Dec 17, 2020
c5b3dda
Rename ddb2 headers to ddb2_req_headers
carlisom Dec 17, 2020
c270b86
Merge pull request #680 from carlisom/fix_ddb2_types
nalundgaard Dec 17, 2020
56c3e85
Merge pull request #671 from aaronlelevier/erlcloud_670
nalundgaard Dec 17, 2020
4ea0491
Add include option into ECS:DescribeTasks requests
Dec 22, 2020
01d62bf
Fix spec
Dec 22, 2020
2d8b1d7
Merge pull request #681 from erlcloud/ecs
Jan 4, 2021
1cd1f34
Expose erlcloud_cloudwatch_logs:start_query/stop_query/get_query_results
paulo-ferraz-oliveira Jan 12, 2021
9ff2af6
Add some tests and fix code according to these
paulo-ferraz-oliveira Jan 12, 2021
c58e7c5
Ease consumption of type erlcloud_cloudwatch_logs:events/0
paulo-ferraz-oliveira Jan 13, 2021
5e03c8d
Fix as per integration testing
paulo-ferraz-oliveira Jan 13, 2021
98c2d43
Fix as per integration testing
paulo-ferraz-oliveira Jan 13, 2021
a4c7548
Fix as per integration testing
paulo-ferraz-oliveira Jan 13, 2021
87868d5
Complete example
paulo-ferraz-oliveira Jan 25, 2021
5e31836
Aim for API consistency
paulo-ferraz-oliveira Jan 25, 2021
c02b1fe
Add AWS Workspaces (#682)
Jan 26, 2021
6a337be
Allow for configurable metadata host and port
paulo-ferraz-oliveira Jan 12, 2021
5477d6f
Merge pull request #683 from paulo-ferraz-oliveira/feature/configurab…
Jan 28, 2021
548d775
Broaden API expectations to proper returned values
paulo-ferraz-oliveira Jan 31, 2021
4f77a0f
Merge pull request #684 from paulo-ferraz-oliveira/feature/cloudwatch…
nalundgaard Jan 31, 2021
6652879
Properly interpret returned CloudWatch log events (in the map-based i…
paulo-ferraz-oliveira Feb 4, 2021
162fb5c
Improve SQS throttling detection
Feb 5, 2021
fe34fcd
Merge pull request #686 from egobrain/feature/improve-sqs-throttling
Feb 5, 2021
45e3764
Increase performance and readability
paulo-ferraz-oliveira Feb 6, 2021
d844221
Merge pull request #685 from paulo-ferraz-oliveira/fix/cloudwatch_log…
nalundgaard Feb 6, 2021
cb1d94f
Add erlcloud_ssm module (AWS Systems Manager support)
va17 Feb 10, 2021
9d34d3e
Merge pull request #687 from va17/erlcloud_ssm
nalundgaard Feb 15, 2021
d449578
Export DDB Streams record undynamizer
rmpalomino Feb 15, 2021
fb79793
Merge pull request #688 from rmpalomino/export_ddb_stream_record_undy…
nalundgaard Feb 16, 2021
1c32f78
Add support for new DeduplicationScope and FifoThroughputLimit sqs at…
carlisom Mar 1, 2021
9beed17
Merge pull request #689 from carlisom/sqs_new_queue_attributes
Mar 1, 2021
76937ee
erlcloud_aws: support explicit querystring in writes
nalundgaard Mar 2, 2021
2c7ce67
erlcloud_lambda: Add URL encoding of function name
nalundgaard Mar 4, 2021
22aa0e1
erlcloud_lambda: Add DOUBLE URL encoding of function name in signature
nalundgaard Mar 4, 2021
10d014b
Allow consumer-defined lhttpc_types -less lhttpc fork to compile with…
paulo-ferraz-oliveira Mar 5, 2021
9318263
Merge pull request #691 from erlcloud/erlcloud_lambda_690
Mar 5, 2021
f807268
Merge pull request #693 from paulo-ferraz-oliveira/unfeature/include_…
nalundgaard Mar 6, 2021
b446430
DeleteFunction API added
Mar 5, 2021
a4f36eb
DeleteFunction API tests added
Mar 5, 2021
7e26070
Delete function updated with url_parameter
Mar 15, 2021
1b4ba44
Merge pull request #694 from wvj384/delete-function-api
nalundgaard Mar 15, 2021
7aec4ae
Fix application autoscaler result fun to retry on ThrottlingException
va17 Mar 23, 2021
d1d6013
Merge pull request #695 from va17/fix_autoscaler_result_fun
nalundgaard Mar 23, 2021
860a088
Fix DAX-related -spec(_).s
paulo-ferraz-oliveira Apr 28, 2021
ae1596d
Ease consumption
paulo-ferraz-oliveira Apr 30, 2021
c6e1fea
Merge pull request #700 from paulo-ferraz-oliveira/feature/erlcloud_c…
nalundgaard May 3, 2021
8c7fd29
Merge pull request #699 from paulo-ferraz-oliveira/fix/dax-specs
nalundgaard May 3, 2021
ece8c2f
Update eini to 1.2.9
nalundgaard May 4, 2021
f16290b
Merge pull request #701 from erlcloud/eini_1.2.9
May 4, 2021
c3367e7
Tweak CI versions (add 24.0, move 23.0 to 23.3)
paulo-ferraz-oliveira May 14, 2021
a913f67
Merge pull request #702 from paulo-ferraz-oliveira/feature/ci-otp-24.0
nalundgaard May 14, 2021
0eba3a5
Expose erlcloud_ddb_util:get_all/5
hmartel-alertlogic Jul 4, 2021
874181d
Merge pull request #703 from hmartel/erlcloud_ddb_util_get_all_5
Jul 5, 2021
5200636
Update erlcloud_aws.erl
pankajsoni19 Aug 31, 2021
3bbe6c7
Merge pull request #707 from pankajsoni19/master
nalundgaard Aug 31, 2021
bf10f94
Add methods to get and set SNS platform application attrs
neoascetic Sep 9, 2021
5f488c1
VPC endpoint configuration: cache availability zone
nalundgaard Oct 31, 2021
2ce4492
Merge pull request #711 from nalundgaard/vpc_endpoint_cache_az
motobob Nov 1, 2021
2be73ad
Merge pull request #708 from neoascetic/more-platform-application-things
motobob Nov 8, 2021
5a82f5e
Allow for EC2-invoking consumers to test their code against LocalStack
g-andrade Nov 9, 2021
6b9cbb4
Fix default EC2 port
g-andrade Nov 10, 2021
241123e
Fix broken EC2 tests
g-andrade Nov 10, 2021
07108f5
Update `rebar.lock` to latest format
g-andrade Nov 10, 2021
eb5351c
Revert "Update `rebar.lock` to latest format"
g-andrade Nov 10, 2021
eff118f
Keep ports away from EC2 call URLs unless explicitly overridden
g-andrade Nov 10, 2021
a916752
Merge pull request #712 from g-andrade/feature/support-ec2-calls-over…
motobob Nov 10, 2021
d03a960
Fallback on unknown attribute names
neoascetic Nov 19, 2021
7ff9667
Merge pull request #713 from neoascetic/fallback-unknown-attributes
nalundgaard Nov 19, 2021
e67d709
Fix SNS message attribute Name field
neoascetic Nov 25, 2021
89a5cf3
Merge pull request #714 from neoascetic/fix-sns-message-attributes
nalundgaard Dec 2, 2021
2cea7e3
Fix Hex.pm license to match COPYRIGHT
nalundgaard Dec 2, 2021
047b5d1
Merge pull request #716 from erlcloud/issue_715_fix_hex_license
motobob Dec 2, 2021
897d1c3
erlcloud_sqs: get_queue_attributes improvement, test
nalundgaard Jan 5, 2022
dfecf78
erlcloud_sqs: extend sqs_queue_attribute_names
nalundgaard Jan 5, 2022
e6b5bd6
Merge pull request #718 from erlcloud/sqs_convert_integer_fix
nalundgaard Jan 5, 2022
855f733
Handle invalid xml response in erlcloud_sns (#717)
cody-friedrichsen Jan 6, 2022
14aa01b
Use https to fetch jsx and lhttpc
steve-vsee Jan 11, 2022
eeb6f10
Add .git suffix to lhttpc
steve-vsee Jan 11, 2022
94b521d
Merge pull request #719 from steve-vsee/patch-1
motobob Jan 12, 2022
c2a8fc7
Correct error-details lookup in response from "message" to "Message"
jdhood1 Jan 13, 2022
bcc62bf
Merge pull request #720 from jdhood1/master
motobob Jan 14, 2022
100b605
Fix typos
kianmeng Jan 16, 2022
2ffddcd
Merge pull request #722 from kianmeng/fix-typos
motobob Jan 17, 2022
56a5e94
Use new EC2 API version for regions discovery.
Feb 15, 2022
ca225f7
Address comments
Feb 16, 2022
5780ab9
Merge pull request #723 from erlcloud/new_describe_regions
motobob Feb 16, 2022
4be9040
use dot in S3 host name
key-master Apr 15, 2022
be671ce
update tests
key-master Apr 15, 2022
975173f
Add AllRegions option to describe_regions.
May 23, 2022
0c06ec8
Merge pull request #726 from erlcloud/upd_regions
motobob May 23, 2022
2318ce3
Merge pull request #725 from key-master/patch-1
motobob May 30, 2022
a080fe2
Support AWS cognito (#727)
Amershan Jun 10, 2022
1393963
Add functions to read server certificates stored in IAM
Jun 24, 2022
9f0d15a
Merge pull request #728 from alexo-spb/iam-server-certificate
motobob Jun 27, 2022
ccd73b7
adding mfa_delete attribute and public_access_block functions
KingBrewer Jul 8, 2022
19b6874
Merge pull request #729 from KingBrewer/s3-extensions
motobob Jul 11, 2022
211fc1e
Fix reading error message from failed DDB requests
gabrieltholsgard Aug 1, 2022
3ea195f
Fix markdown issues raised by markdownlint (#730)
kianmeng Aug 2, 2022
c4f4f51
Fix eunit tests to handle reading error message
gabrieltholsgard Aug 2, 2022
968cc1a
Merge pull request #731 from sigicom-ab/master
motobob Aug 2, 2022
ac58528
Add Launch Template retrieval to EC2 (#734)
neil-bleasdale Oct 24, 2022
4254359
Nat gateway id not reflect in route table issue solved. (#733)
hardi171 Oct 25, 2022
d0d888d
Add funcs to describe all launch templates with additional args
neil-bleasdale Nov 1, 2022
72f46d6
Merge pull request #735 from neil-bleasdale/feature/add-desc-launch-t…
motobob Nov 1, 2022
661e8d0
Add associated Launch Template to ASG description
neil-bleasdale Nov 8, 2022
eca4aa7
Merge pull request #737 from neil-bleasdale/feature/add-lt-details-to…
motobob Nov 9, 2022
35522c8
Fix: badarg when parsing cpu credits (Launch Template Vsn) (#738)
neil-bleasdale Nov 14, 2022
854b175
Support access-analyzer service (#736)
alexo-spb Nov 16, 2022
fb0e459
Add SetIdentityHeadersInNotificationsEnabled to SES
neoascetic Nov 17, 2022
cfbd392
Merge pull request #739 from neoascetic/ses/set-identity-headers-in-n…
motobob Nov 24, 2022
642b1da
Add functionality for retrieval of IAM server certificate tags (#740)
neil-bleasdale Nov 28, 2022
077c238
Add athena prepared statement support
carlisom Jan 6, 2023
16593de
Merge pull request #742 from carlisom/athena_extention
motobob Jan 10, 2023
b49df76
add workgroup option to start, create, list query API calls (#743)
nastiona-kitten Jan 13, 2023
ab65f40
Extend erlcloud with Security Hub module that implements “Descibe” op…
hardi171 Feb 16, 2023
41e1ae4
Extend erlcloud with Security Hub module that implements “Descibe” op…
hardi171 Feb 21, 2023
a29699e
Extend erlcloud with Security Hub module that implements “Descibe” op…
hardi171 Feb 22, 2023
b4da928
Return ipv6 range(s) for security group rules
neil-bleasdale Feb 21, 2023
ab0b211
Merge pull request #746 from neil-bleasdale/feature/security-group-ip…
motobob Feb 23, 2023
36f3215
Extend erlcloud with Security Hub module that implements “Descibe” op…
hardi171 Feb 23, 2023
6e36f7f
Merge pull request #745 from hardi171/security_hub
motobob Feb 27, 2023
9b2bc15
typo in s3 mfa_delete attribute
KingBrewer Mar 30, 2023
0f5f8e2
Merge pull request #747 from KingBrewer/patch-1
motobob Mar 30, 2023
199b464
added create_secret_ functions
KingBrewer Apr 3, 2023
cdb1fb3
Added delete_secret functions
KingBrewer Apr 3, 2023
23fab25
delete_resource_policy, describe_secret, get_resource_policy, put_res…
KingBrewer Apr 4, 2023
02a5419
Merge pull request #748 from KingBrewer/sm-update
motobob Apr 4, 2023
0fa91a8
Update README.md (#749)
KingBrewer Apr 4, 2023
71492ee
Remove rebar2 compatibility
savonarola May 16, 2023
a7d01f7
Merge pull request #753 from savonarola/remove-rebar2-compatibility
motobob May 17, 2023
85e7c98
Support IMDSv2 session token authentication
dsrosario May 29, 2023
82e4ef9
Merge pull request #754 from dsrosario/feature/imdsv2
motobob May 30, 2023
b6b63e2
Use IMDSv2 to access EC2 metadata
dsrosario Jun 7, 2023
a544adf
Fix broken eunit test
dsrosario Jun 7, 2023
589ab06
Merge pull request #755 from dsrosario/feature/adopt-imdsv2
motobob Jun 7, 2023
3d303e7
feat(kinesis): make `Retry` configurable
paulozulato Jul 12, 2023
1d1cc4a
Handle ipv6 destination cidr block for Route table discovery.
hardi171 Sep 12, 2023
839bfa2
Handle ipv6 destination cidr block for Route table discovery.
hardi171 Sep 12, 2023
ed3d2fe
Handle ipv6 destination cidr block for Route table discovery.
hardi171 Sep 13, 2023
d60b547
Handle ipv6 destination cidr block for Route table discovery.
hardi171 Sep 13, 2023
de3a26a
Handle ipv6 destination cidr block for Route table discovery.
hardi171 Sep 13, 2023
f6aa287
Merge pull request #758 from hardi171/handle_ipv6_destination_cidr_blcok
rmpalomino Sep 20, 2023
e5e24cb
Add hex.pm publishing section to readme, badges, make target
rmpalomino Sep 21, 2023
0a207be
Merge pull request #759 from erlcloud/hex_publishing
carlisom Sep 21, 2023
236e5fe
Add secretsmanager.PutSecretValue
Oct 26, 2023
a07a773
Handle put secret options inside put_secret method.
Nov 2, 2023
cd76fea
Add unit tests for put_secret_ string and binary
Nov 13, 2023
8d181f8
Add secret string as from the AWS examples.
Nov 13, 2023
4cdf39f
Merge pull request #757 from paulozulato/feat-kinesis-configurable-retry
carlisom Nov 13, 2023
a1fa9bf
Merge pull request #761 from sergioffpc/master
carlisom Nov 13, 2023
eabe97c
Fix for https://github.com/erlcloud/erlcloud/issues/741
ariel-anieli Dec 8, 2023
791fe2c
Fix for https://github.com/erlcloud/erlcloud/issues/721
ariel-anieli Dec 10, 2023
9b30c9d
Merge pull request #762 from ariel-anieli/issue-741
carlisom Dec 15, 2023
a398a53
Instead of SHA-1, sign_get/4 uses SHA256; solves #705
ariel-anieli Dec 21, 2023
405de4b
Merge pull request #763 from ariel-anieli/issue-721-token-tuple-wrapp…
carlisom Jan 17, 2024
11125cf
Merge pull request #764 from ariel-anieli/issue-705-signed-urls
carlisom Jan 17, 2024
70bef29
Add support for DeletionProtectionEnabled in erlcloud_ddb2
carlisom Jan 17, 2024
2cbada9
Removed self-references
ariel-anieli Jan 18, 2024
b4adace
Merge pull request #766 from erlcloud/ddb_delete_protection_support
carlisom Mar 5, 2024
6570459
Merge pull request #765 from ariel-anieli/pr-self-refs
carlisom May 14, 2024
1671aee
Bump lhttpc to 1.7.1
rmpalomino Oct 30, 2024
7ba9f7b
Bump actions/checkout to v4
rmpalomino Oct 30, 2024
1b84bae
Update OTP versions in GHA runner due to GLIBC issues
rmpalomino Oct 30, 2024
2b8ce3f
Update for OTP26+ dialyzer, multi-strings
rmpalomino Oct 31, 2024
8a172f1
Fix OTP 27+ warnings about updating literals
rmpalomino Oct 31, 2024
2949b13
Fix a few xmerl related type definitions for dialyzer
rmpalomino Oct 31, 2024
1e59eb3
Remove erlfmt from project_plugins, added it accidentally
rmpalomino Oct 31, 2024
b89b7e4
Update supported versions section of readme with latest tested versions
rmpalomino Oct 31, 2024
d95a275
Merge pull request #775 from erlcloud/bump_lhttpc
carlisom Oct 31, 2024
34b7f88
Add hex.pm publish on tag push
rmpalomino Oct 31, 2024
77f1503
Merge pull request #776 from erlcloud/tags_publish_to_rebar3
rmpalomino Nov 5, 2024
438d88c
Add rebar3_hex as a project_plugin for publishing
rmpalomino Nov 6, 2024
40a7e8d
Merge pull request #777 from erlcloud/rebar3_hex_project_plugin
rmpalomino Nov 6, 2024
f997b37
Removed unused macros in Makefile
ariel-anieli Nov 23, 2024
137caac
Upgrade base16 library
NelsonVides Dec 4, 2024
ebc0bf4
Merge pull request #781 from NelsonVides/base16
rmpalomino Jan 21, 2025
78ff6b0
ec2: add `metadata_options` property to `describe_instances()` output
scott-jones-AlertLogic Jan 31, 2025
5bc4f0b
Merge pull request #782 from scott-jones-AlertLogic/ec2-meta-opts
rmpalomino Feb 20, 2025
620e22a
efs: Implement `DescribeFileSystems` API
scott-jones-AlertLogic Feb 14, 2025
01f895b
Merge pull request #783 from scott-jones-AlertLogic/efs
rmpalomino Feb 21, 2025
7322624
Merge pull request #780 from ariel-anieli/makefile
rmpalomino Feb 21, 2025
417ee97
Implement S3 Head Bucket operation
Apr 21, 2025
46c6e02
Address warning
Apr 21, 2025
5d58397
Add unit test for head_bucket
Apr 21, 2025
616063e
Merge pull request #784 from erlcloud/head_bucket
carlisom Apr 21, 2025
4a5fcae
Update erlcloud_sm to add missing functionality
carlisom Oct 22, 2025
fe58402
Merge pull request #786 from erlcloud/erlcloud_sm_updates
carlisom Oct 22, 2025
460b15c
Move get_random_password/0 to be near the same named higher arity fun…
Oct 28, 2025
8c7f115
Merge pull request #787 from erlcloud/get_random_password_in_random_spot
carlisom Nov 3, 2025
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
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
container:
image: erlang:${{matrix.otp_vsn}}
strategy:
matrix:
otp_vsn: [24, 25, 26, 27]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- run: export
- run: make rebar3-install
- run: make warnings
- run: make check
- run: make eunit
23 changes: 23 additions & 0 deletions .github/workflows/hex_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Publish to Hex.pm
on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
container: erlang:27

steps:
- name: Check out
uses: actions/checkout@v4

- name: 'Fix up git directory ownership (see https://github.com/actions/checkout/issues/1049)'
run: git config --global --add safe.directory '*'

- name: Publish to Hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: rebar3 hex publish package -r hexpm --yes
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ebin/*.app
.rebar/
rebar
rebar3
.rebar3
*.sublime-*
deps/
doc/
Expand All @@ -20,3 +21,5 @@ eunit.coverage.xml
ercloud.iml
*[#]*[#]
*[#]*
.dialyzer_plt
eunit.log
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

102 changes: 12 additions & 90 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,8 @@
.PHONY: all get-deps clean compile run eunit check check-eunit doc
.PHONY: all get-deps clean compile run eunit check doc hex-publish rebar3-install

# determine which Rebar we want to be running
REBAR2=$(shell which rebar || echo ./rebar)
REBAR3=$(shell which rebar3)
ifeq ($(FORCE_REBAR2),true)
REBAR=$(REBAR2)
REBAR_VSN=2
else ifeq ($(REBAR3),)
REBAR=$(REBAR2)
REBAR_VSN=2
else
REBAR=$(REBAR3)
REBAR_VSN=3
endif
REBAR=$(shell which rebar3 || echo ./rebar3)

CHECK_FILES=\
ebin/*.beam

CHECK_EUNIT_FILES=\
$(CHECK_FILES) \
.eunit/*.beam


all: get-deps compile

get-deps:
ifeq ($(REBAR_VSN),2)
@$(REBAR) get-deps
endif
all: compile

clean:
@$(REBAR) clean
Expand All @@ -36,79 +11,26 @@ compile:
@$(REBAR) compile

run:
ifeq ($(REBAR_VSN),2)
erl -pa deps/*/ebin -pa ./ebin
else
$(REBAR) shell
endif

check_warnings:
ifeq ($(REBAR_VSN),2)
@echo skip checking warnings
else
@$(REBAR) as warnings compile
endif

warnings:
@$(REBAR) as test compile

eunit:
ifeq ($(REBAR_VSN),2)
@$(REBAR) compile
@$(REBAR) eunit skip_deps=true
else
@$(REBAR) eunit
endif
@ERL_FLAGS="-config $(PWD)/eunit" $(REBAR) eunit

check:
ifeq ($(REBAR_VSN),2)
@$(REBAR) compile
dialyzer --verbose --no_check_plt --no_native --fullpath \
$(CHECK_FILES) \
-Wunmatched_returns \
-Werror_handling
else
@$(REBAR) dialyzer
endif

check-eunit: eunit
ifeq ($(REBAR_VSN),2)
dialyzer --verbose --no_check_plt --no_native --fullpath \
$(CHECK_EUNIT_FILES) \
-Wunmatched_returns \
-Werror_handling
else
@$(REBAR) dialyzer
endif
@$(REBAR) as dialyzer do dialyzer --update-plt

doc:
ifeq ($(REBAR_VSN),2)
@$(REBAR) doc skip_deps=true
else
@$(REBAR) edoc
endif

# The "install" step for Travis
travis-install:
ifeq ($(FORCE_REBAR2),true)
rebar get-deps
else
hex-publish:
@$(REBAR) hex publish

rebar3-install:
wget https://s3.amazonaws.com/rebar3/rebar3
chmod a+x rebar3
endif

travis-publish:
@echo Create directories
mkdir -p ~/.hex
mkdir -p ~/.config/rebar3

@echo Decrypt secrets
@openssl aes-256-cbc -K $encrypted_9abc06b32f03_key -iv $encrypted_9abc06b32f03_iv -in hex.config.enc -out ~/.hex/hex.config -d

@echo Create global config
echo '{plugins, [rebar3_hex]}.' > ~/.config/rebar3/rebar.config

@echo Edit version tag in app.src
vi -e -c '%s/{vsn, *.*}/{vsn, "'${TRAVIS_TAG}'"}/g|w|q' src/erlcloud.app.src

@echo Publish to Hex
echo 'Y' | ./rebar3 hex publish

@echo Done
Loading
Loading