image

package
v0.0.0-...-bf5a9e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimePlatform    = "linux/amd64"
	RuntimePlatformAlt = "linux-x64"

	RootRepository = "thechangelog/changelog.com"
	MainBranch     = "master"
)
View Source
const (
	// https://github.com/orgs/thechangelog/packages/container/package/changelog-legacy-assets
	LegacyAssetsImageRef = "ghcr.io/thechangelog/changelog-legacy-assets@sha256:4f1d2aa7036836bd59ff3af74bfd054c33a1ed558514a8dd91062a14804d7153"
)
View Source
const (
	RepositoryURL = "https://github.com/thechangelog/changelog.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, dag *dagger.Client) *Image

func (*Image) DaggerStart

func (image *Image) DaggerStart() *Image

func (*Image) DaggerStop

func (image *Image) DaggerStop() *Image

func (*Image) Deploy

func (image *Image) Deploy() *Image

func (*Image) Elixir

func (image *Image) Elixir() *Image

func (*Image) ElixirImageRef

func (image *Image) ElixirImageRef() string

func (*Image) Env

func (image *Image) Env(key string) *env.Env

func (*Image) NewContainer

func (image *Image) NewContainer() *dagger.Container

func (*Image) OK

func (image *Image) OK() *Image

func (*Image) Pipeline

func (image *Image) Pipeline(name string) *Image

func (*Image) Production

func (image *Image) Production() *Image

func (*Image) ProductionClean

func (image *Image) ProductionClean() *Image

ProductionClean() is a TEMPORARY function, until Elixir releases are implemented === WHY? Jerod Santo - 8:35 PM - Mar. 15th, 2023 @gerhard hmm 5 failed ship it runs in a row… I don’t think this is sufferable much longer https://github.com/thechangelog/changelog.com/actions/runs/4430462525

func (*Image) ProductionImageRef

func (image *Image) ProductionImageRef() string

func (*Image) Publish

func (image *Image) Publish(reference string) *Image

func (*Image) PublishProduction

func (image *Image) PublishProduction() *Image

func (*Image) PublishRuntime

func (image *Image) PublishRuntime() *Image

func (*Image) Runtime

func (image *Image) Runtime() *Image

This image is the used by all other environments: dev, test & prod It is published as https://github.com/thechangelog/changelog.com/pkgs/container/changelog-runtime

func (*Image) RuntimeImageRef

func (image *Image) RuntimeImageRef() string

func (*Image) Test

func (image *Image) Test() *Image

func (*Image) WithAppCompiled

func (image *Image) WithAppCompiled() *Image

func (*Image) WithAppDeps

func (image *Image) WithAppDeps() *Image

func (*Image) WithAppLegacyAssets

func (image *Image) WithAppLegacyAssets() *Image

TODO: upload legacy assets to R2 + /wp-content/.* redirect

func (*Image) WithAppRelease

func (image *Image) WithAppRelease() *Image

func (*Image) WithAppSrc

func (image *Image) WithAppSrc() *Image

func (*Image) WithAppStart

func (image *Image) WithAppStart() *Image

func (*Image) WithAppStaticAssets

func (image *Image) WithAppStaticAssets() *Image

func (*Image) WithAptPackages

func (image *Image) WithAptPackages() *Image

func (*Image) WithBuildURL

func (image *Image) WithBuildURL() *Image

func (*Image) WithCmarkPrerequisites

func (image *Image) WithCmarkPrerequisites() *Image

https://hexdocs.pm/cmark/readme.html#prerequisites

func (*Image) WithCurl

func (image *Image) WithCurl() *Image

func (*Image) WithGit

func (image *Image) WithGit() *Image

func (*Image) WithGitAuthor

func (image *Image) WithGitAuthor() *Image

func (*Image) WithGitSHA

func (image *Image) WithGitSHA() *Image

func (*Image) WithImagemagick

func (image *Image) WithImagemagick() *Image

func (*Image) WithInotifyTools

func (image *Image) WithInotifyTools() *Image

func (*Image) WithNodejs

func (image *Image) WithNodejs() *Image

func (*Image) WithObanRepo

func (image *Image) WithObanRepo() *Image

func (*Image) WithOnDeploy

func (image *Image) WithOnDeploy() *Image

func (*Image) WithOnePassword

func (image *Image) WithOnePassword() *Image

func (*Image) WithPostgreSQL

func (image *Image) WithPostgreSQL(dbName string) *Image

func (*Image) WithPostgreSQLClient

func (image *Image) WithPostgreSQLClient() *Image

func (*Image) WithProdEnv

func (image *Image) WithProdEnv() *Image

func (*Image) WithProductionLabels

func (image *Image) WithProductionLabels() *Image

func (*Image) WithRegistryAuth

func (image *Image) WithRegistryAuth() *Image

func (*Image) WithRuntimeLabels

func (image *Image) WithRuntimeLabels() *Image

func (*Image) WithTest

func (image *Image) WithTest() *Image

func (*Image) WithTestEnv

func (image *Image) WithTestEnv() *Image

func (*Image) WithXZ

func (image *Image) WithXZ() *Image

func (*Image) WithYarn

func (image *Image) WithYarn() *Image

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL