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
F3777659: D2983.diff
Mon, Nov 25, 02:07
Unknown Object (File)
Thu, Nov 21, 06:18
Unknown Object (File)
Wed, Nov 20, 15:24
Unknown Object (File)
Mon, Nov 18, 08:39
Unknown Object (File)
Thu, Nov 14, 18:10
Unknown Object (File)
Wed, Nov 13, 12:25
Unknown Object (File)
Tue, Nov 12, 19:58
Unknown Object (File)
Tue, Nov 12, 13:38
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)