Skip to content

Conversation

@jerusdp
Copy link

@jerusdp jerusdp commented Sep 20, 2021

Objective

Build and publish Nightly rust container after Nightly Rust is built by the Rust Team. Tag the container "nightly"

Add

nightly.yml

  • Build and test using the Nightly Rust channel and tagging the container nightly
  • On successful test build and publish Nightly Rust test
  • On failure to publish create an issue
  • action triggered each day 0200 UTC or manually if required

Changes

Make file

  • Parameter for the container tag that defaults to latest

test.sh

  • set IMAGE variable based on environment with default

Problem
Makefile only makes latest and tags with Rust version
Solution
- variable TAG to set the tag with default latest
- tag the debug build to allows debugging non-latest builds
Note
Problem
Nighlty Rust is updated every night!
Solution
 - Action runs each night at 0200 UTC
 - Action can be dispatched from console
 - Run test job and make with environment set to use and tag nigthly
 - Run publsh job on successful test with nightly
 - Only run publish on rust-serverless repo
 - Publish issue if publication fails
Note
Not configured to run security scan (part of seperate PR).
@zamazan4ik zamazan4ik merged commit a6093d0 into rust-serverless:master Sep 30, 2021
@jerusdp jerusdp deleted the nightly branch September 30, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants