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
F3323543: D2983.id7622.diff
Mon, Jul 8, 00:42
Unknown Object (File)
Sun, Jul 7, 04:35
Unknown Object (File)
Wed, Jul 3, 03:31
Unknown Object (File)
Wed, Jun 26, 11:03
Unknown Object (File)
Tue, Jun 25, 12:38
Unknown Object (File)
Tue, Jun 25, 11:19
Unknown Object (File)
Sat, Jun 22, 17:36
Unknown Object (File)
Thu, Jun 20, 10:13
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
Lint Not Applicable
Unit
Tests Not Applicable

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
36

REST -> POST

50

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)