Page MenuHomeDevCentral

Trigger Alkane sites deployments from CLI or HTTP API
ClosedPublic

Authored by dereckson on Apr 8 2023, 20:49.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 04:45
Unknown Object (File)
Sun, Dec 15, 04:34
Unknown Object (File)
Sat, Dec 14, 04:15
Unknown Object (File)
Sat, Dec 14, 03:34
Unknown Object (File)
Fri, Dec 13, 03:30
Unknown Object (File)
Tue, Dec 10, 11:58
Unknown Object (File)
Tue, Dec 10, 09:31
Unknown Object (File)
Sun, Dec 8, 13:56
Subscribers
None

Details

Summary

"Crack hydrocarbons to build C2H6"

Alkane is the new Nasqueron PaaS to host static and PHP sites.

This utility allows to deploy a site to the Alkane PaaS.

It's intended to be a glue code between Jenkins and Salt, so:

  • the same state is reached, whatever which one initiates the deployment
  • no vendor locking with the Salt event bus
  • agnostic for CI/CD platform, no vendor locking with Jenkins
  • avoid to give Jenkins agents a SSH access

Ref T1826

Test Plan
  • Tests are provided
  • A Postman collection has been prepared for the HTTP API
  • Build on FreeBSD with nighly toolchain

Diff Detail

Repository
rALK Alkane
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
master
Build Status
Buildable 4708
Build 4989: arc lint + arc unit

Event Timeline

dereckson created this revision.

Context from HTTP, POST to be more REST, README

Reformat, use 755 for init and update test scripts

dereckson added inline comments.
src/server/requests.rs
35

REST -> POST

49

We need to be able to give an artifact URL, or actually any metadata for context (a commit to deploy, a tag, a release version, an url-encoded JSON payload with more fancy information).

That should be exposed to the build process under ALKANE_DEPLOY_CONTEXT environment variable.

This revision is now accepted and ready to land.Apr 9 2023, 22:23
dereckson retitled this revision from Crack hydrocarbons to build C2H6 to Trigger Alkane sites deployments from CLI or HTTP API.Apr 9 2023, 22:28
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)